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/tmpdm_c1v_l 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/tmp5fajrzs2/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp5fajrzs2/tests/_backup.yml:6 Wednesday 03 August 2022 16:47:09 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/fedora-35.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": 1659545228.3653848, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659545228.3653848, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 43318, "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": 1659338446.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/tmp5fajrzs2/tests/_backup.yml:13 Wednesday 03 August 2022 16:47:10 +0000 (0:00:00.604) 0:00:00.622 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-35.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': 43318, 'dev': 32, 'nlink': 1, 'atime': 1659545228.3653848, 'mtime': 1659338446.0, 'ctime': 1659545228.3653848, '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": 1659545228.3653848, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659545228.3653848, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 43318, "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": 1659338446.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/tmp5fajrzs2/tests/_backup.yml:19 Wednesday 03 August 2022 16:47:10 +0000 (0:00:00.035) 0:00:00.657 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004232", "end": "2022-08-03 16:47:10.140018", "rc": 0, "start": "2022-08-03 16:47:10.135786" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:47:10 +0000 (0:00:00.499) 0:00:01.157 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.60s /tmp/tmp5fajrzs2/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.50s /tmp/tmp5fajrzs2/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp5fajrzs2/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_provider_nm.yml ************************************************ 2 plays in /tmp/tmp5fajrzs2/tests/tests_provider_nm.yml PLAY [Run playbook 'playbooks/tests_provider.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/tests_provider_nm.yml:5 Wednesday 03 August 2022 16:47:10 +0000 (0:00:00.012) 0:00:01.170 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tests_provider_nm.yml:8 Wednesday 03 August 2022 16:47:11 +0000 (0:00:01.052) 0:00:02.222 ****** included: /tmp/tmp5fajrzs2/tests/tasks/el_repo_setup.yml for /cache/fedora-35.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:47:11 +0000 (0:00:00.028) 0:00:02.250 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:47:11 +0000 (0:00:00.021) 0:00:02.272 ****** included: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml for /cache/fedora-35.qcow2.snap TASK [Create EPEL 35] ********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:47:11 +0000 (0:00:00.030) 0:00:02.302 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:47:11 +0000 (0:00:00.020) 0:00:02.322 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:47:11 +0000 (0:00:00.020) 0:00:02.343 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:47:11 +0000 (0:00:00.021) 0:00:02.364 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp5fajrzs2/tests/tests_provider_nm.yml:9 Wednesday 03 August 2022 16:47:11 +0000 (0:00:00.020) 0:00:02.385 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } TASK [Install NetworkManager] ************************************************** task path: /tmp/tmp5fajrzs2/tests/tests_provider_nm.yml:16 Wednesday 03 August 2022 16:47:11 +0000 (0:00:00.028) 0:00:02.413 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmp5fajrzs2/tests/tests_provider_nm.yml:20 Wednesday 03 August 2022 16:47:14 +0000 (0:00:02.034) 0:00:04.448 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "rpm", "-q", "--qf", "%{version}", "NetworkManager" ], "delta": "0:00:00.008071", "end": "2022-08-03 16:47:13.815906", "rc": 0, "start": "2022-08-03 16:47:13.807835" } STDOUT: 1.32.12 META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_provider.yml:3 Wednesday 03 August 2022 16:47:14 +0000 (0:00:00.399) 0:00:04.847 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_provider.yml:10 Wednesday 03 August 2022 16:47:15 +0000 (0:00:00.812) 0:00:05.660 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: this is: playbooks/tests_states.yml TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_provider.yml:18 Wednesday 03 August 2022 16:47:15 +0000 (0:00:00.049) 0:00:05.709 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/run_test.yml for /cache/fedora-35.qcow2.snap TASK [TEST: I can manage a veth interface with NM after I managed it with initscripts.] *** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 16:47:15 +0000 (0:00:00.051) 0:00:05.761 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: ########## I can manage a veth interface with NM after I managed it with initscripts. ########## TASK [Show item] *************************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 16:47:15 +0000 (0:00:00.049) 0:00:05.810 ****** ok: [/cache/fedora-35.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-35.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-35.qcow2.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/provider/create_with_nm.yml" ] } ok: [/cache/fedora-35.qcow2.snap] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [/cache/fedora-35.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-35.qcow2.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 16:47:15 +0000 (0:00:00.189) 0:00:06.000 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:47:15 +0000 (0:00:00.057) 0:00:06.057 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:47:15 +0000 (0:00:00.048) 0:00:06.105 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.006968", "end": "2022-08-03 16:47:15.540564", "rc": 0, "start": "2022-08-03 16:47:15.533596" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:47:16 +0000 (0:00:00.452) 0:00:06.558 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:47:16 +0000 (0:00:00.049) 0:00:06.607 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [setup] ******************************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 16:47:16 +0000 (0:00:00.074) 0:00:06.681 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/setup_test_interface.yml for /cache/fedora-35.qcow2.snap => (item=tasks/setup_test_interface.yml) included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/provider/default_with_nm.yml for /cache/fedora-35.qcow2.snap => (item=tasks/provider/default_with_nm.yml) included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/provider/create_and_remove_with_initscripts.yml for /cache/fedora-35.qcow2.snap => (item=tasks/provider/create_and_remove_with_initscripts.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/setup_test_interface.yml:3 Wednesday 03 August 2022 16:47:16 +0000 (0:00:00.079) 0:00:06.761 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml for /cache/fedora-35.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 16:47:16 +0000 (0:00:00.056) 0:00:06.817 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 16:47:16 +0000 (0:00:00.039) 0:00:06.856 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 16:47:16 +0000 (0:00:00.040) 0:00:06.897 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:47:16 +0000 (0:00:00.051) 0:00:06.948 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:47:16 +0000 (0:00:00.076) 0:00:07.025 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004237", "end": "2022-08-03 16:47:16.463529", "rc": 0, "start": "2022-08-03 16:47:16.459292" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:47:17 +0000 (0:00:00.455) 0:00:07.480 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:47:17 +0000 (0:00:00.055) 0:00:07.536 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 16:47:17 +0000 (0:00:00.049) 0:00:07.585 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 16:47:19 +0000 (0:00:01.960) 0:00:09.545 ****** [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-35.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.005882", "end": "2022-08-03 16:47:18.964441", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-08-03 16:47:18.958559" } changed: [/cache/fedora-35.qcow2.snap] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.004082", "end": "2022-08-03 16:47:19.359707", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-08-03 16:47:19.355625" } changed: [/cache/fedora-35.qcow2.snap] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.005867", "end": "2022-08-03 16:47:19.751336", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-08-03 16:47:19.745469" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:29 Wednesday 03 August 2022 16:47:20 +0000 (0:00:01.223) 0:00:10.769 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.017646", "end": "2022-08-03 16:47:20.171255", "rc": 0, "start": "2022-08-03 16:47:20.153609" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:36 Wednesday 03 August 2022 16:47:20 +0000 (0:00:00.416) 0:00:11.186 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:42 Wednesday 03 August 2022 16:47:20 +0000 (0:00:00.039) 0:00:11.225 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:47 Wednesday 03 August 2022 16:47:20 +0000 (0:00:00.038) 0:00:11.263 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 16:47:20 +0000 (0:00:00.037) 0:00:11.301 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:58 Wednesday 03 August 2022 16:47:20 +0000 (0:00:00.037) 0:00:11.338 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include network role] **************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/provider/default_with_nm.yml:3 Wednesday 03 August 2022 16:47:20 +0000 (0:00:00.036) 0:00:11.374 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:47:20 +0000 (0:00:00.060) 0:00:11.435 ****** included: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:47:21 +0000 (0:00:00.053) 0:00:11.488 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:47:21 +0000 (0:00:00.536) 0:00:12.024 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:47:23 +0000 (0:00:02.172) 0:00:14.197 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:47:24 +0000 (0:00:01.065) 0:00:15.262 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:47:24 +0000 (0:00:00.067) 0:00:15.330 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:47:24 +0000 (0:00:00.054) 0:00:15.385 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:47:24 +0000 (0:00:00.058) 0:00:15.443 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:47:25 +0000 (0:00:00.081) 0:00:15.524 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:47:25 +0000 (0:00:00.055) 0:00:15.580 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:47:25 +0000 (0:00:00.055) 0:00:15.636 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:47:25 +0000 (0:00:00.058) 0:00:15.695 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:47:26 +0000 (0:00:00.865) 0:00:16.560 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:47:26 +0000 (0:00:00.059) 0:00:16.619 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:47:26 +0000 (0:00:00.093) 0:00:16.713 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:47:26 +0000 (0:00:00.055) 0:00:16.769 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:47:27 +0000 (0:00:00.750) 0:00:17.519 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:47:27 +0000 (0:00:00.054) 0:00:17.574 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:47:27 +0000 (0:00:00.064) 0:00:17.638 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:47:27 +0000 (0:00:00.065) 0:00:17.703 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:47:27 +0000 (0:00:00.054) 0:00:17.758 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Include network role] **************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/provider/create_and_remove_with_initscripts.yml:3 Wednesday 03 August 2022 16:47:27 +0000 (0:00:00.569) 0:00:18.327 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:47:28 +0000 (0:00:00.122) 0:00:18.450 ****** included: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:47:28 +0000 (0:00:00.085) 0:00:18.535 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:47:28 +0000 (0:00:00.582) 0:00:19.117 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:47:30 +0000 (0:00:02.092) 0:00:21.210 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:47:31 +0000 (0:00:00.828) 0:00:22.038 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:47:31 +0000 (0:00:00.066) 0:00:22.105 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:47:31 +0000 (0:00:00.055) 0:00:22.161 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:47:31 +0000 (0:00:00.054) 0:00:22.216 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:47:31 +0000 (0:00:00.079) 0:00:22.296 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:47:31 +0000 (0:00:00.055) 0:00:22.351 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:47:31 +0000 (0:00:00.055) 0:00:22.407 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:47:32 +0000 (0:00:00.058) 0:00:22.466 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:47:32 +0000 (0:00:00.064) 0:00:22.530 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:47:32 +0000 (0:00:00.057) 0:00:22.588 ****** changed: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:47:33 +0000 (0:00:00.873) 0:00:23.462 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-9575573f_dw8q/tmpt1zeei04" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:47:33 +0000 (0:00:00.446) 0:00:23.908 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:47:37 +0000 (0:00:03.693) 0:00:27.601 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:47:37 +0000 (0:00:00.057) 0:00:27.659 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:47:37 +0000 (0:00:00.067) 0:00:27.727 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:47:37 +0000 (0:00:00.103) 0:00:27.830 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:47:37 +0000 (0:00:00.092) 0:00:27.923 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Include network role] **************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/provider/create_and_remove_with_initscripts.yml:16 Wednesday 03 August 2022 16:47:37 +0000 (0:00:00.439) 0:00:28.362 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:47:38 +0000 (0:00:00.105) 0:00:28.467 ****** included: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:47:38 +0000 (0:00:00.084) 0:00:28.552 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:47:38 +0000 (0:00:00.558) 0:00:29.111 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:47:40 +0000 (0:00:02.087) 0:00:31.198 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:47:41 +0000 (0:00:00.742) 0:00:31.940 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:47:41 +0000 (0:00:00.066) 0:00:32.007 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:47:41 +0000 (0:00:00.098) 0:00:32.106 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:47:41 +0000 (0:00:00.055) 0:00:32.161 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:47:41 +0000 (0:00:00.079) 0:00:32.240 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:47:41 +0000 (0:00:00.055) 0:00:32.296 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:47:41 +0000 (0:00:00.053) 0:00:32.349 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:47:41 +0000 (0:00:00.056) 0:00:32.405 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:47:42 +0000 (0:00:00.053) 0:00:32.459 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:47:42 +0000 (0:00:00.056) 0:00:32.515 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:47:42 +0000 (0:00:00.594) 0:00:33.110 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-9575573f_dw8q/tmpedmiv0uv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:47:43 +0000 (0:00:00.433) 0:00:33.543 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:47:43 +0000 (0:00:00.696) 0:00:34.239 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:47:43 +0000 (0:00:00.058) 0:00:34.298 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:47:43 +0000 (0:00:00.068) 0:00:34.366 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:47:43 +0000 (0:00:00.067) 0:00:34.434 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:47:44 +0000 (0:00:00.057) 0:00:34.491 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [test] ******************************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 16:47:44 +0000 (0:00:00.444) 0:00:34.936 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/provider/create_with_nm.yml for /cache/fedora-35.qcow2.snap => (item=tasks/provider/create_with_nm.yml) TASK [Include network role] **************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/provider/create_with_nm.yml:3 Wednesday 03 August 2022 16:47:44 +0000 (0:00:00.087) 0:00:35.024 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:47:44 +0000 (0:00:00.087) 0:00:35.111 ****** included: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:47:44 +0000 (0:00:00.115) 0:00:35.227 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:47:45 +0000 (0:00:00.568) 0:00:35.795 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:47:47 +0000 (0:00:02.131) 0:00:37.926 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:47:48 +0000 (0:00:00.828) 0:00:38.754 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:47:48 +0000 (0:00:00.068) 0:00:38.823 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:47:48 +0000 (0:00:00.059) 0:00:38.882 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:47:48 +0000 (0:00:00.065) 0:00:38.948 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:47:48 +0000 (0:00:00.091) 0:00:39.039 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:47:48 +0000 (0:00:00.060) 0:00:39.099 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:47:48 +0000 (0:00:00.056) 0:00:39.156 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:47:48 +0000 (0:00:00.061) 0:00:39.217 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:47:49 +0000 (0:00:00.591) 0:00:39.809 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:47:49 +0000 (0:00:00.060) 0:00:39.870 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:47:49 +0000 (0:00:00.059) 0:00:39.930 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:47:49 +0000 (0:00:00.099) 0:00:40.029 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-35.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': add connection testnic1, bbb4c4e8-0a09-490a-803c-2d15c5e80626 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, bbb4c4e8-0a09-490a-803c-2d15c5e80626 (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:47:50 +0000 (0:00:00.621) 0:00:40.650 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:47:50 +0000 (0:00:00.057) 0:00:40.707 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, bbb4c4e8-0a09-490a-803c-2d15c5e80626", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, bbb4c4e8-0a09-490a-803c-2d15c5e80626 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:47:50 +0000 (0:00:00.066) 0:00:40.774 ****** ok: [/cache/fedora-35.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': add connection testnic1, bbb4c4e8-0a09-490a-803c-2d15c5e80626\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, bbb4c4e8-0a09-490a-803c-2d15c5e80626 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, bbb4c4e8-0a09-490a-803c-2d15c5e80626", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, bbb4c4e8-0a09-490a-803c-2d15c5e80626 (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:47:50 +0000 (0:00:00.066) 0:00:40.840 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:47:50 +0000 (0:00:00.054) 0:00:40.895 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [asserts] ***************************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 16:47:50 +0000 (0:00:00.465) 0:00:41.361 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-35.qcow2.snap => (item=tasks/assert_profile_present.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:47:51 +0000 (0:00:00.091) 0:00:41.452 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-35.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:47:51 +0000 (0:00:00.116) 0:00:41.569 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:47:51 +0000 (0:00:00.065) 0:00:41.634 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659545269.6083848, "block_size": 4096, "blocks": 8, "ctime": 1659545269.5733848, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 43400, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659545269.5733848, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-testnic1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:47:51 +0000 (0:00:00.440) 0:00:42.075 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:47:51 +0000 (0:00:00.067) 0:00:42.142 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep testnic1 | grep /etc", "delta": "0:00:00.020700", "end": "2022-08-03 16:47:51.568516", "rc": 0, "start": "2022-08-03 16:47:51.547816" } STDOUT: testnic1 /etc/sysconfig/network-scripts/ifcfg-testnic1 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:47:52 +0000 (0:00:00.459) 0:00:42.602 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:47:52 +0000 (0:00:00.068) 0:00:42.671 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-testnic1] ******************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:47:52 +0000 (0:00:00.059) 0:00:42.730 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'testnic1' is present] ******************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:47:52 +0000 (0:00:00.063) 0:00:42.793 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'testnic1' is present] ************ task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:47:52 +0000 (0:00:00.069) 0:00:42.863 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 16:47:52 +0000 (0:00:00.067) 0:00:42.931 ****** TASK [Success in test 'I can manage a veth interface with NM after I managed it with initscripts.'] *** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 16:47:52 +0000 (0:00:00.051) 0:00:42.983 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 16:47:52 +0000 (0:00:00.146) 0:00:43.129 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-35.qcow2.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 16:47:52 +0000 (0:00:00.090) 0:00:43.220 ****** ok: [/cache/fedora-35.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.047283", "end": "2022-08-03 16:47:52.662646", "rc": 0, "start": "2022-08-03 16:47:52.615363" } STDOUT: Connection 'testnic1' (bbb4c4e8-0a09-490a-803c-2d15c5e80626) successfully deleted. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=86 changed=8 unreachable=0 failed=0 skipped=57 rescued=0 ignored=0 Wednesday 03 August 2022 16:47:53 +0000 (0:00:00.499) 0:00:43.719 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 3.69s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 2.17s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.13s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.09s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.09s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install NetworkManager -------------------------------------------------- 2.03s /tmp/tmp5fajrzs2/tests/tests_provider_nm.yml:16 ------------------------------- Install iproute --------------------------------------------------------- 1.96s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Create veth interface testnic1 ------------------------------------------ 1.22s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Check which packages are installed --------- 1.07s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmp5fajrzs2/tests/tests_provider_nm.yml:5 -------------------------------- linux-system-roles.network : Enable network service --------------------- 0.87s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- linux-system-roles.network : Enable and start NetworkManager ------------ 0.87s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Check which packages are installed --------- 0.83s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.83s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmp5fajrzs2/tests/playbooks/tests_provider.yml:3 ------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.75s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 0.74s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.70s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.62s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Get stats of system files ----------------------------------------------- 0.60s /tmp/tmp5fajrzs2/tests/_backup.yml:6 ------------------------------------------ PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp5fajrzs2/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp5fajrzs2/tests/_restore.yml:4 Wednesday 03 August 2022 16:47:53 +0000 (0:00:00.047) 0:00:43.767 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007159", "end": "2022-08-03 16:47:53.148342", "rc": 0, "start": "2022-08-03 16:47:53.141183" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=87 changed=9 unreachable=0 failed=0 skipped=57 rescued=0 ignored=0 Wednesday 03 August 2022 16:47:53 +0000 (0:00:00.437) 0:00:44.204 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 3.69s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 2.17s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.13s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.09s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.09s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Install NetworkManager -------------------------------------------------- 2.03s /tmp/tmp5fajrzs2/tests/tests_provider_nm.yml:16 ------------------------------- Install iproute --------------------------------------------------------- 1.96s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:15 ----------- Create veth interface testnic1 ------------------------------------------ 1.22s /tmp/tmp5fajrzs2/tests/playbooks/tasks/manage_test_interface.yml:21 ----------- linux-system-roles.network : Check which packages are installed --------- 1.07s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmp5fajrzs2/tests/tests_provider_nm.yml:5 -------------------------------- linux-system-roles.network : Enable network service --------------------- 0.87s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- linux-system-roles.network : Enable and start NetworkManager ------------ 0.87s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Check which packages are installed --------- 0.83s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.83s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmp5fajrzs2/tests/playbooks/tests_provider.yml:3 ------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.75s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 0.74s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.70s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.62s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Get stats of system files ----------------------------------------------- 0.60s /tmp/tmp5fajrzs2/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/tmpdm_c1v_l 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/tmpn6gexhje/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpn6gexhje/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:13:35 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/fedora-35.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": 1659546814.539671, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659546814.539671, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 43317, "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": 1659338446.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/tmpn6gexhje/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:13:36 +0000 (0:00:00.626) 0:00:00.644 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-35.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': 43317, 'dev': 32, 'nlink': 1, 'atime': 1659546814.539671, 'mtime': 1659338446.0, 'ctime': 1659546814.539671, '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": 1659546814.539671, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659546814.539671, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 43317, "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": 1659338446.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/tmpn6gexhje/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:13:36 +0000 (0:00:00.035) 0:00:00.679 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004129", "end": "2022-08-03 17:13:36.382302", "rc": 0, "start": "2022-08-03 17:13:36.378173" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:13:36 +0000 (0:00:00.521) 0:00:01.201 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.63s /tmp/tmpn6gexhje/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.52s /tmp/tmpn6gexhje/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpn6gexhje/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_provider_nm.yml ************************************************ 2 plays in /tmp/tmpn6gexhje/tests/network/tests_provider_nm.yml PLAY [Run playbook 'playbooks/tests_provider.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/tests_provider_nm.yml:5 Wednesday 03 August 2022 17:13:36 +0000 (0:00:00.014) 0:00:01.215 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tests_provider_nm.yml:8 Wednesday 03 August 2022 17:13:37 +0000 (0:00:01.069) 0:00:02.285 ****** included: /tmp/tmpn6gexhje/tests/network/tasks/el_repo_setup.yml for /cache/fedora-35.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:13:37 +0000 (0:00:00.026) 0:00:02.312 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:13:37 +0000 (0:00:00.020) 0:00:02.332 ****** included: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml for /cache/fedora-35.qcow2.snap TASK [Create EPEL 35] ********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:13:37 +0000 (0:00:00.028) 0:00:02.361 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:13:38 +0000 (0:00:00.019) 0:00:02.380 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:13:38 +0000 (0:00:00.018) 0:00:02.399 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:13:38 +0000 (0:00:00.018) 0:00:02.417 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpn6gexhje/tests/network/tests_provider_nm.yml:9 Wednesday 03 August 2022 17:13:38 +0000 (0:00:00.019) 0:00:02.437 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } TASK [Install NetworkManager] ************************************************** task path: /tmp/tmpn6gexhje/tests/network/tests_provider_nm.yml:16 Wednesday 03 August 2022 17:13:38 +0000 (0:00:00.027) 0:00:02.464 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get NetworkManager version] ********************************************** task path: /tmp/tmpn6gexhje/tests/network/tests_provider_nm.yml:20 Wednesday 03 August 2022 17:13:40 +0000 (0:00:02.095) 0:00:04.559 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "rpm", "-q", "--qf", "%{version}", "NetworkManager" ], "delta": "0:00:00.008411", "end": "2022-08-03 17:13:40.145757", "rc": 0, "start": "2022-08-03 17:13:40.137346" } STDOUT: 1.32.12 META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_provider.yml:3 Wednesday 03 August 2022 17:13:40 +0000 (0:00:00.418) 0:00:04.978 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_provider.yml:10 Wednesday 03 August 2022 17:13:41 +0000 (0:00:00.830) 0:00:05.808 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: this is: playbooks/tests_states.yml TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_provider.yml:18 Wednesday 03 August 2022 17:13:41 +0000 (0:00:00.049) 0:00:05.858 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/run_test.yml for /cache/fedora-35.qcow2.snap TASK [TEST: I can manage a veth interface with NM after I managed it with initscripts.] *** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 17:13:41 +0000 (0:00:00.057) 0:00:05.915 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: ########## I can manage a veth interface with NM after I managed it with initscripts. ########## TASK [Show item] *************************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 17:13:41 +0000 (0:00:00.058) 0:00:05.974 ****** ok: [/cache/fedora-35.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-35.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-35.qcow2.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/provider/create_with_nm.yml" ] } ok: [/cache/fedora-35.qcow2.snap] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [/cache/fedora-35.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-35.qcow2.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-35.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/tmpn6gexhje/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 17:13:41 +0000 (0:00:00.201) 0:00:06.175 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:13:41 +0000 (0:00:00.052) 0:00:06.228 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:13:41 +0000 (0:00:00.049) 0:00:06.277 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003558", "end": "2022-08-03 17:13:41.870531", "rc": 0, "start": "2022-08-03 17:13:41.866973" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:13:42 +0000 (0:00:00.405) 0:00:06.683 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:13:42 +0000 (0:00:00.076) 0:00:06.759 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [setup] ******************************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 17:13:42 +0000 (0:00:00.047) 0:00:06.807 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/setup_test_interface.yml for /cache/fedora-35.qcow2.snap => (item=tasks/setup_test_interface.yml) included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/provider/default_with_nm.yml for /cache/fedora-35.qcow2.snap => (item=tasks/provider/default_with_nm.yml) included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/provider/create_and_remove_with_initscripts.yml for /cache/fedora-35.qcow2.snap => (item=tasks/provider/create_and_remove_with_initscripts.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/setup_test_interface.yml:3 Wednesday 03 August 2022 17:13:42 +0000 (0:00:00.076) 0:00:06.883 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml for /cache/fedora-35.qcow2.snap TASK [Ensure state in ["present", "absent"]] *********************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:3 Wednesday 03 August 2022 17:13:42 +0000 (0:00:00.053) 0:00:06.936 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:8 Wednesday 03 August 2022 17:13:42 +0000 (0:00:00.040) 0:00:06.976 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:13 Wednesday 03 August 2022 17:13:42 +0000 (0:00:00.038) 0:00:07.015 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:13:42 +0000 (0:00:00.050) 0:00:07.066 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:13:42 +0000 (0:00:00.047) 0:00:07.114 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003429", "end": "2022-08-03 17:13:42.738934", "rc": 0, "start": "2022-08-03 17:13:42.735505" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:13:43 +0000 (0:00:00.438) 0:00:07.553 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:13:43 +0000 (0:00:00.077) 0:00:07.630 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Install iproute] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 Wednesday 03 August 2022 17:13:43 +0000 (0:00:00.074) 0:00:07.704 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:21 Wednesday 03 August 2022 17:13:45 +0000 (0:00:01.987) 0:00:09.692 ****** [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-35.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.009972", "end": "2022-08-03 17:13:45.310824", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-08-03 17:13:45.300852" } changed: [/cache/fedora-35.qcow2.snap] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003888", "end": "2022-08-03 17:13:45.700698", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-08-03 17:13:45.696810" } changed: [/cache/fedora-35.qcow2.snap] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.008256", "end": "2022-08-03 17:13:46.083064", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-08-03 17:13:46.074808" } TASK [Set up veth as managed by NetworkManager] ******************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:28 Wednesday 03 August 2022 17:13:46 +0000 (0:00:01.207) 0:00:10.899 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.017929", "end": "2022-08-03 17:13:46.516471", "rc": 0, "start": "2022-08-03 17:13:46.498542" } TASK [Delete veth interface testnic1] ****************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:35 Wednesday 03 August 2022 17:13:46 +0000 (0:00:00.432) 0:00:11.332 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:40 Wednesday 03 August 2022 17:13:47 +0000 (0:00:00.040) 0:00:11.372 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:44 Wednesday 03 August 2022 17:13:47 +0000 (0:00:00.039) 0:00:11.411 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:49 Wednesday 03 August 2022 17:13:47 +0000 (0:00:00.039) 0:00:11.450 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:53 Wednesday 03 August 2022 17:13:47 +0000 (0:00:00.039) 0:00:11.490 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include network role] **************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/provider/default_with_nm.yml:3 Wednesday 03 August 2022 17:13:47 +0000 (0:00:00.037) 0:00:11.527 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:13:47 +0000 (0:00:00.069) 0:00:11.597 ****** included: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:13:47 +0000 (0:00:00.056) 0:00:11.654 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:13:47 +0000 (0:00:00.539) 0:00:12.193 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:13:50 +0000 (0:00:02.224) 0:00:14.418 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:13:51 +0000 (0:00:01.045) 0:00:15.464 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:13:51 +0000 (0:00:00.066) 0:00:15.530 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:13:51 +0000 (0:00:00.058) 0:00:15.588 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:13:51 +0000 (0:00:00.054) 0:00:15.643 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:13:51 +0000 (0:00:00.082) 0:00:15.726 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:13:51 +0000 (0:00:00.053) 0:00:15.779 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:13:51 +0000 (0:00:00.054) 0:00:15.834 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:13:51 +0000 (0:00:00.057) 0:00:15.892 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:13:52 +0000 (0:00:00.881) 0:00:16.773 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:13:52 +0000 (0:00:00.059) 0:00:16.833 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:13:52 +0000 (0:00:00.087) 0:00:16.920 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:13:52 +0000 (0:00:00.055) 0:00:16.976 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:13:53 +0000 (0:00:00.759) 0:00:17.735 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:13:53 +0000 (0:00:00.055) 0:00:17.791 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:13:53 +0000 (0:00:00.067) 0:00:17.859 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:13:53 +0000 (0:00:00.066) 0:00:17.925 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:13:53 +0000 (0:00:00.055) 0:00:17.980 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Include network role] **************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/provider/create_and_remove_with_initscripts.yml:3 Wednesday 03 August 2022 17:13:54 +0000 (0:00:00.591) 0:00:18.572 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:13:54 +0000 (0:00:00.135) 0:00:18.707 ****** included: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:13:54 +0000 (0:00:00.091) 0:00:18.799 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:13:55 +0000 (0:00:00.573) 0:00:19.372 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:13:57 +0000 (0:00:02.115) 0:00:21.488 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:13:57 +0000 (0:00:00.757) 0:00:22.245 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:13:57 +0000 (0:00:00.070) 0:00:22.316 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:13:58 +0000 (0:00:00.058) 0:00:22.375 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:13:58 +0000 (0:00:00.067) 0:00:22.442 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:13:58 +0000 (0:00:00.090) 0:00:22.533 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:13:58 +0000 (0:00:00.062) 0:00:22.596 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:13:58 +0000 (0:00:00.058) 0:00:22.655 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:13:58 +0000 (0:00:00.061) 0:00:22.717 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:13:58 +0000 (0:00:00.059) 0:00:22.776 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:13:58 +0000 (0:00:00.106) 0:00:22.882 ****** changed: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:13:59 +0000 (0:00:00.824) 0:00:23.707 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-130724ypoz16x2/tmpn8nul26z" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:13:59 +0000 (0:00:00.447) 0:00:24.155 ****** changed: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:14:03 +0000 (0:00:03.736) 0:00:27.892 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:14:03 +0000 (0:00:00.059) 0:00:27.951 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:14:03 +0000 (0:00:00.066) 0:00:28.017 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:14:03 +0000 (0:00:00.148) 0:00:28.166 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:14:03 +0000 (0:00:00.060) 0:00:28.226 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Include network role] **************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/provider/create_and_remove_with_initscripts.yml:16 Wednesday 03 August 2022 17:14:04 +0000 (0:00:00.449) 0:00:28.676 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:14:04 +0000 (0:00:00.122) 0:00:28.798 ****** included: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:14:04 +0000 (0:00:00.089) 0:00:28.888 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:14:05 +0000 (0:00:00.597) 0:00:29.485 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:14:07 +0000 (0:00:02.167) 0:00:31.653 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:14:08 +0000 (0:00:00.766) 0:00:32.420 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:14:08 +0000 (0:00:00.064) 0:00:32.484 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:14:08 +0000 (0:00:00.082) 0:00:32.566 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:14:08 +0000 (0:00:00.054) 0:00:32.620 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:14:08 +0000 (0:00:00.082) 0:00:32.703 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:14:08 +0000 (0:00:00.056) 0:00:32.759 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:14:08 +0000 (0:00:00.053) 0:00:32.813 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:14:08 +0000 (0:00:00.058) 0:00:32.871 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:14:08 +0000 (0:00:00.054) 0:00:32.925 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:14:08 +0000 (0:00:00.057) 0:00:32.982 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:14:09 +0000 (0:00:00.588) 0:00:33.571 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-130724ypoz16x2/tmp3ubbr3pc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:14:09 +0000 (0:00:00.432) 0:00:34.003 ****** changed: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:14:10 +0000 (0:00:00.675) 0:00:34.679 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:14:10 +0000 (0:00:00.055) 0:00:34.735 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:14:10 +0000 (0:00:00.066) 0:00:34.801 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:14:10 +0000 (0:00:00.065) 0:00:34.867 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:14:10 +0000 (0:00:00.058) 0:00:34.926 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [test] ******************************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 17:14:10 +0000 (0:00:00.435) 0:00:35.361 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/provider/create_with_nm.yml for /cache/fedora-35.qcow2.snap => (item=tasks/provider/create_with_nm.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/provider/create_with_nm.yml:3 Wednesday 03 August 2022 17:14:11 +0000 (0:00:00.088) 0:00:35.449 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:14:11 +0000 (0:00:00.093) 0:00:35.542 ****** included: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:14:11 +0000 (0:00:00.133) 0:00:35.676 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:14:11 +0000 (0:00:00.582) 0:00:36.258 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:14:14 +0000 (0:00:02.125) 0:00:38.383 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:14:14 +0000 (0:00:00.843) 0:00:39.227 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:14:14 +0000 (0:00:00.067) 0:00:39.294 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:14:14 +0000 (0:00:00.059) 0:00:39.354 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:14:15 +0000 (0:00:00.054) 0:00:39.409 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:14:15 +0000 (0:00:00.081) 0:00:39.490 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:14:15 +0000 (0:00:00.054) 0:00:39.545 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:14:15 +0000 (0:00:00.054) 0:00:39.600 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:14:15 +0000 (0:00:00.057) 0:00:39.657 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:14:15 +0000 (0:00:00.609) 0:00:40.267 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:14:15 +0000 (0:00:00.061) 0:00:40.329 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:14:16 +0000 (0:00:00.054) 0:00:40.383 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:14:16 +0000 (0:00:00.057) 0:00:40.440 ****** changed: [/cache/fedora-35.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': add connection testnic1, 5d6308ac-3b99-4fd0-9cf9-79bc3c507d8d [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 5d6308ac-3b99-4fd0-9cf9-79bc3c507d8d (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:14:16 +0000 (0:00:00.670) 0:00:41.111 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:14:16 +0000 (0:00:00.058) 0:00:41.170 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 5d6308ac-3b99-4fd0-9cf9-79bc3c507d8d", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 5d6308ac-3b99-4fd0-9cf9-79bc3c507d8d (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:14:16 +0000 (0:00:00.070) 0:00:41.240 ****** ok: [/cache/fedora-35.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': add connection testnic1, 5d6308ac-3b99-4fd0-9cf9-79bc3c507d8d\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 5d6308ac-3b99-4fd0-9cf9-79bc3c507d8d (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 5d6308ac-3b99-4fd0-9cf9-79bc3c507d8d", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 5d6308ac-3b99-4fd0-9cf9-79bc3c507d8d (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:14:16 +0000 (0:00:00.072) 0:00:41.313 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:14:16 +0000 (0:00:00.058) 0:00:41.371 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [asserts] ***************************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 17:14:17 +0000 (0:00:00.457) 0:00:41.829 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/fedora-35.qcow2.snap => (item=tasks/assert_profile_present.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:14:17 +0000 (0:00:00.091) 0:00:41.921 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-35.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:14:17 +0000 (0:00:00.082) 0:00:42.004 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:14:17 +0000 (0:00:00.152) 0:00:42.156 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546856.272671, "block_size": 4096, "blocks": 8, "ctime": 1659546856.2416708, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 43399, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659546856.2416708, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-testnic1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 313, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:14:18 +0000 (0:00:00.436) 0:00:42.592 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:14:18 +0000 (0:00:00.069) 0:00:42.662 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep testnic1 | grep /etc", "delta": "0:00:00.021663", "end": "2022-08-03 17:14:18.299263", "rc": 0, "start": "2022-08-03 17:14:18.277600" } STDOUT: testnic1 /etc/sysconfig/network-scripts/ifcfg-testnic1 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:14:18 +0000 (0:00:00.471) 0:00:43.134 ****** ok: [/cache/fedora-35.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/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:14:18 +0000 (0:00:00.071) 0:00:43.205 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-testnic1] ******************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:14:18 +0000 (0:00:00.058) 0:00:43.264 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'testnic1' is present] ******************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:14:18 +0000 (0:00:00.061) 0:00:43.326 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'testnic1' is present] ************ task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:14:19 +0000 (0:00:00.071) 0:00:43.397 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 17:14:19 +0000 (0:00:00.073) 0:00:43.470 ****** TASK [Success in test 'I can manage a veth interface with NM after I managed it with initscripts.'] *** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 17:14:19 +0000 (0:00:00.056) 0:00:43.527 ****** ok: [/cache/fedora-35.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/tmpn6gexhje/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 17:14:19 +0000 (0:00:00.071) 0:00:43.598 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-35.qcow2.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 17:14:19 +0000 (0:00:00.133) 0:00:43.732 ****** ok: [/cache/fedora-35.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.053297", "end": "2022-08-03 17:14:19.394463", "rc": 0, "start": "2022-08-03 17:14:19.341166" } STDOUT: Connection 'testnic1' (5d6308ac-3b99-4fd0-9cf9-79bc3c507d8d) successfully deleted. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=86 changed=8 unreachable=0 failed=0 skipped=57 rescued=0 ignored=0 Wednesday 03 August 2022 17:14:19 +0000 (0:00:00.520) 0:00:44.253 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 3.74s /tmp/tmpdm_c1v_l/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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.17s /tmp/tmpdm_c1v_l/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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.12s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install NetworkManager -------------------------------------------------- 2.10s /tmp/tmpn6gexhje/tests/network/tests_provider_nm.yml:16 ----------------------- Install iproute --------------------------------------------------------- 1.99s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Create veth interface testnic1 ------------------------------------------ 1.21s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmpn6gexhje/tests/network/tests_provider_nm.yml:5 ------------------------ fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.88s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Check which packages are installed --- 0.84s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpn6gexhje/tests/network/playbooks/tests_provider.yml:3 ----------------- fedora.linux_system_roles.network : Enable network service -------------- 0.82s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Check which packages are installed --- 0.77s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.76s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 0.76s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.68s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.67s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.63s /tmp/tmpn6gexhje/tests/network/_backup.yml:6 ---------------------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpn6gexhje/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpn6gexhje/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:14:19 +0000 (0:00:00.048) 0:00:44.301 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007560", "end": "2022-08-03 17:14:19.912337", "rc": 0, "start": "2022-08-03 17:14:19.904777" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=87 changed=9 unreachable=0 failed=0 skipped=57 rescued=0 ignored=0 Wednesday 03 August 2022 17:14:20 +0000 (0:00:00.466) 0:00:44.768 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 3.74s /tmp/tmpdm_c1v_l/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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.17s /tmp/tmpdm_c1v_l/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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.12s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Install NetworkManager -------------------------------------------------- 2.10s /tmp/tmpn6gexhje/tests/network/tests_provider_nm.yml:16 ----------------------- Install iproute --------------------------------------------------------- 1.99s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:15 --- Create veth interface testnic1 ------------------------------------------ 1.21s /tmp/tmpn6gexhje/tests/network/playbooks/tasks/manage_test_interface.yml:21 --- Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmpn6gexhje/tests/network/tests_provider_nm.yml:5 ------------------------ fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.88s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Check which packages are installed --- 0.84s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpn6gexhje/tests/network/playbooks/tests_provider.yml:3 ----------------- fedora.linux_system_roles.network : Enable network service -------------- 0.82s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 fedora.linux_system_roles.network : Check which packages are installed --- 0.77s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.76s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 0.76s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.68s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.67s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.63s /tmp/tmpn6gexhje/tests/network/_backup.yml:6 ----------------------------------