# 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-weekly-civ8d11oti/.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-weekly-civ8d11oti/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/tests_states_initscripts.yml:4 Saturday 16 December 2023 13:52:07 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-civ8d11oti/tests/tests_states_initscripts.yml:8 Saturday 16 December 2023 13:52:09 +0000 (0:00:01.851) 0:00:01.862 ***** included: /WORKDIR/git-weekly-civ8d11oti/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-weekly-civ8d11oti/tests/tasks/el_repo_setup.yml:3 Saturday 16 December 2023 13:52:09 +0000 (0:00:00.012) 0:00:01.875 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/tasks/el_repo_setup.yml:17 Saturday 16 December 2023 13:52:09 +0000 (0:00:00.364) 0:00:02.240 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/tasks/el_repo_setup.yml:22 Saturday 16 December 2023 13:52:10 +0000 (0:00:00.249) 0:00:02.489 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/tasks/el_repo_setup.yml:26 Saturday 16 December 2023 13:52:10 +0000 (0:00:00.013) 0:00:02.502 ***** 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-weekly-civ8d11oti/tests/tasks/el_repo_setup.yml:51 Saturday 16 December 2023 13:52:10 +0000 (0:00:00.008) 0:00:02.511 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/tasks/enable_epel.yml:8 Saturday 16 December 2023 13:52:10 +0000 (0:00:00.020) 0:00:02.532 ***** 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-weekly-civ8d11oti/tests/tasks/enable_epel.yml:24 Saturday 16 December 2023 13:52:10 +0000 (0:00:00.251) 0:00:02.783 ***** 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-weekly-civ8d11oti/tests/tasks/enable_epel.yml:30 Saturday 16 December 2023 13:52:10 +0000 (0:00:00.008) 0:00:02.791 ***** 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-weekly-civ8d11oti/tests/tasks/enable_epel.yml:35 Saturday 16 December 2023 13:52:10 +0000 (0:00:00.008) 0:00:02.800 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.250826", "end": "2023-12-16 13:52:10.958642", "rc": 0, "start": "2023-12-16 13:52:10.707816" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/tasks/enable_epel.yml:40 Saturday 16 December 2023 13:52:10 +0000 (0:00:00.443) 0:00:03.244 ***** 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-weekly-civ8d11oti/tests/tests_states_initscripts.yml:10 Saturday 16 December 2023 13:52:10 +0000 (0:00:00.008) 0:00:03.252 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tests_states.yml:3 Saturday 16 December 2023 13:52:10 +0000 (0:00:00.014) 0:00:03.266 ***** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tests_states.yml:11 Saturday 16 December 2023 13:52:11 +0000 (0:00:00.721) 0:00:03.988 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tests_states.yml:22 Saturday 16 December 2023 13:52:11 +0000 (0:00:00.018) 0:00:04.006 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:5 Saturday 16 December 2023 13:52:11 +0000 (0:00:00.022) 0:00:04.028 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:9 Saturday 16 December 2023 13:52:11 +0000 (0:00:00.017) 0:00:04.046 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:21 Saturday 16 December 2023 13:52:11 +0000 (0:00:00.042) 0:00:04.089 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 16 December 2023 13:52:11 +0000 (0:00:00.020) 0:00:04.109 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 December 2023 13:52:11 +0000 (0:00:00.019) 0:00:04.128 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003506", "end": "2023-12-16 13:52:12.046066", "rc": 0, "start": "2023-12-16 13:52:12.042560" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 December 2023 13:52:12 +0000 (0:00:00.202) 0:00:04.330 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 16 December 2023 13:52:12 +0000 (0:00:00.019) 0:00:04.349 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:24 Saturday 16 December 2023 13:52:12 +0000 (0:00:00.017) 0:00:04.367 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-weekly-civ8d11oti/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-weekly-civ8d11oti/tests/playbooks/tasks/delete_interface.yml:3 Saturday 16 December 2023 13:52:12 +0000 (0:00:00.025) 0:00:04.392 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008578", "end": "2023-12-16 13:52:12.317404", "rc": 1, "start": "2023-12-16 13:52:12.308826" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 December 2023 13:52:12 +0000 (0:00:00.208) 0:00:04.601 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 December 2023 13:52:12 +0000 (0:00:00.020) 0:00:04.621 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 December 2023 13:52:12 +0000 (0:00:00.199) 0:00:04.820 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:30 Saturday 16 December 2023 13:52:12 +0000 (0:00:00.020) 0:00:04.841 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 December 2023 13:52:12 +0000 (0:00:00.025) 0:00:04.867 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 December 2023 13:52:12 +0000 (0:00:00.031) 0:00:04.898 ***** included: /WORKDIR/git-weekly-civ8d11oti/.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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:52:12 +0000 (0:00:00.028) 0:00:04.927 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 December 2023 13:52:12 +0000 (0:00:00.019) 0:00:04.946 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 December 2023 13:52:12 +0000 (0:00:00.019) 0:00:04.966 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 December 2023 13:52:12 +0000 (0:00:00.018) 0:00:04.985 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 December 2023 13:52:15 +0000 (0:00:02.713) 0:00:07.698 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 December 2023 13:52:16 +0000 (0:00:01.488) 0:00:09.187 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 December 2023 13:52:16 +0000 (0:00:00.029) 0:00:09.216 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 December 2023 13:52:16 +0000 (0:00:00.027) 0:00:09.244 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 16 December 2023 13:52:17 +0000 (0:00:00.027) 0:00:09.271 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 December 2023 13:52:17 +0000 (0:00:00.050) 0:00:09.322 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 16 December 2023 13:52:17 +0000 (0:00:00.028) 0:00:09.351 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 16 December 2023 13:52:17 +0000 (0:00:00.028) 0:00:09.379 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 16 December 2023 13:52:17 +0000 (0:00:00.032) 0:00:09.412 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 16 December 2023 13:52:17 +0000 (0:00:00.047) 0:00:09.460 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 16 December 2023 13:52:17 +0000 (0:00:00.027) 0:00:09.487 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 16 December 2023 13:52:17 +0000 (0:00:00.542) 0:00:10.030 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11320dehkrjuj/tmpma_943u6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 December 2023 13:52:18 +0000 (0:00:00.315) 0:00:10.346 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 16 December 2023 13:52:18 +0000 (0:00:00.418) 0:00:10.764 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 16 December 2023 13:52:18 +0000 (0:00:00.028) 0:00:10.793 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 16 December 2023 13:52:18 +0000 (0:00:00.031) 0:00:10.824 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 16 December 2023 13:52:18 +0000 (0:00:00.029) 0:00:10.853 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 December 2023 13:52:18 +0000 (0:00:00.028) 0:00:10.882 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 December 2023 13:52:18 +0000 (0:00:00.299) 0:00:11.182 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:36 Saturday 16 December 2023 13:52:18 +0000 (0:00:00.028) 0:00:11.210 ***** included: /WORKDIR/git-weekly-civ8d11oti/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-weekly-civ8d11oti/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 16 December 2023 13:52:18 +0000 (0:00:00.043) 0:00:11.253 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 December 2023 13:52:19 +0000 (0:00:00.039) 0:00:11.293 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 December 2023 13:52:19 +0000 (0:00:00.050) 0:00:11.344 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702734738.4687939, "block_size": 4096, "blocks": 8, "ctime": 1702734738.4687939, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702734738.4687939, "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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 December 2023 13:52:19 +0000 (0:00:00.212) 0:00:11.556 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 December 2023 13:52:19 +0000 (0:00:00.029) 0:00:11.586 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020482", "end": "2023-12-16 13:52:19.522195", "rc": 1, "start": "2023-12-16 13:52:19.501713" } 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 December 2023 13:52:19 +0000 (0:00:00.230) 0:00:11.816 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 December 2023 13:52:19 +0000 (0:00:00.027) 0:00:11.844 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003492", "end": "2023-12-16 13:52:19.765784", "rc": 0, "start": "2023-12-16 13:52:19.762292" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 December 2023 13:52:19 +0000 (0:00:00.216) 0:00:12.060 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 December 2023 13:52:19 +0000 (0:00:00.031) 0:00:12.091 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003332", "end": "2023-12-16 13:52:20.015269", "rc": 0, "start": "2023-12-16 13:52:20.011937" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 December 2023 13:52:20 +0000 (0:00:00.218) 0:00:12.310 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 16 December 2023 13:52:20 +0000 (0:00:00.033) 0:00:12.344 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 16 December 2023 13:52:20 +0000 (0:00:00.031) 0:00:12.375 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 16 December 2023 13:52:20 +0000 (0:00:00.029) 0:00:12.405 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:42 Saturday 16 December 2023 13:52:20 +0000 (0:00:00.031) 0:00:12.436 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:47 Saturday 16 December 2023 13:52:20 +0000 (0:00:00.029) 0:00:12.466 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:66 Saturday 16 December 2023 13:52:20 +0000 (0:00:00.028) 0:00:12.494 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 December 2023 13:52:20 +0000 (0:00:00.044) 0:00:12.539 ***** 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.039176", "end": "2023-12-16 13:52:20.493725", "rc": 1, "start": "2023-12-16 13:52:20.454549" } 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-weekly-civ8d11oti/tests/playbooks/tests_states.yml:45 Saturday 16 December 2023 13:52:20 +0000 (0:00:00.250) 0:00:12.789 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:5 Saturday 16 December 2023 13:52:20 +0000 (0:00:00.064) 0:00:12.854 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:9 Saturday 16 December 2023 13:52:20 +0000 (0:00:00.029) 0:00:12.884 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:21 Saturday 16 December 2023 13:52:20 +0000 (0:00:00.055) 0:00:12.939 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 16 December 2023 13:52:20 +0000 (0:00:00.039) 0:00:12.978 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 December 2023 13:52:20 +0000 (0:00:00.039) 0:00:13.018 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003515", "end": "2023-12-16 13:52:20.937733", "rc": 0, "start": "2023-12-16 13:52:20.934218" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 December 2023 13:52:20 +0000 (0:00:00.213) 0:00:13.232 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 16 December 2023 13:52:20 +0000 (0:00:00.031) 0:00:13.264 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:24 Saturday 16 December 2023 13:52:21 +0000 (0:00:00.030) 0:00:13.294 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-weekly-civ8d11oti/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-weekly-civ8d11oti/tests/playbooks/tasks/delete_interface.yml:3 Saturday 16 December 2023 13:52:21 +0000 (0:00:00.045) 0:00:13.339 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006651", "end": "2023-12-16 13:52:21.263057", "rc": 1, "start": "2023-12-16 13:52:21.256406" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 December 2023 13:52:21 +0000 (0:00:00.217) 0:00:13.557 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 December 2023 13:52:21 +0000 (0:00:00.038) 0:00:13.595 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 December 2023 13:52:21 +0000 (0:00:00.233) 0:00:13.829 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:30 Saturday 16 December 2023 13:52:21 +0000 (0:00:00.030) 0:00:13.860 ***** included: /WORKDIR/git-weekly-civ8d11oti/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-weekly-civ8d11oti/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 16 December 2023 13:52:21 +0000 (0:00:00.043) 0:00:13.904 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 December 2023 13:52:21 +0000 (0:00:00.049) 0:00:13.953 ***** included: /WORKDIR/git-weekly-civ8d11oti/.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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:52:21 +0000 (0:00:00.046) 0:00:13.999 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 December 2023 13:52:21 +0000 (0:00:00.032) 0:00:14.032 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 December 2023 13:52:21 +0000 (0:00:00.031) 0:00:14.063 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 December 2023 13:52:21 +0000 (0:00:00.029) 0:00:14.093 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 December 2023 13:52:24 +0000 (0:00:02.620) 0:00:16.713 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 December 2023 13:52:25 +0000 (0:00:01.339) 0:00:18.053 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 December 2023 13:52:25 +0000 (0:00:00.052) 0:00:18.106 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 December 2023 13:52:25 +0000 (0:00:00.029) 0:00:18.135 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 16 December 2023 13:52:25 +0000 (0:00:00.028) 0:00:18.164 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 December 2023 13:52:25 +0000 (0:00:00.051) 0:00:18.215 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 16 December 2023 13:52:25 +0000 (0:00:00.030) 0:00:18.246 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 16 December 2023 13:52:26 +0000 (0:00:00.029) 0:00:18.275 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 16 December 2023 13:52:26 +0000 (0:00:00.033) 0:00:18.309 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 16 December 2023 13:52:26 +0000 (0:00:00.031) 0:00:18.341 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 16 December 2023 13:52:26 +0000 (0:00:00.027) 0:00:18.368 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 16 December 2023 13:52:26 +0000 (0:00:00.382) 0:00:18.751 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11320dehkrjuj/tmp6y82uin7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 December 2023 13:52:26 +0000 (0:00:00.308) 0:00:19.059 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 16 December 2023 13:52:27 +0000 (0:00:00.301) 0:00:19.361 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 16 December 2023 13:52:27 +0000 (0:00:00.029) 0:00:19.390 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 16 December 2023 13:52:27 +0000 (0:00:00.031) 0:00:19.422 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 16 December 2023 13:52:27 +0000 (0:00:00.029) 0:00:19.452 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 December 2023 13:52:27 +0000 (0:00:00.028) 0:00:19.480 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 16 December 2023 13:52:27 +0000 (0:00:00.240) 0:00:19.721 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:36 Saturday 16 December 2023 13:52:27 +0000 (0:00:00.029) 0:00:19.751 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-weekly-civ8d11oti/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-weekly-civ8d11oti/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 December 2023 13:52:27 +0000 (0:00:00.045) 0:00:19.796 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 December 2023 13:52:27 +0000 (0:00:00.038) 0:00:19.835 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 December 2023 13:52:27 +0000 (0:00:00.208) 0:00:20.043 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 16 December 2023 13:52:27 +0000 (0:00:00.029) 0:00:20.072 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 December 2023 13:52:27 +0000 (0:00:00.041) 0:00:20.114 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 December 2023 13:52:27 +0000 (0:00:00.028) 0:00:20.142 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702734747.065963, "block_size": 4096, "blocks": 8, "ctime": 1702734747.065963, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702734747.065963, "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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 December 2023 13:52:28 +0000 (0:00:00.208) 0:00:20.350 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 December 2023 13:52:28 +0000 (0:00:00.029) 0:00:20.380 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019907", "end": "2023-12-16 13:52:28.316017", "rc": 1, "start": "2023-12-16 13:52:28.296110" } 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 December 2023 13:52:28 +0000 (0:00:00.229) 0:00:20.609 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 December 2023 13:52:28 +0000 (0:00:00.029) 0:00:20.639 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003309", "end": "2023-12-16 13:52:28.560850", "rc": 0, "start": "2023-12-16 13:52:28.557541" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 December 2023 13:52:28 +0000 (0:00:00.217) 0:00:20.856 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 December 2023 13:52:28 +0000 (0:00:00.031) 0:00:20.888 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003153", "end": "2023-12-16 13:52:28.809010", "rc": 0, "start": "2023-12-16 13:52:28.805857" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 December 2023 13:52:28 +0000 (0:00:00.237) 0:00:21.126 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 16 December 2023 13:52:28 +0000 (0:00:00.032) 0:00:21.158 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 16 December 2023 13:52:28 +0000 (0:00:00.029) 0:00:21.188 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 16 December 2023 13:52:28 +0000 (0:00:00.030) 0:00:21.218 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:42 Saturday 16 December 2023 13:52:28 +0000 (0:00:00.029) 0:00:21.248 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:47 Saturday 16 December 2023 13:52:29 +0000 (0:00:00.025) 0:00:21.273 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:66 Saturday 16 December 2023 13:52:29 +0000 (0:00:00.029) 0:00:21.302 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 December 2023 13:52:29 +0000 (0:00:00.043) 0:00:21.345 ***** 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.038524", "end": "2023-12-16 13:52:29.300018", "rc": 1, "start": "2023-12-16 13:52:29.261494" } 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-weekly-civ8d11oti/tests/playbooks/tests_states.yml:65 Saturday 16 December 2023 13:52:29 +0000 (0:00:00.248) 0:00:21.594 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:5 Saturday 16 December 2023 13:52:29 +0000 (0:00:00.040) 0:00:21.634 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:9 Saturday 16 December 2023 13:52:29 +0000 (0:00:00.029) 0:00:21.663 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:21 Saturday 16 December 2023 13:52:29 +0000 (0:00:00.052) 0:00:21.716 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 16 December 2023 13:52:29 +0000 (0:00:00.038) 0:00:21.754 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 December 2023 13:52:29 +0000 (0:00:00.064) 0:00:21.818 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003518", "end": "2023-12-16 13:52:29.738722", "rc": 0, "start": "2023-12-16 13:52:29.735204" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 December 2023 13:52:29 +0000 (0:00:00.214) 0:00:22.033 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 16 December 2023 13:52:29 +0000 (0:00:00.029) 0:00:22.063 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:24 Saturday 16 December 2023 13:52:29 +0000 (0:00:00.028) 0:00:22.092 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 December 2023 13:52:29 +0000 (0:00:00.041) 0:00:22.133 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 December 2023 13:52:29 +0000 (0:00:00.047) 0:00:22.180 ***** included: /WORKDIR/git-weekly-civ8d11oti/.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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:52:29 +0000 (0:00:00.045) 0:00:22.226 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 December 2023 13:52:29 +0000 (0:00:00.032) 0:00:22.259 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 December 2023 13:52:30 +0000 (0:00:00.031) 0:00:22.290 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 December 2023 13:52:30 +0000 (0:00:00.029) 0:00:22.320 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 December 2023 13:52:31 +0000 (0:00:01.620) 0:00:23.941 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 December 2023 13:52:33 +0000 (0:00:01.395) 0:00:25.337 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 December 2023 13:52:33 +0000 (0:00:00.031) 0:00:25.368 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 December 2023 13:52:33 +0000 (0:00:00.029) 0:00:25.397 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 16 December 2023 13:52:33 +0000 (0:00:00.029) 0:00:25.427 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 December 2023 13:52:33 +0000 (0:00:00.051) 0:00:25.479 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 16 December 2023 13:52:33 +0000 (0:00:00.031) 0:00:25.510 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 16 December 2023 13:52:33 +0000 (0:00:00.029) 0:00:25.540 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 16 December 2023 13:52:33 +0000 (0:00:00.033) 0:00:25.574 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 16 December 2023 13:52:33 +0000 (0:00:00.031) 0:00:25.605 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 16 December 2023 13:52:33 +0000 (0:00:00.027) 0:00:25.632 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 16 December 2023 13:52:33 +0000 (0:00:00.383) 0:00:26.016 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11320dehkrjuj/tmp8xed0c7g" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 December 2023 13:52:34 +0000 (0:00:00.311) 0:00:26.327 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 16 December 2023 13:52:34 +0000 (0:00:00.302) 0:00:26.629 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 16 December 2023 13:52:34 +0000 (0:00:00.029) 0:00:26.659 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 16 December 2023 13:52:34 +0000 (0:00:00.031) 0:00:26.690 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 16 December 2023 13:52:34 +0000 (0:00:00.055) 0:00:26.745 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 December 2023 13:52:34 +0000 (0:00:00.030) 0:00:26.776 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 December 2023 13:52:34 +0000 (0:00:00.217) 0:00:26.993 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:30 Saturday 16 December 2023 13:52:34 +0000 (0:00:00.029) 0:00:27.022 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/activate_profile.yml:3 Saturday 16 December 2023 13:52:34 +0000 (0:00:00.041) 0:00:27.064 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 December 2023 13:52:34 +0000 (0:00:00.047) 0:00:27.111 ***** included: /WORKDIR/git-weekly-civ8d11oti/.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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:52:34 +0000 (0:00:00.045) 0:00:27.156 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 December 2023 13:52:34 +0000 (0:00:00.032) 0:00:27.189 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 December 2023 13:52:34 +0000 (0:00:00.029) 0:00:27.219 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 December 2023 13:52:34 +0000 (0:00:00.029) 0:00:27.248 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 December 2023 13:52:36 +0000 (0:00:01.626) 0:00:28.875 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 December 2023 13:52:38 +0000 (0:00:01.393) 0:00:30.268 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 December 2023 13:52:38 +0000 (0:00:00.030) 0:00:30.299 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 December 2023 13:52:38 +0000 (0:00:00.031) 0:00:30.331 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 16 December 2023 13:52:38 +0000 (0:00:00.029) 0:00:30.361 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 December 2023 13:52:38 +0000 (0:00:00.051) 0:00:30.412 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 16 December 2023 13:52:38 +0000 (0:00:00.031) 0:00:30.444 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 16 December 2023 13:52:38 +0000 (0:00:00.030) 0:00:30.474 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 16 December 2023 13:52:38 +0000 (0:00:00.033) 0:00:30.507 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 16 December 2023 13:52:38 +0000 (0:00:00.031) 0:00:30.538 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 16 December 2023 13:52:38 +0000 (0:00:00.027) 0:00:30.566 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 16 December 2023 13:52:38 +0000 (0:00:00.382) 0:00:30.949 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11320dehkrjuj/tmp58q90gbj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 December 2023 13:52:38 +0000 (0:00:00.307) 0:00:31.257 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 16 December 2023 13:52:39 +0000 (0:00:00.577) 0:00:31.834 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 16 December 2023 13:52:39 +0000 (0:00:00.029) 0:00:31.864 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 16 December 2023 13:52:39 +0000 (0:00:00.030) 0:00:31.895 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 16 December 2023 13:52:39 +0000 (0:00:00.057) 0:00:31.952 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 December 2023 13:52:39 +0000 (0:00:00.030) 0:00:31.982 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:36 Saturday 16 December 2023 13:52:39 +0000 (0:00:00.219) 0:00:32.202 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-weekly-civ8d11oti/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-weekly-civ8d11oti/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 16 December 2023 13:52:39 +0000 (0:00:00.045) 0:00:32.248 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 December 2023 13:52:40 +0000 (0:00:00.038) 0:00:32.287 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702734759.4419417, "block_size": 4096, "blocks": 0, "ctime": 1702734759.4419417, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35017, "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": 1702734759.4419417, "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-weekly-civ8d11oti/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 16 December 2023 13:52:40 +0000 (0:00:00.211) 0:00:32.498 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 16 December 2023 13:52:40 +0000 (0:00:00.029) 0:00:32.527 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 December 2023 13:52:40 +0000 (0:00:00.039) 0:00:32.567 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 December 2023 13:52:40 +0000 (0:00:00.028) 0:00:32.596 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702734759.262203, "block_size": 4096, "blocks": 8, "ctime": 1702734754.334106, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1702734754.334106, "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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 December 2023 13:52:40 +0000 (0:00:00.209) 0:00:32.806 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 December 2023 13:52:40 +0000 (0:00:00.029) 0:00:32.835 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020378", "end": "2023-12-16 13:52:40.771495", "rc": 1, "start": "2023-12-16 13:52:40.751117" } 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 December 2023 13:52:40 +0000 (0:00:00.229) 0:00:33.065 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 December 2023 13:52:40 +0000 (0:00:00.027) 0:00:33.093 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003398", "end": "2023-12-16 13:52:41.012927", "rc": 0, "start": "2023-12-16 13:52:41.009529" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 December 2023 13:52:41 +0000 (0:00:00.242) 0:00:33.335 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 December 2023 13:52:41 +0000 (0:00:00.033) 0:00:33.368 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003440", "end": "2023-12-16 13:52:41.289744", "rc": 0, "start": "2023-12-16 13:52:41.286304" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 December 2023 13:52:41 +0000 (0:00:00.215) 0:00:33.584 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 16 December 2023 13:52:41 +0000 (0:00:00.032) 0:00:33.617 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 16 December 2023 13:52:41 +0000 (0:00:00.030) 0:00:33.647 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 16 December 2023 13:52:41 +0000 (0:00:00.029) 0:00:33.677 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:42 Saturday 16 December 2023 13:52:41 +0000 (0:00:00.029) 0:00:33.707 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:47 Saturday 16 December 2023 13:52:41 +0000 (0:00:00.025) 0:00:33.732 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:66 Saturday 16 December 2023 13:52:41 +0000 (0:00:00.030) 0:00:33.762 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 December 2023 13:52:41 +0000 (0:00:00.043) 0:00:33.806 ***** 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.044471", "end": "2023-12-16 13:52:41.766945", "rc": 0, "start": "2023-12-16 13:52:41.722474" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tests_states.yml:83 Saturday 16 December 2023 13:52:41 +0000 (0:00:00.257) 0:00:34.063 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:5 Saturday 16 December 2023 13:52:41 +0000 (0:00:00.040) 0:00:34.104 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:9 Saturday 16 December 2023 13:52:41 +0000 (0:00:00.028) 0:00:34.133 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:21 Saturday 16 December 2023 13:52:41 +0000 (0:00:00.054) 0:00:34.187 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 16 December 2023 13:52:41 +0000 (0:00:00.064) 0:00:34.251 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 December 2023 13:52:42 +0000 (0:00:00.038) 0:00:34.290 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003577", "end": "2023-12-16 13:52:42.210985", "rc": 0, "start": "2023-12-16 13:52:42.207408" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 December 2023 13:52:42 +0000 (0:00:00.215) 0:00:34.506 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 16 December 2023 13:52:42 +0000 (0:00:00.029) 0:00:34.535 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:24 Saturday 16 December 2023 13:52:42 +0000 (0:00:00.027) 0:00:34.563 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 December 2023 13:52:42 +0000 (0:00:00.045) 0:00:34.608 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 December 2023 13:52:42 +0000 (0:00:00.047) 0:00:34.656 ***** included: /WORKDIR/git-weekly-civ8d11oti/.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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:52:42 +0000 (0:00:00.045) 0:00:34.701 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 December 2023 13:52:42 +0000 (0:00:00.032) 0:00:34.734 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 December 2023 13:52:42 +0000 (0:00:00.029) 0:00:34.764 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 December 2023 13:52:42 +0000 (0:00:00.029) 0:00:34.794 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 December 2023 13:52:44 +0000 (0:00:01.652) 0:00:36.447 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 December 2023 13:52:45 +0000 (0:00:01.343) 0:00:37.790 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 December 2023 13:52:45 +0000 (0:00:00.031) 0:00:37.822 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 December 2023 13:52:45 +0000 (0:00:00.029) 0:00:37.851 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 16 December 2023 13:52:45 +0000 (0:00:00.031) 0:00:37.882 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 December 2023 13:52:45 +0000 (0:00:00.052) 0:00:37.935 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 16 December 2023 13:52:45 +0000 (0:00:00.029) 0:00:37.964 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 16 December 2023 13:52:45 +0000 (0:00:00.032) 0:00:37.997 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 16 December 2023 13:52:45 +0000 (0:00:00.034) 0:00:38.031 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 16 December 2023 13:52:45 +0000 (0:00:00.029) 0:00:38.061 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 16 December 2023 13:52:45 +0000 (0:00:00.027) 0:00:38.088 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 16 December 2023 13:52:46 +0000 (0:00:00.381) 0:00:38.470 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11320dehkrjuj/tmp5dp8pzsn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 December 2023 13:52:46 +0000 (0:00:00.307) 0:00:38.778 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 16 December 2023 13:52:46 +0000 (0:00:00.332) 0:00:39.110 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 16 December 2023 13:52:46 +0000 (0:00:00.058) 0:00:39.169 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 16 December 2023 13:52:46 +0000 (0:00:00.030) 0:00:39.200 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 16 December 2023 13:52:46 +0000 (0:00:00.031) 0:00:39.231 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 December 2023 13:52:46 +0000 (0:00:00.030) 0:00:39.262 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 December 2023 13:52:47 +0000 (0:00:00.217) 0:00:39.480 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/activate_profile.yml:3 Saturday 16 December 2023 13:52:47 +0000 (0:00:00.030) 0:00:39.510 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 December 2023 13:52:47 +0000 (0:00:00.046) 0:00:39.556 ***** included: /WORKDIR/git-weekly-civ8d11oti/.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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:52:47 +0000 (0:00:00.045) 0:00:39.602 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 December 2023 13:52:47 +0000 (0:00:00.034) 0:00:39.637 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 December 2023 13:52:47 +0000 (0:00:00.030) 0:00:39.667 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 December 2023 13:52:47 +0000 (0:00:00.029) 0:00:39.697 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 December 2023 13:52:49 +0000 (0:00:01.630) 0:00:41.328 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 December 2023 13:52:50 +0000 (0:00:01.402) 0:00:42.730 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 December 2023 13:52:50 +0000 (0:00:00.030) 0:00:42.761 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 December 2023 13:52:50 +0000 (0:00:00.029) 0:00:42.790 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 16 December 2023 13:52:50 +0000 (0:00:00.030) 0:00:42.821 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 December 2023 13:52:50 +0000 (0:00:00.051) 0:00:42.872 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 16 December 2023 13:52:50 +0000 (0:00:00.030) 0:00:42.902 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 16 December 2023 13:52:50 +0000 (0:00:00.029) 0:00:42.931 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 16 December 2023 13:52:50 +0000 (0:00:00.035) 0:00:42.967 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 16 December 2023 13:52:50 +0000 (0:00:00.030) 0:00:42.997 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 16 December 2023 13:52:50 +0000 (0:00:00.027) 0:00:43.024 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 16 December 2023 13:52:51 +0000 (0:00:00.384) 0:00:43.409 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11320dehkrjuj/tmpd7ebgttc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 December 2023 13:52:51 +0000 (0:00:00.308) 0:00:43.718 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 16 December 2023 13:52:52 +0000 (0:00:00.575) 0:00:44.293 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 16 December 2023 13:52:52 +0000 (0:00:00.032) 0:00:44.325 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 16 December 2023 13:52:52 +0000 (0:00:00.031) 0:00:44.356 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 16 December 2023 13:52:52 +0000 (0:00:00.030) 0:00:44.387 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 December 2023 13:52:52 +0000 (0:00:00.091) 0:00:44.478 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:30 Saturday 16 December 2023 13:52:52 +0000 (0:00:00.217) 0:00:44.695 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/remove_profile.yml:3 Saturday 16 December 2023 13:52:52 +0000 (0:00:00.043) 0:00:44.738 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 December 2023 13:52:52 +0000 (0:00:00.047) 0:00:44.786 ***** included: /WORKDIR/git-weekly-civ8d11oti/.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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:52:52 +0000 (0:00:00.046) 0:00:44.832 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 December 2023 13:52:52 +0000 (0:00:00.032) 0:00:44.865 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 December 2023 13:52:52 +0000 (0:00:00.030) 0:00:44.895 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 December 2023 13:52:52 +0000 (0:00:00.029) 0:00:44.925 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 December 2023 13:52:54 +0000 (0:00:01.635) 0:00:46.560 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 December 2023 13:52:55 +0000 (0:00:01.401) 0:00:47.962 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 December 2023 13:52:55 +0000 (0:00:00.031) 0:00:47.993 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 December 2023 13:52:55 +0000 (0:00:00.032) 0:00:48.026 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 16 December 2023 13:52:55 +0000 (0:00:00.030) 0:00:48.056 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 December 2023 13:52:55 +0000 (0:00:00.051) 0:00:48.108 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 16 December 2023 13:52:55 +0000 (0:00:00.031) 0:00:48.140 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 16 December 2023 13:52:55 +0000 (0:00:00.030) 0:00:48.170 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 16 December 2023 13:52:55 +0000 (0:00:00.033) 0:00:48.204 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 16 December 2023 13:52:55 +0000 (0:00:00.032) 0:00:48.236 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 16 December 2023 13:52:55 +0000 (0:00:00.027) 0:00:48.264 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 16 December 2023 13:52:56 +0000 (0:00:00.382) 0:00:48.647 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11320dehkrjuj/tmpeku61puc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 December 2023 13:52:56 +0000 (0:00:00.309) 0:00:48.956 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 16 December 2023 13:52:56 +0000 (0:00:00.309) 0:00:49.266 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 16 December 2023 13:52:57 +0000 (0:00:00.030) 0:00:49.296 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 16 December 2023 13:52:57 +0000 (0:00:00.033) 0:00:49.329 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 16 December 2023 13:52:57 +0000 (0:00:00.031) 0:00:49.360 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 December 2023 13:52:57 +0000 (0:00:00.028) 0:00:49.389 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:36 Saturday 16 December 2023 13:52:57 +0000 (0:00:00.247) 0:00:49.637 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-weekly-civ8d11oti/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-weekly-civ8d11oti/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 16 December 2023 13:52:57 +0000 (0:00:00.047) 0:00:49.684 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 December 2023 13:52:57 +0000 (0:00:00.039) 0:00:49.724 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702734771.907266, "block_size": 4096, "blocks": 0, "ctime": 1702734771.907266, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35148, "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": 1702734771.907266, "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-weekly-civ8d11oti/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 16 December 2023 13:52:57 +0000 (0:00:00.212) 0:00:49.936 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 16 December 2023 13:52:57 +0000 (0:00:00.030) 0:00:49.966 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 December 2023 13:52:57 +0000 (0:00:00.040) 0:00:50.007 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 December 2023 13:52:57 +0000 (0:00:00.029) 0:00:50.037 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 December 2023 13:52:57 +0000 (0:00:00.208) 0:00:50.246 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 December 2023 13:52:58 +0000 (0:00:00.026) 0:00:50.273 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020833", "end": "2023-12-16 13:52:58.209123", "rc": 1, "start": "2023-12-16 13:52:58.188290" } 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 December 2023 13:52:58 +0000 (0:00:00.230) 0:00:50.503 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 December 2023 13:52:58 +0000 (0:00:00.028) 0:00:50.532 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 December 2023 13:52:58 +0000 (0:00:00.029) 0:00:50.561 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 December 2023 13:52:58 +0000 (0:00:00.055) 0:00:50.617 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 December 2023 13:52:58 +0000 (0:00:00.028) 0:00:50.645 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 16 December 2023 13:52:58 +0000 (0:00:00.028) 0:00:50.673 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:42 Saturday 16 December 2023 13:52:58 +0000 (0:00:00.030) 0:00:50.703 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:47 Saturday 16 December 2023 13:52:58 +0000 (0:00:00.025) 0:00:50.729 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:66 Saturday 16 December 2023 13:52:58 +0000 (0:00:00.028) 0:00:50.757 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 December 2023 13:52:58 +0000 (0:00:00.043) 0:00:50.801 ***** 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.045400", "end": "2023-12-16 13:52:58.762956", "rc": 0, "start": "2023-12-16 13:52:58.717556" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tests_states.yml:102 Saturday 16 December 2023 13:52:58 +0000 (0:00:00.259) 0:00:51.060 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:5 Saturday 16 December 2023 13:52:58 +0000 (0:00:00.041) 0:00:51.101 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:9 Saturday 16 December 2023 13:52:58 +0000 (0:00:00.029) 0:00:51.131 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:21 Saturday 16 December 2023 13:52:58 +0000 (0:00:00.052) 0:00:51.184 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 16 December 2023 13:52:58 +0000 (0:00:00.039) 0:00:51.223 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 December 2023 13:52:58 +0000 (0:00:00.038) 0:00:51.261 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003594", "end": "2023-12-16 13:52:59.181487", "rc": 0, "start": "2023-12-16 13:52:59.177893" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 December 2023 13:52:59 +0000 (0:00:00.242) 0:00:51.504 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 16 December 2023 13:52:59 +0000 (0:00:00.030) 0:00:51.534 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:24 Saturday 16 December 2023 13:52:59 +0000 (0:00:00.028) 0:00:51.563 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 December 2023 13:52:59 +0000 (0:00:00.049) 0:00:51.613 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 December 2023 13:52:59 +0000 (0:00:00.048) 0:00:51.661 ***** included: /WORKDIR/git-weekly-civ8d11oti/.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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:52:59 +0000 (0:00:00.045) 0:00:51.707 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 December 2023 13:52:59 +0000 (0:00:00.032) 0:00:51.740 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 December 2023 13:52:59 +0000 (0:00:00.031) 0:00:51.772 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 December 2023 13:52:59 +0000 (0:00:00.030) 0:00:51.802 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 December 2023 13:53:01 +0000 (0:00:01.641) 0:00:53.443 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 December 2023 13:53:02 +0000 (0:00:01.403) 0:00:54.847 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 December 2023 13:53:02 +0000 (0:00:00.031) 0:00:54.878 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 December 2023 13:53:02 +0000 (0:00:00.029) 0:00:54.908 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 16 December 2023 13:53:02 +0000 (0:00:00.030) 0:00:54.938 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 December 2023 13:53:02 +0000 (0:00:00.052) 0:00:54.991 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 16 December 2023 13:53:02 +0000 (0:00:00.032) 0:00:55.024 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 16 December 2023 13:53:02 +0000 (0:00:00.030) 0:00:55.055 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 16 December 2023 13:53:02 +0000 (0:00:00.034) 0:00:55.089 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 16 December 2023 13:53:02 +0000 (0:00:00.032) 0:00:55.121 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 16 December 2023 13:53:02 +0000 (0:00:00.027) 0:00:55.149 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 16 December 2023 13:53:03 +0000 (0:00:00.384) 0:00:55.533 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11320dehkrjuj/tmpzt70o9mw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 December 2023 13:53:03 +0000 (0:00:00.309) 0:00:55.842 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 16 December 2023 13:53:03 +0000 (0:00:00.301) 0:00:56.144 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 16 December 2023 13:53:03 +0000 (0:00:00.029) 0:00:56.174 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 16 December 2023 13:53:03 +0000 (0:00:00.031) 0:00:56.206 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 16 December 2023 13:53:03 +0000 (0:00:00.030) 0:00:56.236 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 December 2023 13:53:03 +0000 (0:00:00.028) 0:00:56.265 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 December 2023 13:53:04 +0000 (0:00:00.247) 0:00:56.512 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/activate_profile.yml:3 Saturday 16 December 2023 13:53:04 +0000 (0:00:00.030) 0:00:56.543 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 December 2023 13:53:04 +0000 (0:00:00.048) 0:00:56.591 ***** included: /WORKDIR/git-weekly-civ8d11oti/.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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:53:04 +0000 (0:00:00.046) 0:00:56.637 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 December 2023 13:53:04 +0000 (0:00:00.034) 0:00:56.672 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 December 2023 13:53:04 +0000 (0:00:00.030) 0:00:56.702 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 December 2023 13:53:04 +0000 (0:00:00.028) 0:00:56.731 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 December 2023 13:53:06 +0000 (0:00:01.634) 0:00:58.365 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 December 2023 13:53:07 +0000 (0:00:01.344) 0:00:59.710 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 December 2023 13:53:07 +0000 (0:00:00.029) 0:00:59.739 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 December 2023 13:53:07 +0000 (0:00:00.058) 0:00:59.798 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 16 December 2023 13:53:07 +0000 (0:00:00.030) 0:00:59.829 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 December 2023 13:53:07 +0000 (0:00:00.054) 0:00:59.883 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 16 December 2023 13:53:07 +0000 (0:00:00.030) 0:00:59.914 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 16 December 2023 13:53:07 +0000 (0:00:00.029) 0:00:59.944 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 16 December 2023 13:53:07 +0000 (0:00:00.036) 0:00:59.980 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 16 December 2023 13:53:07 +0000 (0:00:00.031) 0:01:00.011 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 16 December 2023 13:53:07 +0000 (0:00:00.027) 0:01:00.039 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 16 December 2023 13:53:08 +0000 (0:00:00.383) 0:01:00.422 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11320dehkrjuj/tmpj5ipeh7k" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 December 2023 13:53:08 +0000 (0:00:00.307) 0:01:00.730 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 16 December 2023 13:53:09 +0000 (0:00:00.570) 0:01:01.300 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 16 December 2023 13:53:09 +0000 (0:00:00.032) 0:01:01.333 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 16 December 2023 13:53:09 +0000 (0:00:00.030) 0:01:01.363 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 16 December 2023 13:53:09 +0000 (0:00:00.030) 0:01:01.393 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 December 2023 13:53:09 +0000 (0:00:00.030) 0:01:01.424 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/remove_profile.yml:3 Saturday 16 December 2023 13:53:09 +0000 (0:00:00.216) 0:01:01.640 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 December 2023 13:53:09 +0000 (0:00:00.077) 0:01:01.718 ***** included: /WORKDIR/git-weekly-civ8d11oti/.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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:53:09 +0000 (0:00:00.046) 0:01:01.764 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 December 2023 13:53:09 +0000 (0:00:00.034) 0:01:01.799 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 December 2023 13:53:09 +0000 (0:00:00.030) 0:01:01.830 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 December 2023 13:53:09 +0000 (0:00:00.029) 0:01:01.860 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 December 2023 13:53:11 +0000 (0:00:01.658) 0:01:03.518 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 December 2023 13:53:12 +0000 (0:00:01.340) 0:01:04.858 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 December 2023 13:53:12 +0000 (0:00:00.030) 0:01:04.889 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 December 2023 13:53:12 +0000 (0:00:00.030) 0:01:04.919 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 16 December 2023 13:53:12 +0000 (0:00:00.030) 0:01:04.950 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 December 2023 13:53:12 +0000 (0:00:00.052) 0:01:05.002 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 16 December 2023 13:53:12 +0000 (0:00:00.059) 0:01:05.062 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 16 December 2023 13:53:12 +0000 (0:00:00.030) 0:01:05.092 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 16 December 2023 13:53:12 +0000 (0:00:00.036) 0:01:05.128 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 16 December 2023 13:53:12 +0000 (0:00:00.030) 0:01:05.159 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 16 December 2023 13:53:12 +0000 (0:00:00.027) 0:01:05.186 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 16 December 2023 13:53:13 +0000 (0:00:00.386) 0:01:05.573 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11320dehkrjuj/tmp8zzu1mml" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 December 2023 13:53:13 +0000 (0:00:00.308) 0:01:05.881 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 16 December 2023 13:53:13 +0000 (0:00:00.309) 0:01:06.191 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 16 December 2023 13:53:13 +0000 (0:00:00.032) 0:01:06.223 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 16 December 2023 13:53:13 +0000 (0:00:00.031) 0:01:06.254 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 16 December 2023 13:53:14 +0000 (0:00:00.030) 0:01:06.284 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 December 2023 13:53:14 +0000 (0:00:00.031) 0:01:06.316 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:30 Saturday 16 December 2023 13:53:14 +0000 (0:00:00.217) 0:01:06.534 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 16 December 2023 13:53:14 +0000 (0:00:00.045) 0:01:06.579 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 December 2023 13:53:14 +0000 (0:00:00.075) 0:01:06.655 ***** included: /WORKDIR/git-weekly-civ8d11oti/.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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:53:14 +0000 (0:00:00.046) 0:01:06.701 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 December 2023 13:53:14 +0000 (0:00:00.032) 0:01:06.734 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 December 2023 13:53:14 +0000 (0:00:00.031) 0:01:06.766 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 December 2023 13:53:14 +0000 (0:00:00.030) 0:01:06.796 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 December 2023 13:53:16 +0000 (0:00:01.631) 0:01:08.427 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 December 2023 13:53:17 +0000 (0:00:01.343) 0:01:09.771 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 December 2023 13:53:17 +0000 (0:00:00.031) 0:01:09.802 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 December 2023 13:53:17 +0000 (0:00:00.029) 0:01:09.832 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 16 December 2023 13:53:17 +0000 (0:00:00.029) 0:01:09.862 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 December 2023 13:53:17 +0000 (0:00:00.052) 0:01:09.914 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 16 December 2023 13:53:17 +0000 (0:00:00.029) 0:01:09.944 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 16 December 2023 13:53:17 +0000 (0:00:00.061) 0:01:10.005 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 16 December 2023 13:53:17 +0000 (0:00:00.035) 0:01:10.041 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 16 December 2023 13:53:17 +0000 (0:00:00.033) 0:01:10.074 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 16 December 2023 13:53:17 +0000 (0:00:00.028) 0:01:10.102 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 16 December 2023 13:53:18 +0000 (0:00:00.388) 0:01:10.491 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11320dehkrjuj/tmppc_jf8cv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 December 2023 13:53:18 +0000 (0:00:00.310) 0:01:10.801 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 16 December 2023 13:53:18 +0000 (0:00:00.301) 0:01:11.103 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 16 December 2023 13:53:18 +0000 (0:00:00.030) 0:01:11.134 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 16 December 2023 13:53:18 +0000 (0:00:00.032) 0:01:11.166 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 16 December 2023 13:53:18 +0000 (0:00:00.031) 0:01:11.197 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 December 2023 13:53:18 +0000 (0:00:00.029) 0:01:11.226 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:36 Saturday 16 December 2023 13:53:19 +0000 (0:00:00.220) 0:01:11.447 ***** included: /WORKDIR/git-weekly-civ8d11oti/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-weekly-civ8d11oti/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 16 December 2023 13:53:19 +0000 (0:00:00.042) 0:01:11.489 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 December 2023 13:53:19 +0000 (0:00:00.040) 0:01:11.529 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 December 2023 13:53:19 +0000 (0:00:00.093) 0:01:11.623 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 December 2023 13:53:19 +0000 (0:00:00.210) 0:01:11.834 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 December 2023 13:53:19 +0000 (0:00:00.028) 0:01:11.862 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020583", "end": "2023-12-16 13:53:19.800337", "rc": 1, "start": "2023-12-16 13:53:19.779754" } 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 December 2023 13:53:19 +0000 (0:00:00.232) 0:01:12.095 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 December 2023 13:53:19 +0000 (0:00:00.029) 0:01:12.125 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 December 2023 13:53:19 +0000 (0:00:00.027) 0:01:12.152 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 December 2023 13:53:19 +0000 (0:00:00.029) 0:01:12.182 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 December 2023 13:53:19 +0000 (0:00:00.028) 0:01:12.210 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 16 December 2023 13:53:19 +0000 (0:00:00.027) 0:01:12.238 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:42 Saturday 16 December 2023 13:53:20 +0000 (0:00:00.032) 0:01:12.270 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:47 Saturday 16 December 2023 13:53:20 +0000 (0:00:00.031) 0:01:12.302 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:66 Saturday 16 December 2023 13:53:20 +0000 (0:00:00.029) 0:01:12.331 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 December 2023 13:53:20 +0000 (0:00:00.045) 0:01:12.377 ***** 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.046079", "end": "2023-12-16 13:53:20.339986", "rc": 0, "start": "2023-12-16 13:53:20.293907" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tests_states.yml:124 Saturday 16 December 2023 13:53:20 +0000 (0:00:00.259) 0:01:12.636 ***** included: /WORKDIR/git-weekly-civ8d11oti/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-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:5 Saturday 16 December 2023 13:53:20 +0000 (0:00:00.070) 0:01:12.706 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:9 Saturday 16 December 2023 13:53:20 +0000 (0:00:00.029) 0:01:12.736 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:21 Saturday 16 December 2023 13:53:20 +0000 (0:00:00.054) 0:01:12.791 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 16 December 2023 13:53:20 +0000 (0:00:00.039) 0:01:12.831 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 December 2023 13:53:20 +0000 (0:00:00.038) 0:01:12.870 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003485", "end": "2023-12-16 13:53:20.788267", "rc": 0, "start": "2023-12-16 13:53:20.784782" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 December 2023 13:53:20 +0000 (0:00:00.212) 0:01:13.082 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 16 December 2023 13:53:20 +0000 (0:00:00.031) 0:01:13.114 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:24 Saturday 16 December 2023 13:53:20 +0000 (0:00:00.029) 0:01:13.144 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 December 2023 13:53:20 +0000 (0:00:00.048) 0:01:13.192 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 December 2023 13:53:20 +0000 (0:00:00.047) 0:01:13.239 ***** included: /WORKDIR/git-weekly-civ8d11oti/.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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:53:21 +0000 (0:00:00.045) 0:01:13.285 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 December 2023 13:53:21 +0000 (0:00:00.063) 0:01:13.349 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 December 2023 13:53:21 +0000 (0:00:00.030) 0:01:13.379 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 December 2023 13:53:21 +0000 (0:00:00.032) 0:01:13.412 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 December 2023 13:53:22 +0000 (0:00:01.632) 0:01:15.045 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 December 2023 13:53:24 +0000 (0:00:01.344) 0:01:16.390 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 December 2023 13:53:24 +0000 (0:00:00.031) 0:01:16.421 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 December 2023 13:53:24 +0000 (0:00:00.031) 0:01:16.452 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 16 December 2023 13:53:24 +0000 (0:00:00.030) 0:01:16.483 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 December 2023 13:53:24 +0000 (0:00:00.053) 0:01:16.536 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 16 December 2023 13:53:24 +0000 (0:00:00.031) 0:01:16.567 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 16 December 2023 13:53:24 +0000 (0:00:00.029) 0:01:16.597 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 16 December 2023 13:53:24 +0000 (0:00:00.034) 0:01:16.632 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 16 December 2023 13:53:24 +0000 (0:00:00.029) 0:01:16.661 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 16 December 2023 13:53:24 +0000 (0:00:00.029) 0:01:16.691 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 16 December 2023 13:53:24 +0000 (0:00:00.417) 0:01:17.108 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11320dehkrjuj/tmpvoguum35" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 December 2023 13:53:25 +0000 (0:00:00.308) 0:01:17.417 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 16 December 2023 13:53:25 +0000 (0:00:00.302) 0:01:17.719 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 16 December 2023 13:53:25 +0000 (0:00:00.031) 0:01:17.750 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 16 December 2023 13:53:25 +0000 (0:00:00.030) 0:01:17.780 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 16 December 2023 13:53:25 +0000 (0:00:00.032) 0:01:17.813 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 December 2023 13:53:25 +0000 (0:00:00.031) 0:01:17.844 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 December 2023 13:53:25 +0000 (0:00:00.217) 0:01:18.061 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/activate_profile.yml:3 Saturday 16 December 2023 13:53:25 +0000 (0:00:00.031) 0:01:18.093 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 December 2023 13:53:25 +0000 (0:00:00.047) 0:01:18.140 ***** included: /WORKDIR/git-weekly-civ8d11oti/.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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:53:25 +0000 (0:00:00.046) 0:01:18.187 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 December 2023 13:53:25 +0000 (0:00:00.032) 0:01:18.219 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 December 2023 13:53:25 +0000 (0:00:00.029) 0:01:18.249 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 December 2023 13:53:26 +0000 (0:00:00.030) 0:01:18.280 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 December 2023 13:53:27 +0000 (0:00:01.708) 0:01:19.989 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 December 2023 13:53:29 +0000 (0:00:01.341) 0:01:21.331 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 December 2023 13:53:29 +0000 (0:00:00.030) 0:01:21.362 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 December 2023 13:53:29 +0000 (0:00:00.032) 0:01:21.394 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 16 December 2023 13:53:29 +0000 (0:00:00.030) 0:01:21.425 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 December 2023 13:53:29 +0000 (0:00:00.052) 0:01:21.477 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 16 December 2023 13:53:29 +0000 (0:00:00.032) 0:01:21.509 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 16 December 2023 13:53:29 +0000 (0:00:00.030) 0:01:21.540 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 16 December 2023 13:53:29 +0000 (0:00:00.033) 0:01:21.573 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 16 December 2023 13:53:29 +0000 (0:00:00.032) 0:01:21.606 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 16 December 2023 13:53:29 +0000 (0:00:00.028) 0:01:21.634 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 16 December 2023 13:53:29 +0000 (0:00:00.382) 0:01:22.016 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11320dehkrjuj/tmpgo7y9adg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 December 2023 13:53:30 +0000 (0:00:00.309) 0:01:22.326 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 16 December 2023 13:53:30 +0000 (0:00:00.643) 0:01:22.969 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 16 December 2023 13:53:30 +0000 (0:00:00.031) 0:01:23.001 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 16 December 2023 13:53:30 +0000 (0:00:00.031) 0:01:23.032 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 16 December 2023 13:53:30 +0000 (0:00:00.031) 0:01:23.064 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 December 2023 13:53:30 +0000 (0:00:00.029) 0:01:23.094 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 16 December 2023 13:53:31 +0000 (0:00:00.219) 0:01:23.313 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 December 2023 13:53:31 +0000 (0:00:00.051) 0:01:23.364 ***** included: /WORKDIR/git-weekly-civ8d11oti/.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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:53:31 +0000 (0:00:00.047) 0:01:23.412 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 December 2023 13:53:31 +0000 (0:00:00.034) 0:01:23.446 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 December 2023 13:53:31 +0000 (0:00:00.031) 0:01:23.478 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 December 2023 13:53:31 +0000 (0:00:00.029) 0:01:23.507 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 December 2023 13:53:32 +0000 (0:00:01.625) 0:01:25.132 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 December 2023 13:53:34 +0000 (0:00:01.448) 0:01:26.581 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 December 2023 13:53:34 +0000 (0:00:00.032) 0:01:26.614 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 December 2023 13:53:34 +0000 (0:00:00.032) 0:01:26.646 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 16 December 2023 13:53:34 +0000 (0:00:00.032) 0:01:26.679 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 December 2023 13:53:34 +0000 (0:00:00.056) 0:01:26.735 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 16 December 2023 13:53:34 +0000 (0:00:00.036) 0:01:26.771 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 16 December 2023 13:53:34 +0000 (0:00:00.044) 0:01:26.816 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 16 December 2023 13:53:34 +0000 (0:00:00.054) 0:01:26.870 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 16 December 2023 13:53:34 +0000 (0:00:00.035) 0:01:26.906 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 16 December 2023 13:53:34 +0000 (0:00:00.030) 0:01:26.936 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 16 December 2023 13:53:35 +0000 (0:00:00.405) 0:01:27.341 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11320dehkrjuj/tmpjdfqsbkq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 December 2023 13:53:35 +0000 (0:00:00.430) 0:01:27.771 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 16 December 2023 13:53:35 +0000 (0:00:00.326) 0:01:28.098 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 16 December 2023 13:53:35 +0000 (0:00:00.033) 0:01:28.132 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 16 December 2023 13:53:35 +0000 (0:00:00.032) 0:01:28.165 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 16 December 2023 13:53:35 +0000 (0:00:00.032) 0:01:28.197 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 December 2023 13:53:36 +0000 (0:00:00.112) 0:01:28.310 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:30 Saturday 16 December 2023 13:53:36 +0000 (0:00:00.222) 0:01:28.532 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 16 December 2023 13:53:36 +0000 (0:00:00.059) 0:01:28.591 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 December 2023 13:53:36 +0000 (0:00:00.052) 0:01:28.644 ***** included: /WORKDIR/git-weekly-civ8d11oti/.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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:53:36 +0000 (0:00:00.050) 0:01:28.694 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 December 2023 13:53:36 +0000 (0:00:00.035) 0:01:28.729 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 December 2023 13:53:36 +0000 (0:00:00.030) 0:01:28.759 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 December 2023 13:53:36 +0000 (0:00:00.030) 0:01:28.790 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 December 2023 13:53:38 +0000 (0:00:01.625) 0:01:30.415 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 December 2023 13:53:39 +0000 (0:00:01.441) 0:01:31.857 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 December 2023 13:53:39 +0000 (0:00:00.041) 0:01:31.898 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 December 2023 13:53:39 +0000 (0:00:00.034) 0:01:31.933 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 16 December 2023 13:53:39 +0000 (0:00:00.050) 0:01:31.983 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 December 2023 13:53:39 +0000 (0:00:00.057) 0:01:32.040 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 16 December 2023 13:53:39 +0000 (0:00:00.035) 0:01:32.076 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 16 December 2023 13:53:39 +0000 (0:00:00.032) 0:01:32.108 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 16 December 2023 13:53:39 +0000 (0:00:00.036) 0:01:32.145 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 16 December 2023 13:53:39 +0000 (0:00:00.034) 0:01:32.179 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 16 December 2023 13:53:39 +0000 (0:00:00.029) 0:01:32.209 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 16 December 2023 13:53:40 +0000 (0:00:00.388) 0:01:32.597 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11320dehkrjuj/tmp6lhvoxs4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 December 2023 13:53:40 +0000 (0:00:00.376) 0:01:32.973 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 16 December 2023 13:53:41 +0000 (0:00:00.313) 0:01:33.287 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 16 December 2023 13:53:41 +0000 (0:00:00.031) 0:01:33.318 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 16 December 2023 13:53:41 +0000 (0:00:00.035) 0:01:33.354 ***** 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-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 16 December 2023 13:53:41 +0000 (0:00:00.032) 0:01:33.386 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 December 2023 13:53:41 +0000 (0:00:00.030) 0:01:33.417 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:36 Saturday 16 December 2023 13:53:41 +0000 (0:00:00.263) 0:01:33.680 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-weekly-civ8d11oti/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-weekly-civ8d11oti/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 16 December 2023 13:53:41 +0000 (0:00:00.049) 0:01:33.730 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 December 2023 13:53:41 +0000 (0:00:00.043) 0:01:33.773 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 December 2023 13:53:41 +0000 (0:00:00.031) 0:01:33.804 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 December 2023 13:53:41 +0000 (0:00:00.221) 0:01:34.025 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 December 2023 13:53:41 +0000 (0:00:00.028) 0:01:34.053 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020629", "end": "2023-12-16 13:53:41.991725", "rc": 1, "start": "2023-12-16 13:53:41.971096" } 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 December 2023 13:53:42 +0000 (0:00:00.232) 0:01:34.286 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 December 2023 13:53:42 +0000 (0:00:00.029) 0:01:34.316 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 December 2023 13:53:42 +0000 (0:00:00.028) 0:01:34.344 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 December 2023 13:53:42 +0000 (0:00:00.030) 0:01:34.375 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 December 2023 13:53:42 +0000 (0:00:00.028) 0:01:34.403 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 16 December 2023 13:53:42 +0000 (0:00:00.027) 0:01:34.431 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 16 December 2023 13:53:42 +0000 (0:00:00.031) 0:01:34.463 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.941566", "end": "2023-12-16 13:53:43.320185", "rc": 0, "start": "2023-12-16 13:53:42.378619" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 16 December 2023 13:53:43 +0000 (0:00:01.185) 0:01:35.648 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 16 December 2023 13:53:43 +0000 (0:00:00.029) 0:01:35.678 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:42 Saturday 16 December 2023 13:53:43 +0000 (0:00:00.030) 0:01:35.708 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:47 Saturday 16 December 2023 13:53:43 +0000 (0:00:00.032) 0:01:35.741 ***** 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-weekly-civ8d11oti/tests/playbooks/tasks/run_test.yml:66 Saturday 16 December 2023 13:53:43 +0000 (0:00:00.032) 0:01:35.773 ***** included: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-civ8d11oti/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 December 2023 13:53:43 +0000 (0:00:00.046) 0:01:35.820 ***** 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.047779", "end": "2023-12-16 13:53:43.785045", "rc": 0, "start": "2023-12-16 13:53:43.737266" } 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 Saturday 16 December 2023 13:53:43 +0000 (0:00:00.293) 0:01:36.113 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.71s /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.62s /WORKDIR/git-weekly-civ8d11oti/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.85s /WORKDIR/git-weekly-civ8d11oti/tests/tests_states_initscripts.yml:4 ----------- fedora.linux_system_roles.network : Check which services are running ---- 1.71s /WORKDIR/git-weekly-civ8d11oti/.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.66s /WORKDIR/git-weekly-civ8d11oti/.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.65s /WORKDIR/git-weekly-civ8d11oti/.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.64s /WORKDIR/git-weekly-civ8d11oti/.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.64s /WORKDIR/git-weekly-civ8d11oti/.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.63s /WORKDIR/git-weekly-civ8d11oti/.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.63s /WORKDIR/git-weekly-civ8d11oti/.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.63s /WORKDIR/git-weekly-civ8d11oti/.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.63s /WORKDIR/git-weekly-civ8d11oti/.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.63s /WORKDIR/git-weekly-civ8d11oti/.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.63s /WORKDIR/git-weekly-civ8d11oti/.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.63s /WORKDIR/git-weekly-civ8d11oti/.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.62s /WORKDIR/git-weekly-civ8d11oti/.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.49s /WORKDIR/git-weekly-civ8d11oti/.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.45s /WORKDIR/git-weekly-civ8d11oti/.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.44s /WORKDIR/git-weekly-civ8d11oti/.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.40s /WORKDIR/git-weekly-civ8d11oti/.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. ---^---^---^---^---^---