# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Run playbook 'playbooks/tests_provider.yml' with nm as provider] ********* TASK [Gathering Facts] ********************************************************* Friday 05 August 2022 18:31:40 +0000 (0:00:00.314) 0:00:00.314 ********* ok: [sut] TASK [include_tasks] *********************************************************** Friday 05 August 2022 18:31:47 +0000 (0:00:06.758) 0:00:07.073 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/tasks/el_repo_setup.yml for sut TASK [Fix CentOS6 Base repo] *************************************************** Friday 05 August 2022 18:31:48 +0000 (0:00:00.366) 0:00:07.439 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 18:31:48 +0000 (0:00:00.333) 0:00:07.773 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** Friday 05 August 2022 18:31:48 +0000 (0:00:00.660) 0:00:08.433 ********* changed: [sut] => { "changed": true, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:02.346017", "end": "2022-08-05 18:31:55.331216", "rc": 0, "start": "2022-08-05 18:31:52.985199" } STDOUT: Last metadata expiration check: 0:01:01 ago on Fri Aug 5 18:30:52 2022. epel-release-latest-8.noarch.rpm 527 kB/s | 24 kB 00:00 Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: epel-release noarch 8-16.el8 @commandline 24 k Transaction Summary ================================================================================ Install 1 Package Total size: 24 k Installed size: 34 k Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : epel-release-8-16.el8.noarch 1/1 Running scriptlet: epel-release-8-16.el8.noarch 1/1 Many EPEL packages require the CodeReady Builder (CRB) repository. It is recommended that you run /usr/bin/crb enable to enable the CRB repository. Verifying : epel-release-8-16.el8.noarch 1/1 Installed: epel-release-8-16.el8.noarch Complete! TASK [Enable EPEL 7] *********************************************************** Friday 05 August 2022 18:31:55 +0000 (0:00:06.852) 0:00:15.285 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Friday 05 August 2022 18:31:56 +0000 (0:00:00.844) 0:00:16.130 ********* changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.559478", "end": "2022-08-05 18:31:58.219338", "rc": 0, "start": "2022-08-05 18:31:57.659860" } TASK [Enable EPEL 6] *********************************************************** Friday 05 August 2022 18:31:58 +0000 (0:00:01.981) 0:00:18.112 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Friday 05 August 2022 18:31:59 +0000 (0:00:00.643) 0:00:18.756 ********* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } TASK [Install NetworkManager] ************************************************** Friday 05 August 2022 18:31:59 +0000 (0:00:00.463) 0:00:19.219 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Get NetworkManager version] ********************************************** Friday 05 August 2022 18:32:13 +0000 (0:00:13.430) 0:00:32.650 ********* changed: [sut] => { "changed": true, "cmd": [ "rpm", "-q", "--qf", "%{version}", "NetworkManager" ], "delta": "0:00:00.012994", "end": "2022-08-05 18:32:14.189972", "rc": 0, "start": "2022-08-05 18:32:14.176978" } STDOUT: 1.39.10 PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Friday 05 August 2022 18:32:15 +0000 (0:00:02.022) 0:00:34.672 ********* ok: [sut] TASK [Show playbook name] ****************************************************** Friday 05 August 2022 18:32:18 +0000 (0:00:03.532) 0:00:38.205 ********* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [include_tasks] *********************************************************** Friday 05 August 2022 18:32:20 +0000 (0:00:01.293) 0:00:39.499 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can manage a veth interface with NM after I managed it with initscripts.] *** Friday 05 August 2022 18:32:22 +0000 (0:00:01.988) 0:00:41.487 ********* ok: [sut] => {} MSG: ########## I can manage a veth interface with NM after I managed it with initscripts. ########## TASK [Show item] *************************************************************** Friday 05 August 2022 18:32:23 +0000 (0:00:01.933) 0:00:43.421 ********* ok: [sut] => (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: [sut] => (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: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/provider/create_with_nm.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_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" } 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] *********************************************************** Friday 05 August 2022 18:32:27 +0000 (0:00:03.453) 0:00:46.875 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include_tasks] *********************************************************** Friday 05 August 2022 18:32:28 +0000 (0:00:01.451) 0:00:48.326 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Friday 05 August 2022 18:32:29 +0000 (0:00:00.867) 0:00:49.193 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003991", "end": "2022-08-05 18:32:30.890497", "rc": 0, "start": "2022-08-05 18:32:30.886506" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Friday 05 August 2022 18:32:31 +0000 (0:00:01.327) 0:00:50.521 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Friday 05 August 2022 18:32:32 +0000 (0:00:00.911) 0:00:51.433 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [setup] ******************************************************************* Friday 05 August 2022 18:32:33 +0000 (0:00:01.355) 0:00:52.788 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/setup_test_interface.yml for sut => (item=tasks/setup_test_interface.yml) included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/provider/default_with_nm.yml for sut => (item=tasks/provider/default_with_nm.yml) included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/provider/create_and_remove_with_initscripts.yml for sut => (item=tasks/provider/create_and_remove_with_initscripts.yml) TASK [include_tasks] *********************************************************** Friday 05 August 2022 18:32:35 +0000 (0:00:02.108) 0:00:54.896 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** Friday 05 August 2022 18:32:36 +0000 (0:00:01.088) 0:00:55.985 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Friday 05 August 2022 18:32:37 +0000 (0:00:00.541) 0:00:56.526 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 18:32:38 +0000 (0:00:01.059) 0:00:57.586 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include_tasks] *********************************************************** Friday 05 August 2022 18:32:38 +0000 (0:00:00.685) 0:00:58.271 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Friday 05 August 2022 18:32:39 +0000 (0:00:00.755) 0:00:59.027 ********* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003966", "end": "2022-08-05 18:32:40.472238", "rc": 0, "start": "2022-08-05 18:32:40.468272" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Friday 05 August 2022 18:32:40 +0000 (0:00:01.043) 0:01:00.070 ********* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Friday 05 August 2022 18:32:41 +0000 (0:00:00.731) 0:01:00.802 ********* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* Friday 05 August 2022 18:32:42 +0000 (0:00:01.205) 0:01:02.008 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** Friday 05 August 2022 18:32:45 +0000 (0:00:02.971) 0:01:04.979 ********* changed: [sut] => (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.041023", "end": "2022-08-05 18:32:47.208183", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-08-05 18:32:47.167160" } changed: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.009047", "end": "2022-08-05 18:32:47.958340", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-08-05 18:32:47.949293" } changed: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.010211", "end": "2022-08-05 18:32:48.744377", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-08-05 18:32:48.734166" } TASK [Set up veth as managed by NetworkManager] ******************************** Friday 05 August 2022 18:32:49 +0000 (0:00:03.738) 0:01:08.718 ********* changed: [sut] => { "changed": true, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.087874", "end": "2022-08-05 18:32:50.604841", "rc": 0, "start": "2022-08-05 18:32:50.516967" } TASK [Delete veth interface testnic1] ****************************************** Friday 05 August 2022 18:32:50 +0000 (0:00:01.651) 0:01:10.370 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** Friday 05 August 2022 18:32:51 +0000 (0:00:00.586) 0:01:10.956 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** Friday 05 August 2022 18:32:52 +0000 (0:00:00.498) 0:01:11.454 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* Friday 05 August 2022 18:32:53 +0000 (0:00:01.055) 0:01:12.510 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* Friday 05 August 2022 18:32:53 +0000 (0:00:00.410) 0:01:12.921 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include network role] **************************************************** Friday 05 August 2022 18:32:54 +0000 (0:00:00.560) 0:01:13.481 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 18:32:54 +0000 (0:00:00.880) 0:01:14.362 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** Friday 05 August 2022 18:32:55 +0000 (0:00:00.985) 0:01:15.348 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** Friday 05 August 2022 18:32:57 +0000 (0:00:01.421) 0:01:16.769 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* Friday 05 August 2022 18:33:02 +0000 (0:00:05.263) 0:01:22.032 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* Friday 05 August 2022 18:33:10 +0000 (0:00:08.060) 0:01:30.093 ********* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Friday 05 August 2022 18:33:12 +0000 (0:00:01.743) 0:01:31.837 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Friday 05 August 2022 18:33:15 +0000 (0:00:02.692) 0:01:34.529 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 18:33:16 +0000 (0:00:01.163) 0:01:35.693 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 18:33:17 +0000 (0:00:01.292) 0:01:36.985 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** Friday 05 August 2022 18:33:19 +0000 (0:00:01.751) 0:01:38.737 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 05 August 2022 18:33:21 +0000 (0:00:02.225) 0:01:40.983 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 18:33:24 +0000 (0:00:03.257) 0:01:44.240 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ Friday 05 August 2022 18:33:38 +0000 (0:00:13.733) 0:01:57.974 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 18:33:40 +0000 (0:00:01.847) 0:01:59.821 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** Friday 05 August 2022 18:33:41 +0000 (0:00:01.455) 0:02:01.277 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 18:33:43 +0000 (0:00:01.598) 0:02:02.876 ********* ok: [sut] => { "_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] ***************** Friday 05 August 2022 18:33:51 +0000 (0:00:07.728) 0:02:10.605 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** Friday 05 August 2022 18:33:53 +0000 (0:00:01.865) 0:02:12.470 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 18:33:56 +0000 (0:00:02.969) 0:02:15.439 ********* ok: [sut] => { "__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] *** Friday 05 August 2022 18:33:59 +0000 (0:00:03.517) 0:02:18.957 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 18:34:01 +0000 (0:00:02.403) 0:02:21.360 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** Friday 05 August 2022 18:34:10 +0000 (0:00:08.829) 0:02:30.190 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 18:34:14 +0000 (0:00:03.267) 0:02:33.457 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** Friday 05 August 2022 18:34:17 +0000 (0:00:03.440) 0:02:36.897 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** Friday 05 August 2022 18:34:22 +0000 (0:00:05.087) 0:02:41.985 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* Friday 05 August 2022 18:34:28 +0000 (0:00:05.559) 0:02:47.544 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* Friday 05 August 2022 18:34:35 +0000 (0:00:07.712) 0:02:55.257 ********* ok: [sut] => {} 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] *** Friday 05 August 2022 18:34:38 +0000 (0:00:02.899) 0:02:58.157 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Friday 05 August 2022 18:34:41 +0000 (0:00:02.403) 0:03:00.561 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 18:34:43 +0000 (0:00:02.495) 0:03:03.056 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: network-scripts-10.00.15-1.el8.x86_64", "Installed: network-scripts-team-1.31-2.el8.x86_64" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 18:34:54 +0000 (0:00:10.523) 0:03:13.580 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** Friday 05 August 2022 18:34:56 +0000 (0:00:02.721) 0:03:16.302 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 05 August 2022 18:35:01 +0000 (0:00:04.285) 0:03:20.587 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 18:35:03 +0000 (0:00:02.476) 0:03:23.064 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ Friday 05 August 2022 18:35:06 +0000 (0:00:03.121) 0:03:26.185 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 18:35:07 +0000 (0:00:01.039) 0:03:27.225 ********* changed: [sut] => { "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] *** Friday 05 August 2022 18:35:09 +0000 (0:00:01.735) 0:03:28.960 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2947w740_rsw/tmp8w220zqc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 18:35:11 +0000 (0:00:01.746) 0:03:30.706 ********* changed: [sut] => { "_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 in one of the next major releases of RHEL.\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] ***************** Friday 05 August 2022 18:35:16 +0000 (0:00:05.634) 0:03:36.341 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** Friday 05 August 2022 18:35:17 +0000 (0:00:00.367) 0:03:36.709 ********* ok: [sut] => { "__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 in one of the next major releases of RHEL.\\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] *** Friday 05 August 2022 18:35:18 +0000 (0:00:00.996) 0:03:37.705 ********* ok: [sut] => { "__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 in one of the next major releases of RHEL.\\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 in one of the next major releases of RHEL.\\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] *** Friday 05 August 2022 18:35:18 +0000 (0:00:00.652) 0:03:38.358 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 18:35:19 +0000 (0:00:00.406) 0:03:38.764 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** Friday 05 August 2022 18:35:20 +0000 (0:00:00.739) 0:03:39.504 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 18:35:20 +0000 (0:00:00.572) 0:03:40.076 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** Friday 05 August 2022 18:35:21 +0000 (0:00:00.378) 0:03:40.455 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** Friday 05 August 2022 18:35:21 +0000 (0:00:00.973) 0:03:41.428 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* Friday 05 August 2022 18:35:24 +0000 (0:00:02.429) 0:03:43.858 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* Friday 05 August 2022 18:35:27 +0000 (0:00:02.581) 0:03:46.439 ********* ok: [sut] => {} 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] *** Friday 05 August 2022 18:35:27 +0000 (0:00:00.131) 0:03:46.571 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Friday 05 August 2022 18:35:27 +0000 (0:00:00.214) 0:03:46.786 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 18:35:27 +0000 (0:00:00.169) 0:03:46.955 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 18:35:27 +0000 (0:00:00.257) 0:03:47.213 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** Friday 05 August 2022 18:35:28 +0000 (0:00:00.313) 0:03:47.527 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 05 August 2022 18:35:28 +0000 (0:00:00.251) 0:03:47.778 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 18:35:28 +0000 (0:00:00.349) 0:03:48.128 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ Friday 05 August 2022 18:35:29 +0000 (0:00:00.356) 0:03:48.485 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 18:35:29 +0000 (0:00:00.239) 0:03:48.724 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** Friday 05 August 2022 18:35:30 +0000 (0:00:00.920) 0:03:49.645 ********* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-2947w740_rsw/tmph88qkdb6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 18:35:31 +0000 (0:00:01.294) 0:03:50.939 ********* changed: [sut] => { "_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 in one of the next major releases of RHEL.\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] ***************** Friday 05 August 2022 18:35:32 +0000 (0:00:01.225) 0:03:52.165 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** Friday 05 August 2022 18:35:33 +0000 (0:00:00.511) 0:03:52.676 ********* ok: [sut] => { "__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 in one of the next major releases of RHEL.\\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] *** Friday 05 August 2022 18:35:33 +0000 (0:00:00.633) 0:03:53.310 ********* ok: [sut] => { "__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 in one of the next major releases of RHEL.\\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 in one of the next major releases of RHEL.\\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] *** Friday 05 August 2022 18:35:34 +0000 (0:00:00.585) 0:03:53.896 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 18:35:34 +0000 (0:00:00.519) 0:03:54.415 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [test] ******************************************************************** Friday 05 August 2022 18:35:36 +0000 (0:00:01.015) 0:03:55.431 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/provider/create_with_nm.yml for sut => (item=tasks/provider/create_with_nm.yml) TASK [Include network role] **************************************************** Friday 05 August 2022 18:35:36 +0000 (0:00:00.488) 0:03:55.919 ********* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 18:35:37 +0000 (0:00:00.662) 0:03:56.581 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** Friday 05 August 2022 18:35:39 +0000 (0:00:02.459) 0:03:59.040 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** Friday 05 August 2022 18:35:41 +0000 (0:00:01.806) 0:04:00.847 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* Friday 05 August 2022 18:35:44 +0000 (0:00:03.488) 0:04:04.336 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* Friday 05 August 2022 18:35:47 +0000 (0:00:02.986) 0:04:07.322 ********* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Friday 05 August 2022 18:35:48 +0000 (0:00:00.727) 0:04:08.050 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Friday 05 August 2022 18:35:49 +0000 (0:00:00.970) 0:04:09.020 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 18:35:50 +0000 (0:00:00.811) 0:04:09.832 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 18:35:51 +0000 (0:00:00.975) 0:04:10.807 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** Friday 05 August 2022 18:35:52 +0000 (0:00:01.272) 0:04:12.079 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 05 August 2022 18:35:53 +0000 (0:00:00.964) 0:04:13.044 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 18:35:54 +0000 (0:00:00.995) 0:04:14.040 ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ Friday 05 August 2022 18:35:58 +0000 (0:00:03.890) 0:04:17.931 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 18:35:59 +0000 (0:00:01.190) 0:04:19.121 ********* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** Friday 05 August 2022 18:36:00 +0000 (0:00:01.193) 0:04:20.314 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 18:36:02 +0000 (0:00:01.662) 0:04:21.977 ********* changed: [sut] => { "_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, ca7aee22-a86e-4c24-be91-89996ddf8df3 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, ca7aee22-a86e-4c24-be91-89996ddf8df3 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 18:36:04 +0000 (0:00:02.448) 0:04:24.425 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** Friday 05 August 2022 18:36:06 +0000 (0:00:01.487) 0:04:25.912 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, ca7aee22-a86e-4c24-be91-89996ddf8df3", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, ca7aee22-a86e-4c24-be91-89996ddf8df3 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 18:36:07 +0000 (0:00:01.370) 0:04:27.283 ********* ok: [sut] => { "__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, ca7aee22-a86e-4c24-be91-89996ddf8df3\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, ca7aee22-a86e-4c24-be91-89996ddf8df3 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, ca7aee22-a86e-4c24-be91-89996ddf8df3", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, ca7aee22-a86e-4c24-be91-89996ddf8df3 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** Friday 05 August 2022 18:36:09 +0000 (0:00:01.631) 0:04:28.915 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 18:36:10 +0000 (0:00:00.898) 0:04:29.814 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [asserts] ***************************************************************** Friday 05 August 2022 18:36:12 +0000 (0:00:01.837) 0:04:31.651 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [include_tasks] *********************************************************** Friday 05 August 2022 18:36:14 +0000 (0:00:01.847) 0:04:33.499 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Friday 05 August 2022 18:36:17 +0000 (0:00:03.577) 0:04:37.076 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* Friday 05 August 2022 18:36:20 +0000 (0:00:02.402) 0:04:39.479 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1659724564.4718997, "block_size": 4096, "blocks": 8, "ctime": 1659724564.4188988, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798650, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659724564.4188988, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-testnic1", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "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] ******************** Friday 05 August 2022 18:36:23 +0000 (0:00:03.289) 0:04:42.769 ********* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** Friday 05 August 2022 18:36:26 +0000 (0:00:02.785) 0:04:45.554 ********* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep testnic1 | grep /etc", "delta": "0:00:00.026938", "end": "2022-08-05 18:36:27.173119", "rc": 0, "start": "2022-08-05 18:36:27.146181" } STDOUT: testnic1 /etc/sysconfig/network-scripts/ifcfg-testnic1 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Friday 05 August 2022 18:36:28 +0000 (0:00:02.083) 0:04:47.638 ********* 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-testnic1] *********************** Friday 05 August 2022 18:36:31 +0000 (0:00:03.502) 0:04:51.140 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-testnic1] ******************** Friday 05 August 2022 18:36:32 +0000 (0:00:00.855) 0:04:51.996 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'testnic1' is present] ******************************* Friday 05 August 2022 18:36:35 +0000 (0:00:02.899) 0:04:54.895 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'testnic1' is present] ************ Friday 05 August 2022 18:36:37 +0000 (0:00:02.485) 0:04:57.381 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** Friday 05 August 2022 18:36:39 +0000 (0:00:01.953) 0:04:59.334 ********* TASK [Success in test 'I can manage a veth interface with NM after I managed it with initscripts.'] *** Friday 05 August 2022 18:36:42 +0000 (0:00:02.124) 0:05:01.459 ********* ok: [sut] => {} MSG: +++++ Success in test 'I can manage a veth interface with NM after I managed it with initscripts.' +++++ TASK [cleanup] ***************************************************************** Friday 05 August 2022 18:36:44 +0000 (0:00:02.883) 0:05:04.342 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** Friday 05 August 2022 18:36:49 +0000 (0:00:04.335) 0:05:08.677 ********* ok: [sut] => { "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.092541", "end": "2022-08-05 18:36:50.916357", "rc": 0, "start": "2022-08-05 18:36:50.823816" } STDOUT: Connection 'testnic1' (ca7aee22-a86e-4c24-be91-89996ddf8df3) successfully deleted. PLAY RECAP ********************************************************************* sut : ok=86 changed=10 unreachable=0 failed=0 skipped=54 rescued=0 ignored=0 Friday 05 August 2022 18:36:51 +0000 (0:00:02.603) 0:05:11.281 ********* =============================================================================== linux-system-roles.network : Enable and start NetworkManager ----------- 13.73s Install NetworkManager ------------------------------------------------- 13.43s linux-system-roles.network : Install packages -------------------------- 10.52s linux-system-roles.network : Re-test connectivity ----------------------- 8.83s linux-system-roles.network : Check which packages are installed --------- 8.06s linux-system-roles.network : Configure networking connection profiles --- 7.73s linux-system-roles.network : Check which packages are installed --------- 7.71s Create EPEL 8 ----------------------------------------------------------- 6.85s Gathering Facts --------------------------------------------------------- 6.76s linux-system-roles.network : Configure networking connection profiles --- 5.63s linux-system-roles.network : Check which services are running ----------- 5.56s linux-system-roles.network : Check which services are running ----------- 5.26s linux-system-roles.network : Ensure ansible_facts used by role are present --- 5.09s cleanup ----------------------------------------------------------------- 4.34s linux-system-roles.network : Install python3-libnmstate when using network_state variable --- 4.29s linux-system-roles.network : Enable and start NetworkManager ------------ 3.89s Create veth interface testnic1 ------------------------------------------ 3.74s include_tasks ----------------------------------------------------------- 3.54s Gathering Facts --------------------------------------------------------- 3.53s linux-system-roles.network : Show debug messages for the network_connections --- 3.52s ---^---^---^---^---^--- # 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. [WARNING]: TASK: Create veth interface {{ interface }}: 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. ---^---^---^---^---^---