# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.14.2] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.14/lib/python3.9/site-packages/ansible ansible collection location = /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection executable location = /opt/ansible-2.14/bin/ansible-playbook python version = 3.9.13 (main, Jun 24 2022, 15:32:51) [GCC 8.5.0 20210514 (Red Hat 8.5.0-13)] (/opt/ansible-2.14/bin/python3.9) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_dummy_nm.yml *************************************************** 2 plays in /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_dummy_nm.yml PLAY [Run playbook 'playbooks/tests_dummy.yml' with nm as provider] ************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_dummy_nm.yml:5 Sunday 12 February 2023 02:02:31 +0000 (0:00:02.226) 0:00:02.226 ******* ok: [sut] TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_dummy_nm.yml:8 Sunday 12 February 2023 02:02:50 +0000 (0:00:19.150) 0:00:21.376 ******* included: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/el_repo_setup.yml:2 Sunday 12 February 2023 02:02:51 +0000 (0:00:01.551) 0:00:22.928 ******* ok: [sut] TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/el_repo_setup.yml:13 Sunday 12 February 2023 02:02:54 +0000 (0:00:03.027) 0:00:25.956 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/el_repo_setup.yml:38 Sunday 12 February 2023 02:02:55 +0000 (0:00:00.780) 0:00:26.736 ******* included: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/enable_epel.yml:4 Sunday 12 February 2023 02:02:56 +0000 (0:00:01.271) 0:00:28.007 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/enable_epel.yml:19 Sunday 12 February 2023 02:02:57 +0000 (0:00:00.982) 0:00:28.990 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/enable_epel.yml:23 Sunday 12 February 2023 02:02:58 +0000 (0:00:00.794) 0:00:29.784 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/enable_epel.yml:30 Sunday 12 February 2023 02:02:59 +0000 (0:00:00.485) 0:00:30.270 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_dummy_nm.yml:9 Sunday 12 February 2023 02:02:59 +0000 (0:00:00.669) 0:00:30.940 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tests_dummy.yml:3 Sunday 12 February 2023 02:03:01 +0000 (0:00:02.126) 0:00:33.093 ******* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tests_dummy.yml:10 Sunday 12 February 2023 02:03:07 +0000 (0:00:05.228) 0:00:38.321 ******* ok: [sut] => {} MSG: this is: playbooks/tests_dummy.yml TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tests_dummy.yml:17 Sunday 12 February 2023 02:03:08 +0000 (0:00:00.790) 0:00:39.112 ******* included: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: Create a dummy interface] ****************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/run_test.yml:5 Sunday 12 February 2023 02:03:10 +0000 (0:00:02.716) 0:00:41.829 ******* ok: [sut] => {} MSG: ########## Create a dummy interface ########## TASK [Show item] *************************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/run_test.yml:9 Sunday 12 February 2023 02:03:11 +0000 (0:00:00.911) 0:00:42.741 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "Create a dummy interface" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_dummy_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml", "tasks/assert_device_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/run_test.yml:21 Sunday 12 February 2023 02:03:16 +0000 (0:00:04.562) 0:00:47.304 ******* included: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/show_interfaces.yml:3 Sunday 12 February 2023 02:03:18 +0000 (0:00:02.038) 0:00:49.342 ******* included: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/get_current_interfaces.yml:3 Sunday 12 February 2023 02:03:19 +0000 (0:00:01.568) 0:00:50.910 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003881", "end": "2023-02-12 02:03:34.854901", "rc": 0, "start": "2023-02-12 02:03:34.851020" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/get_current_interfaces.yml:9 Sunday 12 February 2023 02:03:35 +0000 (0:00:15.581) 0:01:06.492 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/show_interfaces.yml:4 Sunday 12 February 2023 02:03:37 +0000 (0:00:01.919) 0:01:08.411 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [setup] ******************************************************************* task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/run_test.yml:23 Sunday 12 February 2023 02:03:38 +0000 (0:00:01.008) 0:01:09.419 ******* included: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [remove test interface if necessary] ************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/delete_interface.yml:3 Sunday 12 February 2023 02:03:41 +0000 (0:00:03.545) 0:01:12.965 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "dummy0" ], "delta": "0:00:00.008682", "end": "2023-02-12 02:03:43.554321", "rc": 1, "start": "2023-02-12 02:03:43.545639" } STDERR: Cannot find device "dummy0" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/assert_device_absent.yml:3 Sunday 12 February 2023 02:03:43 +0000 (0:00:01.959) 0:01:14.925 ******* included: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy0] ******************************************* task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 12 February 2023 02:03:45 +0000 (0:00:01.961) 0:01:16.887 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface dummy0 is absent] ********************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/assert_device_absent.yml:4 Sunday 12 February 2023 02:03:52 +0000 (0:00:06.699) 0:01:23.586 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [test] ******************************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/run_test.yml:29 Sunday 12 February 2023 02:03:54 +0000 (0:00:02.394) 0:01:25.981 ******* included: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/create_dummy_profile.yml for sut => (item=tasks/create_dummy_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/create_dummy_profile.yml:3 Sunday 12 February 2023 02:03:57 +0000 (0:00:02.128) 0:01:28.109 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Sunday 12 February 2023 02:04:01 +0000 (0:00:04.808) 0:01:32.918 ******* included: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Sunday 12 February 2023 02:04:06 +0000 (0:00:04.233) 0:01:37.152 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Sunday 12 February 2023 02:04:11 +0000 (0:00:05.584) 0:01:42.736 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Sunday 12 February 2023 02:04:24 +0000 (0:00:12.399) 0:01:55.136 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Sunday 12 February 2023 02:04:50 +0000 (0:00:26.301) 0:02:21.438 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Sunday 12 February 2023 02:04:53 +0000 (0:00:02.875) 0:02:24.314 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Sunday 12 February 2023 02:04:55 +0000 (0:00:02.510) 0:02:26.824 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Sunday 12 February 2023 02:04:58 +0000 (0:00:02.330) 0:02:29.154 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Sunday 12 February 2023 02:05:07 +0000 (0:00:09.634) 0:02:38.789 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Sunday 12 February 2023 02:05:08 +0000 (0:00:00.421) 0:02:39.211 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Sunday 12 February 2023 02:05:08 +0000 (0:00:00.251) 0:02:39.463 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Sunday 12 February 2023 02:05:09 +0000 (0:00:00.636) 0:02:40.099 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Sunday 12 February 2023 02:05:11 +0000 (0:00:02.284) 0:02:42.384 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Sunday 12 February 2023 02:05:11 +0000 (0:00:00.470) 0:02:42.854 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Sunday 12 February 2023 02:05:11 +0000 (0:00:00.110) 0:02:42.965 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Sunday 12 February 2023 02:05:12 +0000 (0:00:00.186) 0:02:43.151 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.42/30" ] }, "name": "dummy0", "state": "up", "type": "dummy" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 503277ed-5d8b-4ff4-a1a7-723d56b3da3b [004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 503277ed-5d8b-4ff4-a1a7-723d56b3da3b (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Sunday 12 February 2023 02:05:13 +0000 (0:00:01.457) 0:02:44.609 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Sunday 12 February 2023 02:05:13 +0000 (0:00:00.104) 0:02:44.714 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 503277ed-5d8b-4ff4-a1a7-723d56b3da3b", "[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 503277ed-5d8b-4ff4-a1a7-723d56b3da3b (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Sunday 12 February 2023 02:05:13 +0000 (0:00:00.135) 0:02:44.849 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.42/30" ] }, "name": "dummy0", "state": "up", "type": "dummy" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 503277ed-5d8b-4ff4-a1a7-723d56b3da3b\n[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 503277ed-5d8b-4ff4-a1a7-723d56b3da3b (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 503277ed-5d8b-4ff4-a1a7-723d56b3da3b", "[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 503277ed-5d8b-4ff4-a1a7-723d56b3da3b (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Sunday 12 February 2023 02:05:13 +0000 (0:00:00.151) 0:02:45.001 ******* skipping: [sut] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Sunday 12 February 2023 02:05:14 +0000 (0:00:00.125) 0:02:45.126 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/create_dummy_profile.yml:14 Sunday 12 February 2023 02:05:14 +0000 (0:00:00.717) 0:02:45.844 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.42/30" ] }, "name": "dummy0", "state": "up", "type": "dummy" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 503277ed-5d8b-4ff4-a1a7-723d56b3da3b\n[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 503277ed-5d8b-4ff4-a1a7-723d56b3da3b (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'dummy0': add connection dummy0, 503277ed-5d8b-4ff4-a1a7-723d56b3da3b", "[004] #0, state:up persistent_state:present, 'dummy0': up connection dummy0, 503277ed-5d8b-4ff4-a1a7-723d56b3da3b (not-active)" ] } } TASK [asserts] ***************************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/run_test.yml:35 Sunday 12 February 2023 02:05:14 +0000 (0:00:00.107) 0:02:45.951 ******* included: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) included: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/assert_profile_present.yml:3 Sunday 12 February 2023 02:05:15 +0000 (0:00:00.175) 0:02:46.127 ******* included: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/get_profile_stat.yml:3 Sunday 12 February 2023 02:05:15 +0000 (0:00:00.263) 0:02:46.391 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/get_profile_stat.yml:8 Sunday 12 February 2023 02:05:15 +0000 (0:00:00.087) 0:02:46.479 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/get_profile_stat.yml:16 Sunday 12 February 2023 02:05:15 +0000 (0:00:00.302) 0:02:46.781 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/get_profile_stat.yml:24 Sunday 12 February 2023 02:05:15 +0000 (0:00:00.052) 0:02:46.834 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep dummy0 | grep /etc", "delta": "0:00:00.109488", "end": "2023-02-12 02:05:16.105596", "rc": 0, "start": "2023-02-12 02:05:15.996108" } STDOUT: dummy0 /etc/NetworkManager/system-connections/dummy0.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/get_profile_stat.yml:33 Sunday 12 February 2023 02:05:16 +0000 (0:00:00.416) 0:02:47.250 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-dummy0] ************************* task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/get_profile_stat.yml:43 Sunday 12 February 2023 02:05:16 +0000 (0:00:00.099) 0:02:47.350 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-dummy0] ********************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/get_profile_stat.yml:49 Sunday 12 February 2023 02:05:16 +0000 (0:00:00.078) 0:02:47.428 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'dummy0' is present] ********************************* task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/assert_profile_present.yml:4 Sunday 12 February 2023 02:05:16 +0000 (0:00:00.076) 0:02:47.505 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'dummy0' is present] ************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/assert_profile_present.yml:9 Sunday 12 February 2023 02:05:16 +0000 (0:00:00.090) 0:02:47.595 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/assert_device_present.yml:3 Sunday 12 February 2023 02:05:16 +0000 (0:00:00.159) 0:02:47.755 ******* included: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface dummy0] ******************************************* task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/get_interface_stat.yml:3 Sunday 12 February 2023 02:05:16 +0000 (0:00:00.085) 0:02:47.841 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1676167513.3514383, "block_size": 4096, "blocks": 0, "ctime": 1676167513.3514383, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 22630, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/dummy0", "lnk_target": "../../devices/virtual/net/dummy0", "mode": "0777", "mtime": 1676167513.3514383, "nlink": 1, "path": "/sys/class/net/dummy0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface dummy0 is present] ********************************* task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/assert_device_present.yml:4 Sunday 12 February 2023 02:05:17 +0000 (0:00:00.274) 0:02:48.115 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/run_test.yml:41 Sunday 12 February 2023 02:05:17 +0000 (0:00:00.077) 0:02:48.193 ******* skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'Create a dummy interface'] ****************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/run_test.yml:47 Sunday 12 February 2023 02:05:17 +0000 (0:00:00.087) 0:02:48.280 ******* ok: [sut] => {} MSG: +++++ Success in test 'Create a dummy interface' +++++ TASK [cleanup] ***************************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/run_test.yml:66 Sunday 12 February 2023 02:05:17 +0000 (0:00:00.080) 0:02:48.361 ******* included: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/cleanup_profile+device.yml:3 Sunday 12 February 2023 02:05:17 +0000 (0:00:00.100) 0:02:48.462 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete dummy0\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-dummy0\nrm -f /etc/sysconfig/network-scripts/ifcfg-dummy0\nip link del dummy0\n", "delta": "0:00:00.071054", "end": "2023-02-12 02:05:17.681307", "rc": 1, "start": "2023-02-12 02:05:17.610253" } STDOUT: Connection 'dummy0' (503277ed-5d8b-4ff4-a1a7-723d56b3da3b) successfully deleted. STDERR: Cannot find device "dummy0" MSG: non-zero return code ...ignoring PLAY RECAP ********************************************************************* sut : ok=48 changed=1 unreachable=0 failed=0 skipped=20 rescued=0 ignored=2 Sunday 12 February 2023 02:05:17 +0000 (0:00:00.441) 0:02:48.903 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed -- 26.30s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts -------------------------------------------------------- 19.15s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_dummy_nm.yml:5 ------- Gather current interface info ------------------------------------------ 15.58s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which services are running --- 12.40s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Install packages -------------------- 9.63s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Get stat for interface dummy0 ------------------------------------------- 6.70s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/get_interface_stat.yml:3 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 5.58s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Gathering Facts --------------------------------------------------------- 5.23s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tests_dummy.yml:3 Include network role ---------------------------------------------------- 4.81s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/create_dummy_profile.yml:3 Show item --------------------------------------------------------------- 4.56s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/run_test.yml:9 fedora.linux_system_roles.network : Ensure ansible_facts used by role --- 4.23s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 setup ------------------------------------------------------------------- 3.55s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/run_test.yml:23 Gather the minimum subset of ansible_facts required by the network role test --- 3.03s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/el_repo_setup.yml:2 -- fedora.linux_system_roles.network : Print network provider -------------- 2.88s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 include_tasks ----------------------------------------------------------- 2.72s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tests_dummy.yml:17 fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider --- 2.51s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 assert that interface dummy0 is absent ---------------------------------- 2.39s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/assert_device_absent.yml:4 fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8 --- 2.33s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 2.28s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 test -------------------------------------------------------------------- 2.13s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/playbooks/tasks/run_test.yml:29 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---