# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-ci_fixvy6c85__/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) 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_states_initscripts.yml ***************************************** 2 plays in /WORKDIR/git-ci_fixvy6c85__/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/tests_states_initscripts.yml:5 Friday 26 January 2024 21:41:38 +0000 (0:00:00.011) 0:00:00.011 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/tests_states_initscripts.yml:8 Friday 26 January 2024 21:41:39 +0000 (0:00:00.800) 0:00:00.812 ******** included: /WORKDIR/git-ci_fixvy6c85__/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/git-ci_fixvy6c85__/tests/tasks/el_repo_setup.yml:3 Friday 26 January 2024 21:41:39 +0000 (0:00:00.011) 0:00:00.823 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/tasks/el_repo_setup.yml:17 Friday 26 January 2024 21:41:39 +0000 (0:00:00.381) 0:00:01.205 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/tasks/el_repo_setup.yml:22 Friday 26 January 2024 21:41:39 +0000 (0:00:00.248) 0:00:01.454 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/tasks/el_repo_setup.yml:26 Friday 26 January 2024 21:41:39 +0000 (0:00:00.014) 0:00:01.468 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/tasks/el_repo_setup.yml:51 Friday 26 January 2024 21:41:39 +0000 (0:00:00.008) 0:00:01.477 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/tasks/enable_epel.yml:8 Friday 26 January 2024 21:41:39 +0000 (0:00:00.021) 0:00:01.498 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/tasks/enable_epel.yml:24 Friday 26 January 2024 21:41:40 +0000 (0:00:00.252) 0:00:01.750 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/tasks/enable_epel.yml:30 Friday 26 January 2024 21:41:40 +0000 (0:00:00.008) 0:00:01.759 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/tasks/enable_epel.yml:35 Friday 26 January 2024 21:41:40 +0000 (0:00:00.008) 0:00:01.767 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.257454", "end": "2024-01-26 21:41:40.637148", "rc": 0, "start": "2024-01-26 21:41:40.379694" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/tasks/enable_epel.yml:40 Friday 26 January 2024 21:41:40 +0000 (0:00:00.451) 0:00:02.219 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/tests_states_initscripts.yml:10 Friday 26 January 2024 21:41:40 +0000 (0:00:00.007) 0:00:02.226 ******** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_states.yml:3 Friday 26 January 2024 21:41:40 +0000 (0:00:00.015) 0:00:02.242 ******** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_states.yml:11 Friday 26 January 2024 21:41:41 +0000 (0:00:00.645) 0:00:02.888 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_states.yml:22 Friday 26 January 2024 21:41:41 +0000 (0:00:00.020) 0:00:02.908 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:41:41 +0000 (0:00:00.021) 0:00:02.930 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:41:41 +0000 (0:00:00.018) 0:00:02.949 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } 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_bridge_profile.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": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } 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 the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:41:41 +0000 (0:00:00.045) 0:00:02.994 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:41:41 +0000 (0:00:00.020) 0:00:03.015 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:41:41 +0000 (0:00:00.020) 0:00:03.036 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003436", "end": "2024-01-26 21:41:41.658168", "rc": 0, "start": "2024-01-26 21:41:41.654732" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:41:41 +0000 (0:00:00.204) 0:00:03.240 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:41:41 +0000 (0:00:00.021) 0:00:03.261 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:41:41 +0000 (0:00:00.024) 0:00:03.286 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/delete_interface.yml:3 Friday 26 January 2024 21:41:41 +0000 (0:00:00.025) 0:00:03.312 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008731", "end": "2024-01-26 21:41:41.941109", "rc": 1, "start": "2024-01-26 21:41:41.932378" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:41:41 +0000 (0:00:00.213) 0:00:03.525 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:41:41 +0000 (0:00:00.031) 0:00:03.557 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:41:42 +0000 (0:00:00.217) 0:00:03.775 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:41:42 +0000 (0:00:00.019) 0:00:03.794 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:41:42 +0000 (0:00:00.024) 0:00:03.819 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:41:42 +0000 (0:00:00.031) 0:00:03.850 ******** included: /WORKDIR/git-ci_fixvy6c85__/.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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:41:42 +0000 (0:00:00.027) 0:00:03.878 ******** 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 : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:41:42 +0000 (0:00:00.020) 0:00:03.899 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:41:42 +0000 (0:00:00.020) 0:00:03.919 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:41:42 +0000 (0:00:00.019) 0:00:03.939 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:41:44 +0000 (0:00:01.775) 0:00:05.714 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:41:45 +0000 (0:00:01.732) 0:00:07.447 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:41:45 +0000 (0:00:00.029) 0:00:07.476 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:41:45 +0000 (0:00:00.028) 0:00:07.504 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:41:45 +0000 (0:00:00.028) 0:00:07.533 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:41:46 +0000 (0:00:00.058) 0:00:07.591 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:41:46 +0000 (0:00:00.028) 0:00:07.620 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:41:46 +0000 (0:00:00.028) 0:00:07.648 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:41:46 +0000 (0:00:00.049) 0:00:07.698 ******** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:41:46 +0000 (0:00:00.028) 0:00:07.727 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:41:46 +0000 (0:00:00.026) 0:00:07.753 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:41:46 +0000 (0:00:00.552) 0:00:08.305 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11984el6_2hcc/tmp2p8p1amw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:41:47 +0000 (0:00:00.316) 0:00:08.622 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:41:47 +0000 (0:00:00.419) 0:00:09.041 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:41:47 +0000 (0:00:00.029) 0:00:09.071 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:41:47 +0000 (0:00:00.028) 0:00:09.099 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:41:47 +0000 (0:00:00.029) 0:00:09.128 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:41:47 +0000 (0:00:00.027) 0:00:09.156 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:41:47 +0000 (0:00:00.301) 0:00:09.458 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:41:47 +0000 (0:00:00.027) 0:00:09.486 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:41:47 +0000 (0:00:00.044) 0:00:09.530 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:41:48 +0000 (0:00:00.040) 0:00:09.571 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:41:48 +0000 (0:00:00.049) 0:00:09.620 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706305307.449912, "block_size": 4096, "blocks": 8, "ctime": 1706305307.449912, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6211513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706305307.449912, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "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/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:41:48 +0000 (0:00:00.212) 0:00:09.833 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:41:48 +0000 (0:00:00.030) 0:00:09.863 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023708", "end": "2024-01-26 21:41:48.506727", "rc": 1, "start": "2024-01-26 21:41:48.483019" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:41:48 +0000 (0:00:00.234) 0:00:10.097 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:41:48 +0000 (0:00:00.028) 0:00:10.125 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003373", "end": "2024-01-26 21:41:48.752274", "rc": 0, "start": "2024-01-26 21:41:48.748901" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:41:48 +0000 (0:00:00.218) 0:00:10.344 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:41:48 +0000 (0:00:00.031) 0:00:10.375 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003387", "end": "2024-01-26 21:41:49.001545", "rc": 0, "start": "2024-01-26 21:41:48.998158" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:41:49 +0000 (0:00:00.217) 0:00:10.593 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:41:49 +0000 (0:00:00.032) 0:00:10.625 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:41:49 +0000 (0:00:00.030) 0:00:10.655 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:41:49 +0000 (0:00:00.028) 0:00:10.684 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:41:49 +0000 (0:00:00.030) 0:00:10.714 ******** skipping: [sut] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:41:49 +0000 (0:00:00.029) 0:00:10.743 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:41:49 +0000 (0:00:00.027) 0:00:10.771 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:41:49 +0000 (0:00:00.043) 0:00:10.814 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.046628", "end": "2024-01-26 21:41:49.483786", "rc": 1, "start": "2024-01-26 21:41:49.437158" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_states.yml:45 Friday 26 January 2024 21:41:49 +0000 (0:00:00.258) 0:00:11.073 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:41:49 +0000 (0:00:00.061) 0:00:11.135 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:41:49 +0000 (0:00:00.028) 0:00:11.163 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } 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_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "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. '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 the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:41:49 +0000 (0:00:00.051) 0:00:11.215 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:41:49 +0000 (0:00:00.038) 0:00:11.253 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:41:49 +0000 (0:00:00.037) 0:00:11.290 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003649", "end": "2024-01-26 21:41:49.915171", "rc": 0, "start": "2024-01-26 21:41:49.911522" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:41:49 +0000 (0:00:00.214) 0:00:11.505 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:41:49 +0000 (0:00:00.030) 0:00:11.536 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:41:50 +0000 (0:00:00.029) 0:00:11.565 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/delete_interface.yml:3 Friday 26 January 2024 21:41:50 +0000 (0:00:00.044) 0:00:11.609 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006521", "end": "2024-01-26 21:41:50.237740", "rc": 1, "start": "2024-01-26 21:41:50.231219" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:41:50 +0000 (0:00:00.218) 0:00:11.828 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:41:50 +0000 (0:00:00.038) 0:00:11.866 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:41:50 +0000 (0:00:00.232) 0:00:12.099 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:41:50 +0000 (0:00:00.029) 0:00:12.129 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 26 January 2024 21:41:50 +0000 (0:00:00.043) 0:00:12.172 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:41:50 +0000 (0:00:00.048) 0:00:12.221 ******** included: /WORKDIR/git-ci_fixvy6c85__/.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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:41:50 +0000 (0:00:00.045) 0:00:12.267 ******** 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 : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:41:50 +0000 (0:00:00.033) 0:00:12.300 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:41:50 +0000 (0:00:00.033) 0:00:12.334 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:41:50 +0000 (0:00:00.030) 0:00:12.364 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:41:52 +0000 (0:00:01.697) 0:00:14.062 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:41:54 +0000 (0:00:01.587) 0:00:15.649 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:41:54 +0000 (0:00:00.055) 0:00:15.705 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:41:54 +0000 (0:00:00.029) 0:00:15.734 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:41:54 +0000 (0:00:00.028) 0:00:15.763 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:41:54 +0000 (0:00:00.050) 0:00:15.814 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:41:54 +0000 (0:00:00.030) 0:00:15.844 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:41:54 +0000 (0:00:00.028) 0:00:15.873 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:41:54 +0000 (0:00:00.032) 0:00:15.906 ******** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:41:54 +0000 (0:00:00.030) 0:00:15.936 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:41:54 +0000 (0:00:00.026) 0:00:15.963 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:41:54 +0000 (0:00:00.382) 0:00:16.346 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11984el6_2hcc/tmpt9g27wig" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:41:55 +0000 (0:00:00.307) 0:00:16.654 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:41:55 +0000 (0:00:00.302) 0:00:16.956 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:41:55 +0000 (0:00:00.029) 0:00:16.986 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:41:55 +0000 (0:00:00.031) 0:00:17.018 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:41:55 +0000 (0:00:00.031) 0:00:17.049 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:41:55 +0000 (0:00:00.030) 0:00:17.080 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 26 January 2024 21:41:55 +0000 (0:00:00.242) 0:00:17.322 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:41:55 +0000 (0:00:00.029) 0:00:17.352 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:41:55 +0000 (0:00:00.046) 0:00:17.398 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:41:55 +0000 (0:00:00.038) 0:00:17.437 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:41:56 +0000 (0:00:00.208) 0:00:17.646 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:41:56 +0000 (0:00:00.030) 0:00:17.676 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:41:56 +0000 (0:00:00.041) 0:00:17.718 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:41:56 +0000 (0:00:00.028) 0:00:17.746 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706305315.363973, "block_size": 4096, "blocks": 8, "ctime": 1706305315.363973, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6211513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706305315.363973, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "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/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:41:56 +0000 (0:00:00.210) 0:00:17.957 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:41:56 +0000 (0:00:00.028) 0:00:17.986 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022810", "end": "2024-01-26 21:41:56.631383", "rc": 1, "start": "2024-01-26 21:41:56.608573" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:41:56 +0000 (0:00:00.235) 0:00:18.221 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:41:56 +0000 (0:00:00.030) 0:00:18.252 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003501", "end": "2024-01-26 21:41:56.878797", "rc": 0, "start": "2024-01-26 21:41:56.875296" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:41:56 +0000 (0:00:00.219) 0:00:18.471 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:41:56 +0000 (0:00:00.031) 0:00:18.502 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003677", "end": "2024-01-26 21:41:57.129145", "rc": 0, "start": "2024-01-26 21:41:57.125468" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:41:57 +0000 (0:00:00.243) 0:00:18.746 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:41:57 +0000 (0:00:00.033) 0:00:18.779 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:41:57 +0000 (0:00:00.030) 0:00:18.810 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:41:57 +0000 (0:00:00.031) 0:00:18.841 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:41:57 +0000 (0:00:00.030) 0:00:18.871 ******** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:41:57 +0000 (0:00:00.025) 0:00:18.897 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:41:57 +0000 (0:00:00.028) 0:00:18.926 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:41:57 +0000 (0:00:00.043) 0:00:18.970 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.046039", "end": "2024-01-26 21:41:57.638106", "rc": 1, "start": "2024-01-26 21:41:57.592067" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_states.yml:65 Friday 26 January 2024 21:41:57 +0000 (0:00:00.259) 0:00:19.229 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:41:57 +0000 (0:00:00.041) 0:00:19.270 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:41:57 +0000 (0:00:00.029) 0:00:19.300 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "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. '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 the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:41:57 +0000 (0:00:00.052) 0:00:19.353 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:41:57 +0000 (0:00:00.038) 0:00:19.392 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:41:57 +0000 (0:00:00.062) 0:00:19.454 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003494", "end": "2024-01-26 21:41:58.077030", "rc": 0, "start": "2024-01-26 21:41:58.073536" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:41:58 +0000 (0:00:00.221) 0:00:19.675 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:41:58 +0000 (0:00:00.030) 0:00:19.706 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:41:58 +0000 (0:00:00.031) 0:00:19.737 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:41:58 +0000 (0:00:00.041) 0:00:19.779 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:41:58 +0000 (0:00:00.047) 0:00:19.826 ******** included: /WORKDIR/git-ci_fixvy6c85__/.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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:41:58 +0000 (0:00:00.045) 0:00:19.871 ******** 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 : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:41:58 +0000 (0:00:00.031) 0:00:19.903 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:41:58 +0000 (0:00:00.030) 0:00:19.934 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:41:58 +0000 (0:00:00.031) 0:00:19.965 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:42:00 +0000 (0:00:01.673) 0:00:21.639 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:42:01 +0000 (0:00:01.634) 0:00:23.274 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:42:01 +0000 (0:00:00.031) 0:00:23.305 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:42:01 +0000 (0:00:00.028) 0:00:23.334 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:42:01 +0000 (0:00:00.029) 0:00:23.364 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:42:01 +0000 (0:00:00.051) 0:00:23.415 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:42:01 +0000 (0:00:00.032) 0:00:23.448 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:42:01 +0000 (0:00:00.029) 0:00:23.478 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:42:01 +0000 (0:00:00.032) 0:00:23.511 ******** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:42:01 +0000 (0:00:00.030) 0:00:23.542 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:42:02 +0000 (0:00:00.027) 0:00:23.570 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:42:02 +0000 (0:00:00.394) 0:00:23.964 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11984el6_2hcc/tmprljrdba9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:42:02 +0000 (0:00:00.323) 0:00:24.288 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:42:03 +0000 (0:00:00.303) 0:00:24.591 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:42:03 +0000 (0:00:00.029) 0:00:24.620 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:42:03 +0000 (0:00:00.030) 0:00:24.651 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:42:03 +0000 (0:00:00.056) 0:00:24.707 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:42:03 +0000 (0:00:00.029) 0:00:24.737 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:42:03 +0000 (0:00:00.220) 0:00:24.957 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:42:03 +0000 (0:00:00.031) 0:00:24.989 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:42:03 +0000 (0:00:00.043) 0:00:25.033 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:42:03 +0000 (0:00:00.048) 0:00:25.082 ******** included: /WORKDIR/git-ci_fixvy6c85__/.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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:42:03 +0000 (0:00:00.047) 0:00:25.129 ******** 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 : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:42:03 +0000 (0:00:00.033) 0:00:25.163 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:42:03 +0000 (0:00:00.032) 0:00:25.195 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:42:03 +0000 (0:00:00.030) 0:00:25.225 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:42:05 +0000 (0:00:01.706) 0:00:26.932 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:42:07 +0000 (0:00:01.642) 0:00:28.575 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:42:07 +0000 (0:00:00.029) 0:00:28.604 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:42:07 +0000 (0:00:00.031) 0:00:28.636 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:42:07 +0000 (0:00:00.029) 0:00:28.665 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:42:07 +0000 (0:00:00.050) 0:00:28.716 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:42:07 +0000 (0:00:00.031) 0:00:28.747 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:42:07 +0000 (0:00:00.029) 0:00:28.776 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:42:07 +0000 (0:00:00.032) 0:00:28.809 ******** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:42:07 +0000 (0:00:00.031) 0:00:28.840 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:42:07 +0000 (0:00:00.027) 0:00:28.867 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:42:07 +0000 (0:00:00.392) 0:00:29.259 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11984el6_2hcc/tmp1482bmi7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:42:09 +0000 (0:00:01.317) 0:00:30.577 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:42:09 +0000 (0:00:00.581) 0:00:31.158 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:42:09 +0000 (0:00:00.029) 0:00:31.188 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:42:09 +0000 (0:00:00.029) 0:00:31.218 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': 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": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:42:09 +0000 (0:00:00.057) 0:00:31.275 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:42:09 +0000 (0:00:00.030) 0:00:31.305 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:42:09 +0000 (0:00:00.221) 0:00:31.526 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:42:10 +0000 (0:00:00.046) 0:00:31.573 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:42:10 +0000 (0:00:00.039) 0:00:31.613 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706305329.4655776, "block_size": 4096, "blocks": 0, "ctime": 1706305329.4655776, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39014, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1706305329.4655776, "nlink": 1, "path": "/sys/class/net/statebr", "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 the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:42:10 +0000 (0:00:00.220) 0:00:31.834 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:42:10 +0000 (0:00:00.030) 0:00:31.864 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:42:10 +0000 (0:00:00.041) 0:00:31.906 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:42:10 +0000 (0:00:00.030) 0:00:31.936 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706305329.2840803, "block_size": 4096, "blocks": 8, "ctime": 1706305322.9980319, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6211513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706305322.9980319, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "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/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:42:10 +0000 (0:00:00.211) 0:00:32.148 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:42:10 +0000 (0:00:00.028) 0:00:32.177 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022520", "end": "2024-01-26 21:42:10.819509", "rc": 1, "start": "2024-01-26 21:42:10.796989" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:42:10 +0000 (0:00:00.233) 0:00:32.410 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:42:10 +0000 (0:00:00.027) 0:00:32.438 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003313", "end": "2024-01-26 21:42:11.062138", "rc": 0, "start": "2024-01-26 21:42:11.058825" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:42:11 +0000 (0:00:00.241) 0:00:32.680 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:42:11 +0000 (0:00:00.033) 0:00:32.713 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003474", "end": "2024-01-26 21:42:11.337349", "rc": 0, "start": "2024-01-26 21:42:11.333875" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:42:11 +0000 (0:00:00.215) 0:00:32.929 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:42:11 +0000 (0:00:00.033) 0:00:32.962 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:42:11 +0000 (0:00:00.031) 0:00:32.994 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:42:11 +0000 (0:00:00.030) 0:00:33.024 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:42:11 +0000 (0:00:00.029) 0:00:33.054 ******** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:42:11 +0000 (0:00:00.025) 0:00:33.079 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:42:11 +0000 (0:00:00.030) 0:00:33.110 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:42:11 +0000 (0:00:00.043) 0:00:33.153 ******** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.051993", "end": "2024-01-26 21:42:11.826661", "rc": 0, "start": "2024-01-26 21:42:11.774668" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_states.yml:83 Friday 26 January 2024 21:42:11 +0000 (0:00:00.266) 0:00:33.420 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:42:11 +0000 (0:00:00.040) 0:00:33.461 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:42:11 +0000 (0:00:00.027) 0:00:33.489 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.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 the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:42:11 +0000 (0:00:00.051) 0:00:33.540 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:42:12 +0000 (0:00:00.064) 0:00:33.605 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:42:12 +0000 (0:00:00.038) 0:00:33.644 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003566", "end": "2024-01-26 21:42:12.268135", "rc": 0, "start": "2024-01-26 21:42:12.264569" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:42:12 +0000 (0:00:00.215) 0:00:33.859 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:42:12 +0000 (0:00:00.028) 0:00:33.888 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:42:12 +0000 (0:00:00.027) 0:00:33.916 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:42:12 +0000 (0:00:00.045) 0:00:33.962 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:42:12 +0000 (0:00:00.047) 0:00:34.010 ******** included: /WORKDIR/git-ci_fixvy6c85__/.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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:42:12 +0000 (0:00:00.045) 0:00:34.055 ******** 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 : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:42:12 +0000 (0:00:00.032) 0:00:34.087 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:42:12 +0000 (0:00:00.030) 0:00:34.118 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:42:12 +0000 (0:00:00.029) 0:00:34.147 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:42:14 +0000 (0:00:01.645) 0:00:35.793 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:42:15 +0000 (0:00:01.583) 0:00:37.377 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:42:15 +0000 (0:00:00.031) 0:00:37.408 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:42:15 +0000 (0:00:00.031) 0:00:37.439 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:42:15 +0000 (0:00:00.031) 0:00:37.471 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:42:15 +0000 (0:00:00.053) 0:00:37.525 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:42:15 +0000 (0:00:00.029) 0:00:37.555 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:42:16 +0000 (0:00:00.037) 0:00:37.592 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:42:16 +0000 (0:00:00.035) 0:00:37.628 ******** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:42:16 +0000 (0:00:00.029) 0:00:37.657 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:42:16 +0000 (0:00:00.028) 0:00:37.686 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:42:16 +0000 (0:00:00.381) 0:00:38.068 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11984el6_2hcc/tmp5lkcpb9u" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:42:17 +0000 (0:00:01.317) 0:00:39.385 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:42:18 +0000 (0:00:00.329) 0:00:39.715 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:42:18 +0000 (0:00:00.057) 0:00:39.773 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:42:18 +0000 (0:00:00.030) 0:00:39.803 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:42:18 +0000 (0:00:00.030) 0:00:39.834 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:42:18 +0000 (0:00:00.030) 0:00:39.864 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:42:18 +0000 (0:00:00.214) 0:00:40.079 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:42:18 +0000 (0:00:00.030) 0:00:40.109 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:42:18 +0000 (0:00:00.046) 0:00:40.156 ******** included: /WORKDIR/git-ci_fixvy6c85__/.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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:42:18 +0000 (0:00:00.047) 0:00:40.203 ******** 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 : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:42:18 +0000 (0:00:00.033) 0:00:40.237 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:42:18 +0000 (0:00:00.029) 0:00:40.267 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:42:18 +0000 (0:00:00.029) 0:00:40.296 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:42:20 +0000 (0:00:01.670) 0:00:41.967 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:42:22 +0000 (0:00:01.651) 0:00:43.618 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:42:22 +0000 (0:00:00.031) 0:00:43.650 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:42:22 +0000 (0:00:00.034) 0:00:43.685 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:42:22 +0000 (0:00:00.031) 0:00:43.716 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:42:22 +0000 (0:00:00.052) 0:00:43.768 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:42:22 +0000 (0:00:00.031) 0:00:43.800 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:42:22 +0000 (0:00:00.030) 0:00:43.830 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:42:22 +0000 (0:00:00.033) 0:00:43.864 ******** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:42:22 +0000 (0:00:00.031) 0:00:43.895 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:42:22 +0000 (0:00:00.028) 0:00:43.924 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:42:22 +0000 (0:00:00.398) 0:00:44.322 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11984el6_2hcc/tmp8opj679v" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:42:24 +0000 (0:00:01.319) 0:00:45.642 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:42:24 +0000 (0:00:00.576) 0:00:46.218 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:42:24 +0000 (0:00:00.029) 0:00:46.247 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:42:24 +0000 (0:00:00.029) 0:00:46.277 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': 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": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:42:24 +0000 (0:00:00.065) 0:00:46.343 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:42:24 +0000 (0:00:00.036) 0:00:46.379 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:42:25 +0000 (0:00:00.219) 0:00:46.599 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/remove_profile.yml:3 Friday 26 January 2024 21:42:25 +0000 (0:00:00.044) 0:00:46.643 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:42:25 +0000 (0:00:00.049) 0:00:46.692 ******** included: /WORKDIR/git-ci_fixvy6c85__/.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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:42:25 +0000 (0:00:00.047) 0:00:46.740 ******** 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 : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:42:25 +0000 (0:00:00.032) 0:00:46.773 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:42:25 +0000 (0:00:00.031) 0:00:46.804 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:42:25 +0000 (0:00:00.029) 0:00:46.834 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:42:28 +0000 (0:00:03.679) 0:00:50.513 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:42:30 +0000 (0:00:01.649) 0:00:52.163 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:42:30 +0000 (0:00:00.037) 0:00:52.201 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:42:30 +0000 (0:00:00.031) 0:00:52.232 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:42:30 +0000 (0:00:00.030) 0:00:52.263 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:42:30 +0000 (0:00:00.054) 0:00:52.317 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:42:30 +0000 (0:00:00.030) 0:00:52.348 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:42:30 +0000 (0:00:00.033) 0:00:52.381 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:42:30 +0000 (0:00:00.034) 0:00:52.416 ******** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:42:30 +0000 (0:00:00.031) 0:00:52.447 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:42:30 +0000 (0:00:00.028) 0:00:52.475 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:42:31 +0000 (0:00:00.393) 0:00:52.869 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11984el6_2hcc/tmpmeenypo5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:42:31 +0000 (0:00:00.315) 0:00:53.185 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:42:31 +0000 (0:00:00.311) 0:00:53.496 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:42:31 +0000 (0:00:00.029) 0:00:53.526 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:42:31 +0000 (0:00:00.031) 0:00:53.557 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:42:32 +0000 (0:00:00.030) 0:00:53.587 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:42:32 +0000 (0:00:00.028) 0:00:53.616 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:42:32 +0000 (0:00:00.246) 0:00:53.862 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:42:32 +0000 (0:00:00.047) 0:00:53.910 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:42:32 +0000 (0:00:00.038) 0:00:53.949 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706305344.532216, "block_size": 4096, "blocks": 0, "ctime": 1706305344.532216, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39145, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1706305344.532216, "nlink": 1, "path": "/sys/class/net/statebr", "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 the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:42:32 +0000 (0:00:00.213) 0:00:54.162 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:42:32 +0000 (0:00:00.030) 0:00:54.192 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:42:32 +0000 (0:00:00.039) 0:00:54.232 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:42:32 +0000 (0:00:00.028) 0:00:54.260 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:42:32 +0000 (0:00:00.207) 0:00:54.468 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:42:32 +0000 (0:00:00.026) 0:00:54.495 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022552", "end": "2024-01-26 21:42:33.136867", "rc": 1, "start": "2024-01-26 21:42:33.114315" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:42:33 +0000 (0:00:00.232) 0:00:54.727 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:42:33 +0000 (0:00:00.028) 0:00:54.756 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:42:33 +0000 (0:00:00.029) 0:00:54.785 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:42:33 +0000 (0:00:00.056) 0:00:54.842 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:42:33 +0000 (0:00:00.028) 0:00:54.870 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:42:33 +0000 (0:00:00.028) 0:00:54.898 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:42:33 +0000 (0:00:00.029) 0:00:54.928 ******** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:42:33 +0000 (0:00:00.025) 0:00:54.953 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:42:33 +0000 (0:00:00.028) 0:00:54.982 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:42:33 +0000 (0:00:00.043) 0:00:55.025 ******** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.054029", "end": "2024-01-26 21:42:33.700746", "rc": 0, "start": "2024-01-26 21:42:33.646717" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_states.yml:102 Friday 26 January 2024 21:42:33 +0000 (0:00:00.269) 0:00:55.294 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:42:33 +0000 (0:00:00.041) 0:00:55.336 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:42:33 +0000 (0:00:00.029) 0:00:55.366 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } 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 the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:42:33 +0000 (0:00:00.053) 0:00:55.419 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:42:33 +0000 (0:00:00.038) 0:00:55.457 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:42:33 +0000 (0:00:00.037) 0:00:55.495 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003633", "end": "2024-01-26 21:42:34.119900", "rc": 0, "start": "2024-01-26 21:42:34.116267" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:42:34 +0000 (0:00:00.244) 0:00:55.739 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:42:34 +0000 (0:00:00.030) 0:00:55.770 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:42:34 +0000 (0:00:00.028) 0:00:55.798 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:42:34 +0000 (0:00:00.051) 0:00:55.850 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:42:34 +0000 (0:00:00.049) 0:00:55.900 ******** included: /WORKDIR/git-ci_fixvy6c85__/.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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:42:34 +0000 (0:00:00.050) 0:00:55.950 ******** 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 : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:42:34 +0000 (0:00:00.033) 0:00:55.983 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:42:34 +0000 (0:00:00.032) 0:00:56.016 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:42:34 +0000 (0:00:00.029) 0:00:56.046 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:42:36 +0000 (0:00:01.706) 0:00:57.752 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:42:37 +0000 (0:00:01.651) 0:00:59.404 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:42:37 +0000 (0:00:00.031) 0:00:59.436 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:42:37 +0000 (0:00:00.029) 0:00:59.465 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:42:37 +0000 (0:00:00.029) 0:00:59.495 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:42:37 +0000 (0:00:00.052) 0:00:59.548 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:42:38 +0000 (0:00:00.029) 0:00:59.577 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:42:38 +0000 (0:00:00.029) 0:00:59.607 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:42:38 +0000 (0:00:00.033) 0:00:59.641 ******** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:42:38 +0000 (0:00:00.031) 0:00:59.672 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:42:38 +0000 (0:00:00.028) 0:00:59.700 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:42:38 +0000 (0:00:00.388) 0:01:00.089 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11984el6_2hcc/tmpedi3oglk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:42:38 +0000 (0:00:00.313) 0:01:00.402 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:42:39 +0000 (0:00:00.304) 0:01:00.706 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:42:39 +0000 (0:00:00.029) 0:01:00.736 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:42:39 +0000 (0:00:00.031) 0:01:00.767 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:42:39 +0000 (0:00:00.030) 0:01:00.797 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:42:39 +0000 (0:00:00.028) 0:01:00.826 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:42:39 +0000 (0:00:00.251) 0:01:01.077 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:42:39 +0000 (0:00:00.030) 0:01:01.108 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:42:39 +0000 (0:00:00.049) 0:01:01.158 ******** included: /WORKDIR/git-ci_fixvy6c85__/.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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:42:39 +0000 (0:00:00.047) 0:01:01.205 ******** 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 : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:42:39 +0000 (0:00:00.034) 0:01:01.240 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:42:39 +0000 (0:00:00.030) 0:01:01.270 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:42:39 +0000 (0:00:00.029) 0:01:01.299 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:42:41 +0000 (0:00:01.695) 0:01:02.995 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:42:43 +0000 (0:00:01.590) 0:01:04.585 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:42:43 +0000 (0:00:00.030) 0:01:04.615 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:42:43 +0000 (0:00:00.059) 0:01:04.675 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:42:43 +0000 (0:00:00.030) 0:01:04.705 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:42:43 +0000 (0:00:00.054) 0:01:04.759 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:42:43 +0000 (0:00:00.030) 0:01:04.789 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:42:43 +0000 (0:00:00.029) 0:01:04.819 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:42:43 +0000 (0:00:00.035) 0:01:04.855 ******** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:42:43 +0000 (0:00:00.030) 0:01:04.885 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:42:43 +0000 (0:00:00.027) 0:01:04.912 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:42:43 +0000 (0:00:00.387) 0:01:05.300 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11984el6_2hcc/tmpg_89bqqg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:42:44 +0000 (0:00:00.318) 0:01:05.619 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:42:44 +0000 (0:00:00.576) 0:01:06.195 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:42:44 +0000 (0:00:00.032) 0:01:06.228 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:42:44 +0000 (0:00:00.033) 0:01:06.261 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': 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": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:42:44 +0000 (0:00:00.030) 0:01:06.292 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:42:44 +0000 (0:00:00.032) 0:01:06.324 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/remove_profile.yml:3 Friday 26 January 2024 21:42:44 +0000 (0:00:00.218) 0:01:06.543 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:42:45 +0000 (0:00:00.082) 0:01:06.626 ******** included: /WORKDIR/git-ci_fixvy6c85__/.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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:42:45 +0000 (0:00:00.047) 0:01:06.673 ******** 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 : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:42:45 +0000 (0:00:00.035) 0:01:06.708 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:42:45 +0000 (0:00:00.032) 0:01:06.741 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:42:45 +0000 (0:00:00.030) 0:01:06.771 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:42:46 +0000 (0:00:01.699) 0:01:08.471 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:42:48 +0000 (0:00:01.589) 0:01:10.060 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:42:48 +0000 (0:00:00.029) 0:01:10.090 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:42:48 +0000 (0:00:00.029) 0:01:10.119 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:42:48 +0000 (0:00:00.029) 0:01:10.148 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:42:48 +0000 (0:00:00.052) 0:01:10.201 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:42:48 +0000 (0:00:00.058) 0:01:10.260 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:42:48 +0000 (0:00:00.030) 0:01:10.290 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:42:48 +0000 (0:00:00.035) 0:01:10.326 ******** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:42:48 +0000 (0:00:00.030) 0:01:10.356 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:42:48 +0000 (0:00:00.027) 0:01:10.384 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:42:49 +0000 (0:00:00.390) 0:01:10.774 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11984el6_2hcc/tmpt25gucqd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:42:49 +0000 (0:00:00.316) 0:01:11.090 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:42:49 +0000 (0:00:00.313) 0:01:11.404 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:42:49 +0000 (0:00:00.031) 0:01:11.435 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:42:49 +0000 (0:00:00.030) 0:01:11.466 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:42:49 +0000 (0:00:00.029) 0:01:11.495 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:42:49 +0000 (0:00:00.031) 0:01:11.526 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:42:50 +0000 (0:00:00.216) 0:01:11.742 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:42:50 +0000 (0:00:00.044) 0:01:11.787 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:42:50 +0000 (0:00:00.075) 0:01:11.863 ******** included: /WORKDIR/git-ci_fixvy6c85__/.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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:42:50 +0000 (0:00:00.046) 0:01:11.909 ******** 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 : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:42:50 +0000 (0:00:00.033) 0:01:11.943 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:42:50 +0000 (0:00:00.033) 0:01:11.977 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:42:50 +0000 (0:00:00.032) 0:01:12.009 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:42:52 +0000 (0:00:01.689) 0:01:13.699 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:42:53 +0000 (0:00:01.585) 0:01:15.285 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:42:53 +0000 (0:00:00.030) 0:01:15.315 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:42:53 +0000 (0:00:00.029) 0:01:15.344 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:42:53 +0000 (0:00:00.029) 0:01:15.374 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:42:53 +0000 (0:00:00.052) 0:01:15.426 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:42:53 +0000 (0:00:00.029) 0:01:15.455 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:42:53 +0000 (0:00:00.060) 0:01:15.516 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:42:53 +0000 (0:00:00.035) 0:01:15.551 ******** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:42:54 +0000 (0:00:00.032) 0:01:15.583 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:42:54 +0000 (0:00:00.027) 0:01:15.611 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:42:54 +0000 (0:00:00.384) 0:01:15.995 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11984el6_2hcc/tmp8zgj7p4w" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:42:55 +0000 (0:00:01.319) 0:01:17.314 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:42:56 +0000 (0:00:00.304) 0:01:17.619 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:42:56 +0000 (0:00:00.032) 0:01:17.652 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:42:56 +0000 (0:00:00.033) 0:01:17.685 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:42:56 +0000 (0:00:00.032) 0:01:17.717 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:42:56 +0000 (0:00:00.029) 0:01:17.747 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:42:56 +0000 (0:00:00.220) 0:01:17.968 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:42:56 +0000 (0:00:00.044) 0:01:18.012 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:42:56 +0000 (0:00:00.042) 0:01:18.054 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:42:56 +0000 (0:00:00.093) 0:01:18.148 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:42:56 +0000 (0:00:00.207) 0:01:18.356 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:42:56 +0000 (0:00:00.027) 0:01:18.383 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022722", "end": "2024-01-26 21:42:57.026586", "rc": 1, "start": "2024-01-26 21:42:57.003864" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:42:57 +0000 (0:00:00.234) 0:01:18.618 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:42:57 +0000 (0:00:00.028) 0:01:18.646 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:42:57 +0000 (0:00:00.027) 0:01:18.674 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:42:57 +0000 (0:00:00.029) 0:01:18.703 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:42:57 +0000 (0:00:00.028) 0:01:18.732 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:42:57 +0000 (0:00:00.027) 0:01:18.760 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:42:57 +0000 (0:00:00.031) 0:01:18.791 ******** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:42:57 +0000 (0:00:00.030) 0:01:18.821 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:42:57 +0000 (0:00:00.027) 0:01:18.849 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:42:57 +0000 (0:00:00.045) 0:01:18.894 ******** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.053943", "end": "2024-01-26 21:42:57.567426", "rc": 0, "start": "2024-01-26 21:42:57.513483" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tests_states.yml:124 Friday 26 January 2024 21:42:57 +0000 (0:00:00.264) 0:01:19.159 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:42:57 +0000 (0:00:00.070) 0:01:19.230 ******** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:42:57 +0000 (0:00:00.029) 0:01:19.259 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } 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 the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:42:57 +0000 (0:00:00.053) 0:01:19.313 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:42:57 +0000 (0:00:00.039) 0:01:19.352 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:42:57 +0000 (0:00:00.038) 0:01:19.391 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003542", "end": "2024-01-26 21:42:58.014267", "rc": 0, "start": "2024-01-26 21:42:58.010725" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:42:58 +0000 (0:00:00.214) 0:01:19.605 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:42:58 +0000 (0:00:00.031) 0:01:19.637 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:42:58 +0000 (0:00:00.029) 0:01:19.666 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:42:58 +0000 (0:00:00.047) 0:01:19.714 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:42:58 +0000 (0:00:00.048) 0:01:19.762 ******** included: /WORKDIR/git-ci_fixvy6c85__/.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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:42:58 +0000 (0:00:00.045) 0:01:19.807 ******** 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 : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:42:58 +0000 (0:00:00.062) 0:01:19.870 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:42:58 +0000 (0:00:00.030) 0:01:19.901 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:42:58 +0000 (0:00:00.032) 0:01:19.933 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:43:00 +0000 (0:00:01.682) 0:01:21.615 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:43:01 +0000 (0:00:01.593) 0:01:23.209 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:43:01 +0000 (0:00:00.030) 0:01:23.239 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:43:01 +0000 (0:00:00.030) 0:01:23.270 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:43:01 +0000 (0:00:00.029) 0:01:23.299 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:43:01 +0000 (0:00:00.053) 0:01:23.352 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:43:01 +0000 (0:00:00.030) 0:01:23.382 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:43:01 +0000 (0:00:00.028) 0:01:23.411 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:43:01 +0000 (0:00:00.034) 0:01:23.446 ******** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:43:01 +0000 (0:00:00.029) 0:01:23.475 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:43:01 +0000 (0:00:00.028) 0:01:23.504 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:43:02 +0000 (0:00:00.423) 0:01:23.927 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11984el6_2hcc/tmplmrff2ey" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:43:03 +0000 (0:00:01.318) 0:01:25.246 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:43:03 +0000 (0:00:00.305) 0:01:25.551 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:43:04 +0000 (0:00:00.030) 0:01:25.582 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:43:04 +0000 (0:00:00.029) 0:01:25.611 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:43:04 +0000 (0:00:00.030) 0:01:25.642 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:43:04 +0000 (0:00:00.029) 0:01:25.672 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:43:04 +0000 (0:00:00.219) 0:01:25.891 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:43:04 +0000 (0:00:00.032) 0:01:25.924 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:43:04 +0000 (0:00:00.049) 0:01:25.974 ******** included: /WORKDIR/git-ci_fixvy6c85__/.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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:43:04 +0000 (0:00:00.048) 0:01:26.022 ******** 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 : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:43:04 +0000 (0:00:00.034) 0:01:26.057 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:43:04 +0000 (0:00:00.030) 0:01:26.088 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:43:04 +0000 (0:00:00.030) 0:01:26.118 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:43:06 +0000 (0:00:01.755) 0:01:27.874 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:43:07 +0000 (0:00:01.590) 0:01:29.465 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:43:07 +0000 (0:00:00.031) 0:01:29.496 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:43:07 +0000 (0:00:00.031) 0:01:29.528 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:43:07 +0000 (0:00:00.030) 0:01:29.558 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:43:08 +0000 (0:00:00.051) 0:01:29.610 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:43:08 +0000 (0:00:00.031) 0:01:29.642 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:43:08 +0000 (0:00:00.031) 0:01:29.673 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:43:08 +0000 (0:00:00.035) 0:01:29.708 ******** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:43:08 +0000 (0:00:00.032) 0:01:29.741 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:43:08 +0000 (0:00:00.028) 0:01:29.770 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:43:08 +0000 (0:00:00.388) 0:01:30.159 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11984el6_2hcc/tmpn47kwevp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:43:08 +0000 (0:00:00.313) 0:01:30.473 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:43:09 +0000 (0:00:00.638) 0:01:31.111 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:43:09 +0000 (0:00:00.030) 0:01:31.142 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:43:09 +0000 (0:00:00.030) 0:01:31.172 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': 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": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:43:09 +0000 (0:00:00.030) 0:01:31.203 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:43:09 +0000 (0:00:00.029) 0:01:31.233 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:43:09 +0000 (0:00:00.215) 0:01:31.448 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:43:09 +0000 (0:00:00.049) 0:01:31.498 ******** included: /WORKDIR/git-ci_fixvy6c85__/.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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:43:09 +0000 (0:00:00.045) 0:01:31.544 ******** 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 : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:43:10 +0000 (0:00:00.033) 0:01:31.578 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:43:10 +0000 (0:00:00.030) 0:01:31.608 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:43:10 +0000 (0:00:00.029) 0:01:31.637 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:43:11 +0000 (0:00:01.678) 0:01:33.316 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:43:13 +0000 (0:00:01.651) 0:01:34.968 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:43:13 +0000 (0:00:00.031) 0:01:34.999 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:43:13 +0000 (0:00:00.030) 0:01:35.030 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:43:13 +0000 (0:00:00.030) 0:01:35.061 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:43:13 +0000 (0:00:00.052) 0:01:35.114 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:43:13 +0000 (0:00:00.031) 0:01:35.145 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:43:13 +0000 (0:00:00.030) 0:01:35.175 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:43:13 +0000 (0:00:00.044) 0:01:35.219 ******** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:43:13 +0000 (0:00:00.031) 0:01:35.251 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:43:13 +0000 (0:00:00.028) 0:01:35.279 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:43:14 +0000 (0:00:00.387) 0:01:35.667 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11984el6_2hcc/tmpoxi4_jlz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:43:14 +0000 (0:00:00.310) 0:01:35.977 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:43:14 +0000 (0:00:00.308) 0:01:36.285 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:43:14 +0000 (0:00:00.032) 0:01:36.317 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:43:14 +0000 (0:00:00.030) 0:01:36.348 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "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, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:43:14 +0000 (0:00:00.029) 0:01:36.377 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:43:14 +0000 (0:00:00.098) 0:01:36.476 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:43:15 +0000 (0:00:00.216) 0:01:36.692 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:43:15 +0000 (0:00:00.043) 0:01:36.735 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:43:15 +0000 (0:00:00.047) 0:01:36.783 ******** included: /WORKDIR/git-ci_fixvy6c85__/.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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:43:15 +0000 (0:00:00.046) 0:01:36.829 ******** 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 : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:43:15 +0000 (0:00:00.033) 0:01:36.862 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:43:15 +0000 (0:00:00.030) 0:01:36.893 ******** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:43:15 +0000 (0:00:00.031) 0:01:36.924 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:43:16 +0000 (0:00:01.604) 0:01:38.529 ******** 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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:43:18 +0000 (0:00:01.645) 0:01:40.174 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:43:18 +0000 (0:00:00.031) 0:01:40.205 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "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/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:43:18 +0000 (0:00:00.031) 0:01:40.237 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:43:18 +0000 (0:00:00.030) 0:01:40.267 ******** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:43:18 +0000 (0:00:00.052) 0:01:40.319 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:43:18 +0000 (0:00:00.032) 0:01:40.352 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:43:18 +0000 (0:00:00.030) 0:01:40.382 ******** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:43:18 +0000 (0:00:00.033) 0:01:40.416 ******** 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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:43:18 +0000 (0:00:00.031) 0:01:40.448 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:43:18 +0000 (0:00:00.028) 0:01:40.476 ******** 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:43:19 +0000 (0:00:00.380) 0:01:40.857 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11984el6_2hcc/tmpfo7ep4qp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:43:19 +0000 (0:00:00.313) 0:01:41.170 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:43:19 +0000 (0:00:00.297) 0:01:41.467 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:43:19 +0000 (0:00:00.029) 0:01:41.497 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:43:19 +0000 (0:00:00.031) 0:01:41.528 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:43:19 +0000 (0:00:00.030) 0:01:41.558 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:43:20 +0000 (0:00:00.028) 0:01:41.587 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:43:20 +0000 (0:00:00.251) 0:01:41.838 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:43:20 +0000 (0:00:00.047) 0:01:41.886 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:43:20 +0000 (0:00:00.041) 0:01:41.927 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:43:20 +0000 (0:00:00.028) 0:01:41.956 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:43:20 +0000 (0:00:00.211) 0:01:42.167 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:43:20 +0000 (0:00:00.027) 0:01:42.194 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022241", "end": "2024-01-26 21:43:20.835304", "rc": 1, "start": "2024-01-26 21:43:20.813063" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:43:20 +0000 (0:00:00.231) 0:01:42.426 ******** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:43:20 +0000 (0:00:00.028) 0:01:42.455 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:43:20 +0000 (0:00:00.027) 0:01:42.482 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:43:20 +0000 (0:00:00.029) 0:01:42.512 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:43:20 +0000 (0:00:00.028) 0:01:42.540 ******** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:43:21 +0000 (0:00:00.027) 0:01:42.567 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 26 January 2024 21:43:21 +0000 (0:00:00.030) 0:01:42.598 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:01.182943", "end": "2024-01-26 21:43:22.395536", "rc": 0, "start": "2024-01-26 21:43:21.212593" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 26 January 2024 21:43:22 +0000 (0:00:01.425) 0:01:44.024 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 26 January 2024 21:43:22 +0000 (0:00:00.031) 0:01:44.055 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:43:22 +0000 (0:00:00.031) 0:01:44.087 ******** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:43:22 +0000 (0:00:00.032) 0:01:44.119 ******** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:43:22 +0000 (0:00:00.029) 0:01:44.148 ******** included: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixvy6c85__/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:43:22 +0000 (0:00:00.044) 0:01:44.193 ******** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.051380", "end": "2024-01-26 21:43:22.865689", "rc": 0, "start": "2024-01-26 21:43:22.814309" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. PLAY RECAP ********************************************************************* sut : ok=333 changed=13 unreachable=0 failed=0 skipped=226 rescued=0 ignored=10 Friday 26 January 2024 21:43:22 +0000 (0:00:00.297) 0:01:44.490 ******** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 3.68s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.73s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.65s /WORKDIR/git-ci_fixvy6c85__/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---