# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.13.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.13/lib/python3.8/site-packages/ansible ansible collection location = /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection executable location = /opt/ansible-2.13/bin/ansible-playbook python version = 3.8.13 (default, Jun 24 2022, 15:27:57) [GCC 8.5.0 20210514 (Red Hat 8.5.0-13)] jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_team_nm.yml **************************************************** 2 plays in /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_team_nm.yml PLAY [Run playbook 'playbooks/tests_team.yml' with nm as provider] ************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_team_nm.yml:5 Monday 16 January 2023 07:06:52 +0000 (0:00:00.103) 0:00:00.103 ******** ok: [sut] META: ran handlers TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_team_nm.yml:8 Monday 16 January 2023 07:06:57 +0000 (0:00:05.767) 0:00:05.871 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/el_repo_setup.yml:2 Monday 16 January 2023 07:06:58 +0000 (0:00:00.665) 0:00:06.537 ******** ok: [sut] TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/el_repo_setup.yml:13 Monday 16 January 2023 07:06:59 +0000 (0:00:01.030) 0:00:07.567 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/el_repo_setup.yml:38 Monday 16 January 2023 07:07:00 +0000 (0:00:00.570) 0:00:08.226 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:4 Monday 16 January 2023 07:07:00 +0000 (0:00:00.344) 0:00:08.571 ******** changed: [sut] => { "attempts": 1, "changed": true, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:00.760795", "end": "2023-01-16 07:07:04.492652", "rc": 0, "start": "2023-01-16 07:07:03.731857" } STDOUT: Retrieving https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm Verifying packages... Preparing packages... epel-release-8-18.el8.noarch Many EPEL packages require the CodeReady Builder (CRB) repository. It is recommended that you run /usr/bin/crb enable to enable the CRB repository. TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:19 Monday 16 January 2023 07:07:05 +0000 (0:00:04.548) 0:00:13.119 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:23 Monday 16 January 2023 07:07:05 +0000 (0:00:00.421) 0:00:13.541 ******** changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.569125", "end": "2023-01-16 07:07:06.819694", "rc": 0, "start": "2023-01-16 07:07:06.250569" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:30 Monday 16 January 2023 07:07:07 +0000 (0:00:01.837) 0:00:15.379 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_team_nm.yml:9 Monday 16 January 2023 07:07:07 +0000 (0:00:00.348) 0:00:15.728 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_team.yml:3 Monday 16 January 2023 07:07:08 +0000 (0:00:00.611) 0:00:16.339 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_team.yml:10 Monday 16 January 2023 07:07:10 +0000 (0:00:02.102) 0:00:18.441 ******** ok: [sut] => {} MSG: this is: playbooks/tests_team.yml TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_team.yml:17 Monday 16 January 2023 07:07:10 +0000 (0:00:00.431) 0:00:18.872 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: Create a team interface without any port attached] ***************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/run_test.yml:5 Monday 16 January 2023 07:07:11 +0000 (0:00:00.846) 0:00:19.718 ******** ok: [sut] => {} MSG: ########## Create a team interface without any port attached ########## TASK [Show item] *************************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/run_test.yml:9 Monday 16 January 2023 07:07:12 +0000 (0:00:00.471) 0:00:20.190 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "Create a team interface without any port attached" } 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_team_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" } 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-woke-action-ogjhja1l/tests/playbooks/tasks/run_test.yml:21 Monday 16 January 2023 07:07:13 +0000 (0:00:01.757) 0:00:21.948 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/show_interfaces.yml:3 Monday 16 January 2023 07:07:14 +0000 (0:00:00.480) 0:00:22.429 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 16 January 2023 07:07:14 +0000 (0:00:00.593) 0:00:23.022 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004250", "end": "2023-01-16 07:07:15.993698", "rc": 0, "start": "2023-01-16 07:07:15.989448" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 16 January 2023 07:07:16 +0000 (0:00:01.196) 0:00:24.218 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/show_interfaces.yml:4 Monday 16 January 2023 07:07:16 +0000 (0:00:00.290) 0:00:24.509 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [setup] ******************************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/run_test.yml:23 Monday 16 January 2023 07:07:16 +0000 (0:00:00.469) 0:00:24.978 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/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-woke-action-ogjhja1l/tests/playbooks/tasks/delete_interface.yml:3 Monday 16 January 2023 07:07:17 +0000 (0:00:00.959) 0:00:25.939 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "team0" ], "delta": "0:00:00.009773", "end": "2023-01-16 07:07:18.853735", "rc": 1, "start": "2023-01-16 07:07:18.843962" } STDERR: Cannot find device "team0" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 16 January 2023 07:07:19 +0000 (0:00:01.257) 0:00:27.196 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface team0] ******************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 16 January 2023 07:07:19 +0000 (0:00:00.244) 0:00:27.482 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface team0 is absent] *********************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_absent.yml:4 Monday 16 January 2023 07:07:21 +0000 (0:00:02.559) 0:00:30.041 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [test] ******************************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/run_test.yml:29 Monday 16 January 2023 07:07:22 +0000 (0:00:00.840) 0:00:30.882 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/create_team_profile.yml for sut => (item=tasks/create_team_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/create_team_profile.yml:3 Monday 16 January 2023 07:07:23 +0000 (0:00:00.504) 0:00:31.387 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 16 January 2023 07:07:24 +0000 (0:00:00.911) 0:00:32.298 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 16 January 2023 07:07:24 +0000 (0:00:00.723) 0:00:33.022 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Monday 16 January 2023 07:07:26 +0000 (0:00:01.325) 0:00:34.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 [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Monday 16 January 2023 07:07:30 +0000 (0:00:04.264) 0:00:38.613 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 16 January 2023 07:07:39 +0000 (0:00:08.623) 0:00:47.236 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 16 January 2023 07:07:40 +0000 (0:00:00.989) 0:00:48.226 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 16 January 2023 07:07:40 +0000 (0:00:00.617) 0:00:48.843 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 16 January 2023 07:07:41 +0000 (0:00:00.800) 0:00:49.644 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Monday 16 January 2023 07:07:43 +0000 (0:00:01.656) 0:00:51.300 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Monday 16 January 2023 07:07:44 +0000 (0:00:01.206) 0:00:52.507 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Monday 16 January 2023 07:07:45 +0000 (0:00:00.990) 0:00:53.497 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Monday 16 January 2023 07:07:46 +0000 (0:00:01.143) 0:00:54.640 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Monday 16 January 2023 07:07:56 +0000 (0:00:09.874) 0:01:04.515 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Monday 16 January 2023 07:07:57 +0000 (0:00:01.053) 0:01:05.569 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Monday 16 January 2023 07:07:58 +0000 (0:00:00.886) 0:01:06.455 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Monday 16 January 2023 07:07:59 +0000 (0:00:00.796) 0:01:07.252 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "team0", "persistent_state": "present", "type": "team" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'team0': add connection team0, a965e638-cb51-4699-a4a7-690b702c7cdf TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Monday 16 January 2023 07:08:10 +0000 (0:00:11.285) 0:01:18.578 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Monday 16 January 2023 07:08:11 +0000 (0:00:00.780) 0:01:19.359 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'team0': add connection team0, a965e638-cb51-4699-a4a7-690b702c7cdf" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Monday 16 January 2023 07:08:12 +0000 (0:00:01.042) 0:01:20.401 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "team0", "persistent_state": "present", "type": "team" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'team0': add connection team0, a965e638-cb51-4699-a4a7-690b702c7cdf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'team0': add connection team0, a965e638-cb51-4699-a4a7-690b702c7cdf" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 16 January 2023 07:08:13 +0000 (0:00:00.840) 0:01:21.241 ******** skipping: [sut] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Monday 16 January 2023 07:08:14 +0000 (0:00:01.752) 0:01:22.994 ******** ok: [sut] => { "changed": false, "ping": "pong" } META: role_complete for sut TASK [Show result] ************************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/create_team_profile.yml:14 Monday 16 January 2023 07:08:20 +0000 (0:00:05.353) 0:01:28.348 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "team0", "persistent_state": "present", "type": "team" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'team0': add connection team0, a965e638-cb51-4699-a4a7-690b702c7cdf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'team0': add connection team0, a965e638-cb51-4699-a4a7-690b702c7cdf" ] } } TASK [asserts] ***************************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/run_test.yml:35 Monday 16 January 2023 07:08:21 +0000 (0:00:01.162) 0:01:29.510 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 16 January 2023 07:08:25 +0000 (0:00:03.805) 0:01:33.316 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 16 January 2023 07:08:27 +0000 (0:00:02.168) 0:01:35.484 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:8 Monday 16 January 2023 07:08:28 +0000 (0:00:00.889) 0:01:36.373 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1673852889.975095, "block_size": 4096, "blocks": 8, "ctime": 1673852889.6200883, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 297, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1673852889.6200883, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-team0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 206, "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: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:16 Monday 16 January 2023 07:08:30 +0000 (0:00:02.362) 0:01:38.736 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:24 Monday 16 January 2023 07:08:32 +0000 (0:00:01.402) 0:01:40.139 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep team0 | grep /etc", "delta": "0:00:00.081480", "end": "2023-01-16 07:08:33.396219", "rc": 0, "start": "2023-01-16 07:08:33.314739" } STDOUT: team0 /etc/sysconfig/network-scripts/ifcfg-team0 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:33 Monday 16 January 2023 07:08:34 +0000 (0:00:02.062) 0:01:42.201 ******** 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-team0] ************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:43 Monday 16 January 2023 07:08:35 +0000 (0:00:01.329) 0:01:43.531 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-team0] *********************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 16 January 2023 07:08:37 +0000 (0:00:01.632) 0:01:45.164 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'team0' is present] ********************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml:4 Monday 16 January 2023 07:08:38 +0000 (0:00:01.885) 0:01:47.049 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'team0' is present] *************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml:9 Monday 16 January 2023 07:08:41 +0000 (0:00:02.176) 0:01:49.226 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_present.yml:3 Monday 16 January 2023 07:08:41 +0000 (0:00:00.616) 0:01:49.843 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface team0] ******************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 16 January 2023 07:08:43 +0000 (0:00:01.605) 0:01:51.448 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1673852889.7080576, "block_size": 4096, "blocks": 0, "ctime": 1673852889.7080576, "dev": 20, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21776, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/team0", "lnk_target": "../../devices/virtual/net/team0", "mode": "0777", "mtime": 1673852889.7080576, "nlink": 1, "path": "/sys/class/net/team0", "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 team0 is present] ********************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_device_present.yml:4 Monday 16 January 2023 07:08:45 +0000 (0:00:02.004) 0:01:53.452 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/run_test.yml:41 Monday 16 January 2023 07:08:46 +0000 (0:00:00.784) 0:01:54.236 ******** TASK [Success in test 'Create a team interface without any port attached'] ***** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/run_test.yml:47 Monday 16 January 2023 07:08:47 +0000 (0:00:01.236) 0:01:55.473 ******** ok: [sut] => {} MSG: +++++ Success in test 'Create a team interface without any port attached' +++++ TASK [cleanup] ***************************************************************** task path: /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/run_test.yml:66 Monday 16 January 2023 07:08:48 +0000 (0:00:01.564) 0:01:57.038 ******** included: /WORKDIR/dist-git-network-woke-action-ogjhja1l/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-woke-action-ogjhja1l/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 16 January 2023 07:08:50 +0000 (0:00:01.528) 0:01:58.567 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete team0\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-team0\nrm -f /etc/sysconfig/network-scripts/ifcfg-team0\nip link del team0\n", "delta": "0:00:00.094156", "end": "2023-01-16 07:08:51.594843", "rc": 1, "start": "2023-01-16 07:08:51.500687" } STDOUT: Connection 'team0' (a965e638-cb51-4699-a4a7-690b702c7cdf) successfully deleted. STDERR: Cannot find device "team0" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=51 changed=3 unreachable=0 failed=0 skipped=17 rescued=0 ignored=2 Monday 16 January 2023 07:08:52 +0000 (0:00:02.307) 0:02:00.875 ******** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles -- 11.33s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 9.87s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Check which packages are installed --- 8.62s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 5.77s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tests_team_nm.yml:5 ------ fedora.linux_system_roles.network : Re-test connectivity ---------------- 5.35s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Create EPEL 8 ----------------------------------------------------------- 4.55s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:4 -- fedora.linux_system_roles.network : Check which services are running ---- 4.26s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 asserts ----------------------------------------------------------------- 3.81s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/run_test.yml:35 Get stat for interface team0 -------------------------------------------- 2.56s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml:3 stat profile file ------------------------------------------------------- 2.36s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:8 Cleanup profile and device ---------------------------------------------- 2.31s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/cleanup_profile+device.yml:3 assert that profile 'team0' is present ---------------------------------- 2.18s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml:4 include_tasks ----------------------------------------------------------- 2.17s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/assert_profile_present.yml:3 Gathering Facts --------------------------------------------------------- 2.10s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tests_team.yml:3 Get NM profile info ----------------------------------------------------- 2.06s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:24 Get stat for interface team0 -------------------------------------------- 2.00s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_interface_stat.yml:3 Verify the ansible_managed comment in ifcfg-team0 ----------------------- 1.89s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/get_profile_stat.yml:49 Enable EPEL 8 ----------------------------------------------------------- 1.84s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/tasks/enable_epel.yml:23 - Show item --------------------------------------------------------------- 1.76s /WORKDIR/dist-git-network-woke-action-ogjhja1l/tests/playbooks/tasks/run_test.yml:9 fedora.linux_system_roles.network : Show debug messages for the network_state --- 1.75s /WORKDIR/dist-git-network-woke-action-ogjhja1l/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---