# 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-civvn5q1ms/.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-civvn5q1ms/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tests_states_initscripts.yml:4 Saturday 25 November 2023 13:46:06 +0000 (0:00:00.015) 0:00:00.015 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tests_states_initscripts.yml:8 Saturday 25 November 2023 13:46:07 +0000 (0:00:00.831) 0:00:00.846 ***** included: /WORKDIR/git-weekly-civvn5q1ms/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-civvn5q1ms/tests/tasks/el_repo_setup.yml:3 Saturday 25 November 2023 13:46:07 +0000 (0:00:00.014) 0:00:00.861 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tasks/el_repo_setup.yml:20 Saturday 25 November 2023 13:46:07 +0000 (0:00:00.363) 0:00:01.224 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set package manager to use for ostree] *********************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tasks/el_repo_setup.yml:25 Saturday 25 November 2023 13:46:08 +0000 (0:00:00.268) 0:00:01.492 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tasks/el_repo_setup.yml:32 Saturday 25 November 2023 13:46:08 +0000 (0:00:00.020) 0:00:01.512 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tasks/el_repo_setup.yml:57 Saturday 25 November 2023 13:46:08 +0000 (0:00:00.010) 0:00:01.523 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tasks/enable_epel.yml:8 Saturday 25 November 2023 13:46:08 +0000 (0:00:00.015) 0:00:01.538 ***** 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-civvn5q1ms/tests/tasks/enable_epel.yml:24 Saturday 25 November 2023 13:46:08 +0000 (0:00:00.260) 0:00:01.799 ***** 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-civvn5q1ms/tests/tasks/enable_epel.yml:30 Saturday 25 November 2023 13:46:08 +0000 (0:00:00.010) 0:00:01.810 ***** 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-civvn5q1ms/tests/tasks/enable_epel.yml:35 Saturday 25 November 2023 13:46:08 +0000 (0:00:00.009) 0:00:01.819 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.382347", "end": "2023-11-25 13:46:08.909647", "rc": 0, "start": "2023-11-25 13:46:08.527300" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/tasks/enable_epel.yml:40 Saturday 25 November 2023 13:46:08 +0000 (0:00:00.574) 0:00:02.394 ***** 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-civvn5q1ms/tests/tests_states_initscripts.yml:10 Saturday 25 November 2023 13:46:08 +0000 (0:00:00.009) 0:00:02.403 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tests_states.yml:3 Saturday 25 November 2023 13:46:08 +0000 (0:00:00.018) 0:00:02.422 ***** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tests_states.yml:11 Saturday 25 November 2023 13:46:09 +0000 (0:00:00.653) 0:00:03.076 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tests_states.yml:22 Saturday 25 November 2023 13:46:09 +0000 (0:00:00.020) 0:00:03.096 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:5 Saturday 25 November 2023 13:46:09 +0000 (0:00:00.025) 0:00:03.122 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:9 Saturday 25 November 2023 13:46:09 +0000 (0:00:00.020) 0:00:03.142 ***** 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-civvn5q1ms/tests/playbooks/tasks/run_test.yml:21 Saturday 25 November 2023 13:46:09 +0000 (0:00:00.049) 0:00:03.192 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 25 November 2023 13:46:09 +0000 (0:00:00.022) 0:00:03.215 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 November 2023 13:46:09 +0000 (0:00:00.021) 0:00:03.236 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003475", "end": "2023-11-25 13:46:09.954397", "rc": 0, "start": "2023-11-25 13:46:09.950922" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 November 2023 13:46:09 +0000 (0:00:00.200) 0:00:03.437 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 25 November 2023 13:46:09 +0000 (0:00:00.021) 0:00:03.459 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:24 Saturday 25 November 2023 13:46:10 +0000 (0:00:00.021) 0:00:03.480 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-weekly-civvn5q1ms/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-civvn5q1ms/tests/playbooks/tasks/delete_interface.yml:3 Saturday 25 November 2023 13:46:10 +0000 (0:00:00.030) 0:00:03.510 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008451", "end": "2023-11-25 13:46:10.236288", "rc": 1, "start": "2023-11-25 13:46:10.227837" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 25 November 2023 13:46:10 +0000 (0:00:00.209) 0:00:03.720 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 November 2023 13:46:10 +0000 (0:00:00.026) 0:00:03.747 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 25 November 2023 13:46:10 +0000 (0:00:00.198) 0:00:03.945 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:30 Saturday 25 November 2023 13:46:10 +0000 (0:00:00.022) 0:00:03.968 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 November 2023 13:46:10 +0000 (0:00:00.026) 0:00:03.995 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:46:10 +0000 (0:00:00.037) 0:00:04.033 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:46:10 +0000 (0:00:00.032) 0:00:04.065 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:46:10 +0000 (0:00:00.024) 0:00:04.089 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:46:10 +0000 (0:00:00.202) 0:00:04.291 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:46:10 +0000 (0:00:00.027) 0:00:04.319 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:46:12 +0000 (0:00:01.851) 0:00:06.170 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:46:14 +0000 (0:00:01.496) 0:00:07.666 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:46:14 +0000 (0:00:00.035) 0:00:07.701 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:46:14 +0000 (0:00:00.033) 0:00:07.734 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:46:14 +0000 (0:00:00.035) 0:00:07.770 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:46:14 +0000 (0:00:00.063) 0:00:07.834 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:46:14 +0000 (0:00:00.035) 0:00:07.870 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:46:14 +0000 (0:00:00.037) 0:00:07.907 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:46:14 +0000 (0:00:00.057) 0:00:07.965 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:46:14 +0000 (0:00:00.040) 0:00:08.005 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:46:14 +0000 (0:00:00.033) 0:00:08.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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:46:15 +0000 (0:00:00.599) 0:00:08.638 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12181bihdmqzy/tmp2mueen2v" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:46:15 +0000 (0:00:00.311) 0:00:08.950 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:46:15 +0000 (0:00:00.452) 0:00:09.402 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:46:15 +0000 (0:00:00.035) 0:00:09.437 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:46:16 +0000 (0:00:00.033) 0:00:09.471 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:46:16 +0000 (0:00:00.035) 0:00:09.506 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:46:16 +0000 (0:00:00.033) 0:00:09.540 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 November 2023 13:46:16 +0000 (0:00:00.319) 0:00:09.859 ***** 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-civvn5q1ms/tests/playbooks/tasks/run_test.yml:36 Saturday 25 November 2023 13:46:16 +0000 (0:00:00.039) 0:00:09.898 ***** included: /WORKDIR/git-weekly-civvn5q1ms/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-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 25 November 2023 13:46:16 +0000 (0:00:00.050) 0:00:09.949 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 November 2023 13:46:16 +0000 (0:00:00.072) 0:00:10.021 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 November 2023 13:46:16 +0000 (0:00:00.034) 0:00:10.055 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1700919975.9060838, "block_size": 4096, "blocks": 8, "ctime": 1700919975.9060838, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1700919975.9060838, "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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 November 2023 13:46:16 +0000 (0:00:00.222) 0:00:10.278 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 November 2023 13:46:16 +0000 (0:00:00.036) 0:00:10.315 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020960", "end": "2023-11-25 13:46:17.056424", "rc": 1, "start": "2023-11-25 13:46:17.035464" } 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 November 2023 13:46:17 +0000 (0:00:00.243) 0:00:10.558 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 November 2023 13:46:17 +0000 (0:00:00.033) 0:00:10.592 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003643", "end": "2023-11-25 13:46:17.315443", "rc": 0, "start": "2023-11-25 13:46:17.311800" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 November 2023 13:46:17 +0000 (0:00:00.219) 0:00:10.812 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 November 2023 13:46:17 +0000 (0:00:00.036) 0:00:10.849 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003535", "end": "2023-11-25 13:46:17.571264", "rc": 0, "start": "2023-11-25 13:46:17.567729" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 November 2023 13:46:17 +0000 (0:00:00.218) 0:00:11.067 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 25 November 2023 13:46:17 +0000 (0:00:00.036) 0:00:11.104 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 25 November 2023 13:46:17 +0000 (0:00:00.034) 0:00:11.138 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 25 November 2023 13:46:17 +0000 (0:00:00.034) 0:00:11.173 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:42 Saturday 25 November 2023 13:46:17 +0000 (0:00:00.036) 0:00:11.210 ***** 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-civvn5q1ms/tests/playbooks/tasks/run_test.yml:47 Saturday 25 November 2023 13:46:17 +0000 (0:00:00.035) 0:00:11.245 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:66 Saturday 25 November 2023 13:46:17 +0000 (0:00:00.035) 0:00:11.281 ***** included: /WORKDIR/git-weekly-civvn5q1ms/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-civvn5q1ms/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 November 2023 13:46:17 +0000 (0:00:00.052) 0:00:11.333 ***** 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.039001", "end": "2023-11-25 13:46:18.090481", "rc": 1, "start": "2023-11-25 13:46:18.051480" } 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-civvn5q1ms/tests/playbooks/tests_states.yml:45 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.277) 0:00:11.611 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:5 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.049) 0:00:11.661 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:9 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.044) 0:00:11.705 ***** 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-civvn5q1ms/tests/playbooks/tasks/run_test.yml:21 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.068) 0:00:11.774 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.057) 0:00:11.832 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.047) 0:00:11.879 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003624", "end": "2023-11-25 13:46:18.601966", "rc": 0, "start": "2023-11-25 13:46:18.598342" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.224) 0:00:12.103 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.034) 0:00:12.138 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:24 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.032) 0:00:12.170 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-weekly-civvn5q1ms/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-civvn5q1ms/tests/playbooks/tasks/delete_interface.yml:3 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.051) 0:00:12.222 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006829", "end": "2023-11-25 13:46:18.954311", "rc": 1, "start": "2023-11-25 13:46:18.947482" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 25 November 2023 13:46:18 +0000 (0:00:00.226) 0:00:12.448 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.053) 0:00:12.501 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.267) 0:00:12.769 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:30 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.048) 0:00:12.817 ***** included: /WORKDIR/git-weekly-civvn5q1ms/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-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.050) 0:00:12.868 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.061) 0:00:12.929 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.068) 0:00:12.997 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.055) 0:00:13.053 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.224) 0:00:13.277 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:46:19 +0000 (0:00:00.043) 0:00:13.321 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:46:21 +0000 (0:00:01.754) 0:00:15.075 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:46:22 +0000 (0:00:01.308) 0:00:16.384 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:46:22 +0000 (0:00:00.061) 0:00:16.445 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:46:23 +0000 (0:00:00.035) 0:00:16.480 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:46:23 +0000 (0:00:00.033) 0:00:16.514 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:46:23 +0000 (0:00:00.066) 0:00:16.581 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:46:23 +0000 (0:00:00.035) 0:00:16.616 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:46:23 +0000 (0:00:00.035) 0:00:16.651 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:46:23 +0000 (0:00:00.044) 0:00:16.695 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:46:23 +0000 (0:00:00.037) 0:00:16.733 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:46:23 +0000 (0:00:00.032) 0:00:16.766 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:46:23 +0000 (0:00:00.394) 0:00:17.160 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12181bihdmqzy/tmp2igkloqk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:46:24 +0000 (0:00:00.309) 0:00:17.469 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:46:24 +0000 (0:00:00.307) 0:00:17.776 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:46:24 +0000 (0:00:00.038) 0:00:17.815 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:46:24 +0000 (0:00:00.038) 0:00:17.854 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:46:24 +0000 (0:00:00.039) 0:00:17.893 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:46:24 +0000 (0:00:00.037) 0:00:17.930 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 25 November 2023 13:46:24 +0000 (0:00:00.251) 0:00:18.182 ***** 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-civvn5q1ms/tests/playbooks/tasks/run_test.yml:36 Saturday 25 November 2023 13:46:24 +0000 (0:00:00.037) 0:00:18.220 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-weekly-civvn5q1ms/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-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 25 November 2023 13:46:24 +0000 (0:00:00.059) 0:00:18.279 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 November 2023 13:46:24 +0000 (0:00:00.079) 0:00:18.359 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 25 November 2023 13:46:25 +0000 (0:00:00.230) 0:00:18.589 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 25 November 2023 13:46:25 +0000 (0:00:00.061) 0:00:18.650 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 November 2023 13:46:25 +0000 (0:00:00.061) 0:00:18.712 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 November 2023 13:46:25 +0000 (0:00:00.037) 0:00:18.749 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1700919984.2800615, "block_size": 4096, "blocks": 8, "ctime": 1700919984.2800615, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1700919984.2800615, "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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 November 2023 13:46:25 +0000 (0:00:00.235) 0:00:18.984 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 November 2023 13:46:25 +0000 (0:00:00.039) 0:00:19.024 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019768", "end": "2023-11-25 13:46:25.767869", "rc": 1, "start": "2023-11-25 13:46:25.748101" } 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 November 2023 13:46:25 +0000 (0:00:00.238) 0:00:19.263 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 November 2023 13:46:25 +0000 (0:00:00.037) 0:00:19.300 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003558", "end": "2023-11-25 13:46:26.024658", "rc": 0, "start": "2023-11-25 13:46:26.021100" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.221) 0:00:19.521 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.077) 0:00:19.599 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003558", "end": "2023-11-25 13:46:26.326248", "rc": 0, "start": "2023-11-25 13:46:26.322690" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.229) 0:00:19.829 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.058) 0:00:19.887 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.039) 0:00:19.927 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.041) 0:00:19.969 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:42 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.038) 0:00:20.007 ***** 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-civvn5q1ms/tests/playbooks/tasks/run_test.yml:47 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.044) 0:00:20.051 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:66 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.035) 0:00:20.086 ***** included: /WORKDIR/git-weekly-civvn5q1ms/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-civvn5q1ms/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.051) 0:00:20.138 ***** 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.039653", "end": "2023-11-25 13:46:26.894672", "rc": 1, "start": "2023-11-25 13:46:26.855019" } 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-civvn5q1ms/tests/playbooks/tests_states.yml:65 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.252) 0:00:20.391 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:5 Saturday 25 November 2023 13:46:26 +0000 (0:00:00.049) 0:00:20.440 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:9 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.034) 0:00:20.474 ***** 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-civvn5q1ms/tests/playbooks/tasks/run_test.yml:21 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.068) 0:00:20.542 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.091) 0:00:20.633 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.054) 0:00:20.687 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003711", "end": "2023-11-25 13:46:27.407989", "rc": 0, "start": "2023-11-25 13:46:27.404278" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.222) 0:00:20.910 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.043) 0:00:20.953 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:24 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.044) 0:00:20.997 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.063) 0:00:21.061 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.064) 0:00:21.125 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.076) 0:00:21.201 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.043) 0:00:21.245 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:46:27 +0000 (0:00:00.218) 0:00:21.463 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:46:28 +0000 (0:00:00.040) 0:00:21.504 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:46:29 +0000 (0:00:01.740) 0:00:23.245 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:46:31 +0000 (0:00:01.337) 0:00:24.582 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:46:31 +0000 (0:00:00.035) 0:00:24.618 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:46:31 +0000 (0:00:00.034) 0:00:24.652 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:46:31 +0000 (0:00:00.034) 0:00:24.686 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:46:31 +0000 (0:00:00.064) 0:00:24.750 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:46:31 +0000 (0:00:00.036) 0:00:24.786 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:46:31 +0000 (0:00:00.034) 0:00:24.821 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:46:31 +0000 (0:00:00.037) 0:00:24.858 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:46:31 +0000 (0:00:00.033) 0:00:24.892 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:46:31 +0000 (0:00:00.031) 0:00:24.924 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:46:31 +0000 (0:00:00.390) 0:00:25.314 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12181bihdmqzy/tmpodd40t_y" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:46:32 +0000 (0:00:00.310) 0:00:25.625 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:46:32 +0000 (0:00:00.352) 0:00:25.977 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:46:32 +0000 (0:00:00.034) 0:00:26.011 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:46:32 +0000 (0:00:00.067) 0:00:26.079 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:46:32 +0000 (0:00:00.038) 0:00:26.117 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:46:32 +0000 (0:00:00.043) 0:00:26.161 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 November 2023 13:46:32 +0000 (0:00:00.230) 0:00:26.392 ***** 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-civvn5q1ms/tests/playbooks/tasks/run_test.yml:30 Saturday 25 November 2023 13:46:32 +0000 (0:00:00.042) 0:00:26.435 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/activate_profile.yml:3 Saturday 25 November 2023 13:46:33 +0000 (0:00:00.051) 0:00:26.487 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:46:33 +0000 (0:00:00.059) 0:00:26.546 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:46:33 +0000 (0:00:00.056) 0:00:26.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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:46:33 +0000 (0:00:00.041) 0:00:26.644 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:46:33 +0000 (0:00:00.233) 0:00:26.877 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:46:33 +0000 (0:00:00.038) 0:00:26.915 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:46:35 +0000 (0:00:01.727) 0:00:28.643 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:46:36 +0000 (0:00:01.328) 0:00:29.971 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:46:36 +0000 (0:00:00.036) 0:00:30.007 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:46:36 +0000 (0:00:00.036) 0:00:30.044 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:46:36 +0000 (0:00:00.035) 0:00:30.079 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:46:36 +0000 (0:00:00.061) 0:00:30.141 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:46:36 +0000 (0:00:00.036) 0:00:30.177 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:46:36 +0000 (0:00:00.034) 0:00:30.212 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:46:36 +0000 (0:00:00.038) 0:00:30.250 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:46:36 +0000 (0:00:00.035) 0:00:30.286 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:46:36 +0000 (0:00:00.031) 0:00:30.318 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:46:37 +0000 (0:00:00.390) 0:00:30.708 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12181bihdmqzy/tmpaq31hsbb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:46:37 +0000 (0:00:00.321) 0:00:31.029 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.635) 0:00:31.665 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.039) 0:00:31.704 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.060) 0:00:31.765 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.036) 0:00:31.802 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.033) 0:00:31.835 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:36 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.224) 0:00:32.060 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-weekly-civvn5q1ms/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-civvn5q1ms/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.056) 0:00:32.117 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.045) 0:00:32.162 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1700919998.0595984, "block_size": 4096, "blocks": 0, "ctime": 1700919998.0595984, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35001, "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": 1700919998.0595984, "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-civvn5q1ms/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.214) 0:00:32.377 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.036) 0:00:32.414 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 November 2023 13:46:38 +0000 (0:00:00.049) 0:00:32.463 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.032) 0:00:32.496 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1700919997.869025, "block_size": 4096, "blocks": 8, "ctime": 1700919992.4800394, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 16798131, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1700919992.4800394, "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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.213) 0:00:32.709 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.034) 0:00:32.743 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020507", "end": "2023-11-25 13:46:39.486700", "rc": 1, "start": "2023-11-25 13:46:39.466193" } 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.273) 0:00:33.017 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.034) 0:00:33.051 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003656", "end": "2023-11-25 13:46:39.775578", "rc": 0, "start": "2023-11-25 13:46:39.771922" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.221) 0:00:33.273 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 November 2023 13:46:39 +0000 (0:00:00.037) 0:00:33.310 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003532", "end": "2023-11-25 13:46:40.032340", "rc": 0, "start": "2023-11-25 13:46:40.028808" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.217) 0:00:33.528 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.039) 0:00:33.568 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.037) 0:00:33.605 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.036) 0:00:33.641 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:42 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.035) 0:00:33.677 ***** 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-civvn5q1ms/tests/playbooks/tasks/run_test.yml:47 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.031) 0:00:33.708 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:66 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.033) 0:00:33.742 ***** included: /WORKDIR/git-weekly-civvn5q1ms/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-civvn5q1ms/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.055) 0:00:33.798 ***** 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.049240", "end": "2023-11-25 13:46:40.564417", "rc": 0, "start": "2023-11-25 13:46:40.515177" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tests_states.yml:83 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.261) 0:00:34.059 ***** included: /WORKDIR/git-weekly-civvn5q1ms/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-civvn5q1ms/tests/playbooks/tasks/run_test.yml:5 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.053) 0:00:34.113 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:9 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.036) 0:00:34.150 ***** 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-civvn5q1ms/tests/playbooks/tasks/run_test.yml:21 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.122) 0:00:34.272 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.049) 0:00:34.322 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 November 2023 13:46:40 +0000 (0:00:00.045) 0:00:34.367 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003695", "end": "2023-11-25 13:46:41.087536", "rc": 0, "start": "2023-11-25 13:46:41.083841" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 November 2023 13:46:41 +0000 (0:00:00.215) 0:00:34.582 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 25 November 2023 13:46:41 +0000 (0:00:00.034) 0:00:34.617 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:24 Saturday 25 November 2023 13:46:41 +0000 (0:00:00.033) 0:00:34.651 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 November 2023 13:46:41 +0000 (0:00:00.051) 0:00:34.702 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:46:41 +0000 (0:00:00.059) 0:00:34.762 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:46:41 +0000 (0:00:00.053) 0:00:34.815 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:46:41 +0000 (0:00:00.038) 0:00:34.853 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:46:41 +0000 (0:00:00.214) 0:00:35.068 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:46:41 +0000 (0:00:00.092) 0:00:35.161 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:46:43 +0000 (0:00:01.737) 0:00:36.899 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:46:44 +0000 (0:00:01.275) 0:00:38.174 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:46:44 +0000 (0:00:00.036) 0:00:38.210 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:46:44 +0000 (0:00:00.035) 0:00:38.246 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:46:44 +0000 (0:00:00.034) 0:00:38.281 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:46:44 +0000 (0:00:00.065) 0:00:38.346 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:46:44 +0000 (0:00:00.036) 0:00:38.382 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:46:44 +0000 (0:00:00.035) 0:00:38.417 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:46:44 +0000 (0:00:00.042) 0:00:38.460 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:46:45 +0000 (0:00:00.037) 0:00:38.497 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:46:45 +0000 (0:00:00.032) 0:00:38.530 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:46:45 +0000 (0:00:00.390) 0:00:38.921 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12181bihdmqzy/tmpur9g93k3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:46:45 +0000 (0:00:00.305) 0:00:39.226 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:46:46 +0000 (0:00:00.362) 0:00:39.589 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:46:46 +0000 (0:00:00.035) 0:00:39.625 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:46:46 +0000 (0:00:00.033) 0:00:39.659 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:46:46 +0000 (0:00:00.038) 0:00:39.697 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:46:46 +0000 (0:00:00.035) 0:00:39.733 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 November 2023 13:46:46 +0000 (0:00:00.217) 0:00:39.951 ***** 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-civvn5q1ms/tests/playbooks/tasks/activate_profile.yml:3 Saturday 25 November 2023 13:46:46 +0000 (0:00:00.034) 0:00:39.985 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:46:46 +0000 (0:00:00.056) 0:00:40.041 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:46:46 +0000 (0:00:00.052) 0:00:40.094 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:46:46 +0000 (0:00:00.039) 0:00:40.133 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:46:46 +0000 (0:00:00.218) 0:00:40.352 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:46:46 +0000 (0:00:00.038) 0:00:40.391 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:46:48 +0000 (0:00:01.757) 0:00:42.148 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:46:49 +0000 (0:00:01.278) 0:00:43.427 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:46:49 +0000 (0:00:00.037) 0:00:43.464 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:46:50 +0000 (0:00:00.033) 0:00:43.498 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:46:50 +0000 (0:00:00.036) 0:00:43.534 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:46:50 +0000 (0:00:00.066) 0:00:43.601 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:46:50 +0000 (0:00:00.034) 0:00:43.635 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:46:50 +0000 (0:00:00.037) 0:00:43.673 ***** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:46:50 +0000 (0:00:00.042) 0:00:43.716 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:46:50 +0000 (0:00:00.036) 0:00:43.752 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:46:50 +0000 (0:00:00.036) 0:00:43.789 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:46:50 +0000 (0:00:00.398) 0:00:44.188 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12181bihdmqzy/tmpjul27k48" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:46:51 +0000 (0:00:00.300) 0:00:44.489 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:46:51 +0000 (0:00:00.615) 0:00:45.104 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:46:51 +0000 (0:00:00.064) 0:00:45.169 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:46:51 +0000 (0:00:00.035) 0:00:45.204 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:46:51 +0000 (0:00:00.035) 0:00:45.240 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:46:51 +0000 (0:00:00.036) 0:00:45.276 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:30 Saturday 25 November 2023 13:46:52 +0000 (0:00:00.222) 0:00:45.498 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/remove_profile.yml:3 Saturday 25 November 2023 13:46:52 +0000 (0:00:00.052) 0:00:45.551 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:46:52 +0000 (0:00:00.070) 0:00:45.622 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:46:52 +0000 (0:00:00.056) 0:00:45.679 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:46:52 +0000 (0:00:00.039) 0:00:45.719 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:46:52 +0000 (0:00:00.219) 0:00:45.938 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:46:52 +0000 (0:00:00.040) 0:00:45.978 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:46:54 +0000 (0:00:01.740) 0:00:47.718 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:46:55 +0000 (0:00:01.374) 0:00:49.092 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:46:55 +0000 (0:00:00.037) 0:00:49.129 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:46:55 +0000 (0:00:00.049) 0:00:49.179 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:46:55 +0000 (0:00:00.053) 0:00:49.233 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:46:55 +0000 (0:00:00.076) 0:00:49.309 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:46:55 +0000 (0:00:00.041) 0:00:49.350 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:46:55 +0000 (0:00:00.035) 0:00:49.386 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:46:55 +0000 (0:00:00.040) 0:00:49.427 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:46:56 +0000 (0:00:00.040) 0:00:49.467 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:46:56 +0000 (0:00:00.043) 0:00:49.511 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:46:56 +0000 (0:00:00.396) 0:00:49.908 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12181bihdmqzy/tmpvkg2unr1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:46:56 +0000 (0:00:00.307) 0:00:50.215 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:46:57 +0000 (0:00:00.386) 0:00:50.602 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:46:57 +0000 (0:00:00.044) 0:00:50.647 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:46:57 +0000 (0:00:00.090) 0:00:50.737 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:46:57 +0000 (0:00:00.038) 0:00:50.775 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:46:57 +0000 (0:00:00.047) 0:00:50.822 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:36 Saturday 25 November 2023 13:46:57 +0000 (0:00:00.232) 0:00:51.054 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-weekly-civvn5q1ms/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-civvn5q1ms/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 25 November 2023 13:46:57 +0000 (0:00:00.063) 0:00:51.118 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 25 November 2023 13:46:57 +0000 (0:00:00.062) 0:00:51.180 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1700920011.518644, "block_size": 4096, "blocks": 0, "ctime": 1700920011.518644, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35132, "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": 1700920011.518644, "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-civvn5q1ms/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 25 November 2023 13:46:57 +0000 (0:00:00.219) 0:00:51.399 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 25 November 2023 13:46:57 +0000 (0:00:00.046) 0:00:51.446 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 November 2023 13:46:58 +0000 (0:00:00.058) 0:00:51.505 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 November 2023 13:46:58 +0000 (0:00:00.035) 0:00:51.540 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 November 2023 13:46:58 +0000 (0:00:00.212) 0:00:51.753 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 November 2023 13:46:58 +0000 (0:00:00.041) 0:00:51.794 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020618", "end": "2023-11-25 13:46:58.532205", "rc": 1, "start": "2023-11-25 13:46:58.511587" } 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 November 2023 13:46:58 +0000 (0:00:00.267) 0:00:52.062 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 November 2023 13:46:58 +0000 (0:00:00.035) 0:00:52.097 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 November 2023 13:46:58 +0000 (0:00:00.034) 0:00:52.132 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 November 2023 13:46:58 +0000 (0:00:00.033) 0:00:52.166 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 November 2023 13:46:58 +0000 (0:00:00.034) 0:00:52.200 ***** 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-civvn5q1ms/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 25 November 2023 13:46:58 +0000 (0:00:00.032) 0:00:52.233 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:42 Saturday 25 November 2023 13:46:58 +0000 (0:00:00.035) 0:00:52.268 ***** 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-civvn5q1ms/tests/playbooks/tasks/run_test.yml:47 Saturday 25 November 2023 13:46:58 +0000 (0:00:00.030) 0:00:52.299 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:66 Saturday 25 November 2023 13:46:58 +0000 (0:00:00.039) 0:00:52.339 ***** included: /WORKDIR/git-weekly-civvn5q1ms/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-civvn5q1ms/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 November 2023 13:46:58 +0000 (0:00:00.057) 0:00:52.396 ***** 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.044990", "end": "2023-11-25 13:46:59.157650", "rc": 0, "start": "2023-11-25 13:46:59.112660" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tests_states.yml:102 Saturday 25 November 2023 13:46:59 +0000 (0:00:00.260) 0:00:52.656 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:5 Saturday 25 November 2023 13:46:59 +0000 (0:00:00.048) 0:00:52.705 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:9 Saturday 25 November 2023 13:46:59 +0000 (0:00:00.035) 0:00:52.741 ***** 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-civvn5q1ms/tests/playbooks/tasks/run_test.yml:21 Saturday 25 November 2023 13:46:59 +0000 (0:00:00.065) 0:00:52.806 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 25 November 2023 13:46:59 +0000 (0:00:00.081) 0:00:52.887 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 November 2023 13:46:59 +0000 (0:00:00.052) 0:00:52.940 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003415", "end": "2023-11-25 13:46:59.660414", "rc": 0, "start": "2023-11-25 13:46:59.656999" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 November 2023 13:46:59 +0000 (0:00:00.223) 0:00:53.163 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 25 November 2023 13:46:59 +0000 (0:00:00.044) 0:00:53.208 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:24 Saturday 25 November 2023 13:46:59 +0000 (0:00:00.041) 0:00:53.250 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 November 2023 13:46:59 +0000 (0:00:00.070) 0:00:53.320 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:46:59 +0000 (0:00:00.059) 0:00:53.379 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:46:59 +0000 (0:00:00.058) 0:00:53.438 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:47:00 +0000 (0:00:00.050) 0:00:53.489 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:47:00 +0000 (0:00:00.220) 0:00:53.709 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:47:00 +0000 (0:00:00.038) 0:00:53.748 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:47:02 +0000 (0:00:01.820) 0:00:55.568 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:47:03 +0000 (0:00:01.284) 0:00:56.853 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:47:03 +0000 (0:00:00.036) 0:00:56.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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:47:03 +0000 (0:00:00.037) 0:00:56.926 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:47:03 +0000 (0:00:00.035) 0:00:56.962 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:47:03 +0000 (0:00:00.062) 0:00:57.025 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:47:03 +0000 (0:00:00.035) 0:00:57.060 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:47:03 +0000 (0:00:00.034) 0:00:57.094 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:47:03 +0000 (0:00:00.040) 0:00:57.134 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:47:03 +0000 (0:00:00.034) 0:00:57.168 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:47:03 +0000 (0:00:00.031) 0:00:57.200 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:47:04 +0000 (0:00:00.391) 0:00:57.591 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12181bihdmqzy/tmp_k3dwgx5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:47:04 +0000 (0:00:00.312) 0:00:57.904 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:47:04 +0000 (0:00:00.369) 0:00:58.274 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:47:04 +0000 (0:00:00.077) 0:00:58.351 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:47:04 +0000 (0:00:00.036) 0:00:58.387 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:47:04 +0000 (0:00:00.037) 0:00:58.425 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:47:05 +0000 (0:00:00.043) 0:00:58.469 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 November 2023 13:47:05 +0000 (0:00:00.222) 0:00:58.692 ***** 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-civvn5q1ms/tests/playbooks/tasks/activate_profile.yml:3 Saturday 25 November 2023 13:47:05 +0000 (0:00:00.035) 0:00:58.727 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:47:05 +0000 (0:00:00.057) 0:00:58.784 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:47:05 +0000 (0:00:00.053) 0:00:58.838 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:47:05 +0000 (0:00:00.036) 0:00:58.875 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:47:05 +0000 (0:00:00.218) 0:00:59.093 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:47:05 +0000 (0:00:00.038) 0:00:59.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 : Check which packages are installed] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:47:07 +0000 (0:00:01.741) 0:01:00.873 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:47:08 +0000 (0:00:01.359) 0:01:02.233 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:47:08 +0000 (0:00:00.043) 0:01:02.276 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:47:08 +0000 (0:00:00.036) 0:01:02.312 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:47:08 +0000 (0:00:00.035) 0:01:02.347 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:47:08 +0000 (0:00:00.072) 0:01:02.420 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:47:09 +0000 (0:00:00.048) 0:01:02.468 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:47:09 +0000 (0:00:00.054) 0:01:02.523 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:47:09 +0000 (0:00:00.043) 0:01:02.566 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:47:09 +0000 (0:00:00.039) 0:01:02.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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:47:09 +0000 (0:00:00.035) 0:01:02.641 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:47:09 +0000 (0:00:00.400) 0:01:03.042 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12181bihdmqzy/tmpmmtl_v2a" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:47:09 +0000 (0:00:00.308) 0:01:03.350 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:47:10 +0000 (0:00:00.593) 0:01:03.944 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:47:10 +0000 (0:00:00.045) 0:01:03.989 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:47:10 +0000 (0:00:00.042) 0:01:04.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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:47:10 +0000 (0:00:00.074) 0:01:04.107 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:47:10 +0000 (0:00:00.035) 0:01:04.143 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/remove_profile.yml:3 Saturday 25 November 2023 13:47:10 +0000 (0:00:00.226) 0:01:04.369 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:47:10 +0000 (0:00:00.067) 0:01:04.437 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:47:11 +0000 (0:00:00.069) 0:01:04.506 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:47:11 +0000 (0:00:00.039) 0:01:04.546 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:47:11 +0000 (0:00:00.224) 0:01:04.770 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:47:11 +0000 (0:00:00.038) 0:01:04.809 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:47:13 +0000 (0:00:01.729) 0:01:06.539 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:47:14 +0000 (0:00:01.286) 0:01:07.825 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:47:14 +0000 (0:00:00.036) 0:01:07.862 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:47:14 +0000 (0:00:00.104) 0:01:07.967 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:47:14 +0000 (0:00:00.037) 0:01:08.005 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:47:14 +0000 (0:00:00.069) 0:01:08.074 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:47:14 +0000 (0:00:00.039) 0:01:08.113 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:47:14 +0000 (0:00:00.034) 0:01:08.148 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:47:14 +0000 (0:00:00.039) 0:01:08.188 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:47:14 +0000 (0:00:00.035) 0:01:08.223 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:47:14 +0000 (0:00:00.031) 0:01:08.255 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:47:15 +0000 (0:00:00.392) 0:01:08.647 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12181bihdmqzy/tmpr_ilnd2p" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:47:15 +0000 (0:00:00.304) 0:01:08.952 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:47:15 +0000 (0:00:00.317) 0:01:09.270 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:47:15 +0000 (0:00:00.049) 0:01:09.319 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:47:15 +0000 (0:00:00.043) 0:01:09.363 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:47:15 +0000 (0:00:00.038) 0:01:09.401 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:47:15 +0000 (0:00:00.039) 0:01:09.441 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:30 Saturday 25 November 2023 13:47:16 +0000 (0:00:00.269) 0:01:09.711 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 25 November 2023 13:47:16 +0000 (0:00:00.059) 0:01:09.770 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:47:16 +0000 (0:00:00.072) 0:01:09.842 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:47:16 +0000 (0:00:00.057) 0:01:09.900 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:47:16 +0000 (0:00:00.038) 0:01:09.938 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:47:16 +0000 (0:00:00.218) 0:01:10.157 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:47:16 +0000 (0:00:00.040) 0:01:10.198 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:47:18 +0000 (0:00:01.740) 0:01:11.939 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:47:19 +0000 (0:00:01.278) 0:01:13.217 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:47:19 +0000 (0:00:00.034) 0:01:13.251 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:47:19 +0000 (0:00:00.063) 0:01:13.314 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:47:19 +0000 (0:00:00.039) 0:01:13.354 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:47:19 +0000 (0:00:00.077) 0:01:13.432 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:47:20 +0000 (0:00:00.036) 0:01:13.468 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:47:20 +0000 (0:00:00.035) 0:01:13.504 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:47:20 +0000 (0:00:00.041) 0:01:13.545 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:47:20 +0000 (0:00:00.036) 0:01:13.581 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:47:20 +0000 (0:00:00.043) 0:01:13.625 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:47:20 +0000 (0:00:00.390) 0:01:14.015 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12181bihdmqzy/tmp0ctb_ec0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:47:20 +0000 (0:00:00.304) 0:01:14.320 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:47:21 +0000 (0:00:00.303) 0:01:14.623 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:47:21 +0000 (0:00:00.036) 0:01:14.660 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:47:21 +0000 (0:00:00.034) 0:01:14.694 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:47:21 +0000 (0:00:00.034) 0:01:14.729 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:47:21 +0000 (0:00:00.035) 0:01:14.764 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:36 Saturday 25 November 2023 13:47:21 +0000 (0:00:00.219) 0:01:14.984 ***** included: /WORKDIR/git-weekly-civvn5q1ms/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-civvn5q1ms/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 25 November 2023 13:47:21 +0000 (0:00:00.080) 0:01:15.065 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 November 2023 13:47:21 +0000 (0:00:00.048) 0:01:15.113 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 November 2023 13:47:21 +0000 (0:00:00.034) 0:01:15.148 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 November 2023 13:47:21 +0000 (0:00:00.216) 0:01:15.365 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 November 2023 13:47:21 +0000 (0:00:00.039) 0:01:15.404 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020284", "end": "2023-11-25 13:47:22.140275", "rc": 1, "start": "2023-11-25 13:47:22.119991" } 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 November 2023 13:47:22 +0000 (0:00:00.232) 0:01:15.636 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 November 2023 13:47:22 +0000 (0:00:00.035) 0:01:15.672 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 November 2023 13:47:22 +0000 (0:00:00.035) 0:01:15.708 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 November 2023 13:47:22 +0000 (0:00:00.045) 0:01:15.753 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 November 2023 13:47:22 +0000 (0:00:00.033) 0:01:15.786 ***** 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-civvn5q1ms/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 25 November 2023 13:47:22 +0000 (0:00:00.033) 0:01:15.820 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:42 Saturday 25 November 2023 13:47:22 +0000 (0:00:00.036) 0:01:15.857 ***** 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-civvn5q1ms/tests/playbooks/tasks/run_test.yml:47 Saturday 25 November 2023 13:47:22 +0000 (0:00:00.035) 0:01:15.892 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:66 Saturday 25 November 2023 13:47:22 +0000 (0:00:00.034) 0:01:15.926 ***** included: /WORKDIR/git-weekly-civvn5q1ms/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-civvn5q1ms/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 November 2023 13:47:22 +0000 (0:00:00.082) 0:01:16.008 ***** 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.048933", "end": "2023-11-25 13:47:22.775787", "rc": 0, "start": "2023-11-25 13:47:22.726854" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tests_states.yml:124 Saturday 25 November 2023 13:47:22 +0000 (0:00:00.266) 0:01:16.275 ***** included: /WORKDIR/git-weekly-civvn5q1ms/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-civvn5q1ms/tests/playbooks/tasks/run_test.yml:5 Saturday 25 November 2023 13:47:22 +0000 (0:00:00.050) 0:01:16.326 ***** 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-civvn5q1ms/tests/playbooks/tasks/run_test.yml:9 Saturday 25 November 2023 13:47:22 +0000 (0:00:00.047) 0:01:16.373 ***** 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-civvn5q1ms/tests/playbooks/tasks/run_test.yml:21 Saturday 25 November 2023 13:47:22 +0000 (0:00:00.070) 0:01:16.443 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.049) 0:01:16.493 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.047) 0:01:16.541 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003571", "end": "2023-11-25 13:47:23.270463", "rc": 0, "start": "2023-11-25 13:47:23.266892" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.226) 0:01:16.767 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.049) 0:01:16.816 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:24 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.038) 0:01:16.854 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.057) 0:01:16.912 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.094) 0:01:17.006 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.057) 0:01:17.063 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.038) 0:01:17.102 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.230) 0:01:17.333 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:47:23 +0000 (0:00:00.047) 0:01:17.381 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:47:25 +0000 (0:00:01.731) 0:01:19.112 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:47:26 +0000 (0:00:01.289) 0:01:20.402 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:47:26 +0000 (0:00:00.038) 0:01:20.440 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:47:27 +0000 (0:00:00.034) 0:01:20.475 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:47:27 +0000 (0:00:00.035) 0:01:20.510 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:47:27 +0000 (0:00:00.063) 0:01:20.573 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:47:27 +0000 (0:00:00.033) 0:01:20.607 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:47:27 +0000 (0:00:00.064) 0:01:20.671 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:47:27 +0000 (0:00:00.043) 0:01:20.715 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:47:27 +0000 (0:00:00.035) 0:01:20.750 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:47:27 +0000 (0:00:00.032) 0:01:20.782 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:47:27 +0000 (0:00:00.399) 0:01:21.182 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12181bihdmqzy/tmptzz2brhl" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.301) 0:01:21.484 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.306) 0:01:21.791 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.036) 0:01:21.828 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.044) 0:01:21.872 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.037) 0:01:21.910 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.035) 0:01:21.945 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.220) 0:01:22.166 ***** 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-civvn5q1ms/tests/playbooks/tasks/activate_profile.yml:3 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.034) 0:01:22.201 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.057) 0:01:22.258 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.091) 0:01:22.349 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:47:28 +0000 (0:00:00.040) 0:01:22.390 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:47:29 +0000 (0:00:00.219) 0:01:22.610 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:47:29 +0000 (0:00:00.039) 0:01:22.650 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:47:30 +0000 (0:00:01.739) 0:01:24.390 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:47:32 +0000 (0:00:01.290) 0:01:25.680 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:47:32 +0000 (0:00:00.035) 0:01:25.715 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:47:32 +0000 (0:00:00.035) 0:01:25.751 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:47:32 +0000 (0:00:00.035) 0:01:25.786 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:47:32 +0000 (0:00:00.061) 0:01:25.848 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:47:32 +0000 (0:00:00.038) 0:01:25.886 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:47:32 +0000 (0:00:00.036) 0:01:25.923 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:47:32 +0000 (0:00:00.039) 0:01:25.962 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:47:32 +0000 (0:00:00.066) 0:01:26.029 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:47:32 +0000 (0:00:00.032) 0:01:26.062 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:47:32 +0000 (0:00:00.390) 0:01:26.452 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12181bihdmqzy/tmp1igm6zor" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:47:33 +0000 (0:00:00.312) 0:01:26.765 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:47:33 +0000 (0:00:00.611) 0:01:27.377 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:47:33 +0000 (0:00:00.036) 0:01:27.413 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:47:34 +0000 (0:00:00.053) 0:01:27.467 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:47:34 +0000 (0:00:00.042) 0:01:27.509 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:47:34 +0000 (0:00:00.038) 0:01:27.548 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 25 November 2023 13:47:34 +0000 (0:00:00.235) 0:01:27.783 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:47:34 +0000 (0:00:00.058) 0:01:27.841 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:47:34 +0000 (0:00:00.070) 0:01:27.912 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:47:34 +0000 (0:00:00.043) 0:01:27.955 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:47:34 +0000 (0:00:00.313) 0:01:28.269 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:47:34 +0000 (0:00:00.053) 0:01:28.323 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:47:36 +0000 (0:00:01.754) 0:01:30.078 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:47:37 +0000 (0:00:01.281) 0:01:31.359 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:47:37 +0000 (0:00:00.049) 0:01:31.409 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:47:37 +0000 (0:00:00.044) 0:01:31.453 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:47:38 +0000 (0:00:00.050) 0:01:31.504 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:47:38 +0000 (0:00:00.077) 0:01:31.582 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:47:38 +0000 (0:00:00.036) 0:01:31.619 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:47:38 +0000 (0:00:00.036) 0:01:31.655 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:47:38 +0000 (0:00:00.041) 0:01:31.697 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:47:38 +0000 (0:00:00.037) 0:01:31.735 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:47:38 +0000 (0:00:00.041) 0:01:31.776 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:47:38 +0000 (0:00:00.469) 0:01:32.246 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12181bihdmqzy/tmp63tg_vft" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:47:39 +0000 (0:00:00.317) 0:01:32.563 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:47:39 +0000 (0:00:00.326) 0:01:32.890 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:47:39 +0000 (0:00:00.037) 0:01:32.928 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:47:39 +0000 (0:00:00.035) 0:01:32.964 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:47:39 +0000 (0:00:00.037) 0:01:33.001 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:47:39 +0000 (0:00:00.041) 0:01:33.042 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:30 Saturday 25 November 2023 13:47:39 +0000 (0:00:00.241) 0:01:33.284 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 25 November 2023 13:47:39 +0000 (0:00:00.054) 0:01:33.338 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 25 November 2023 13:47:39 +0000 (0:00:00.059) 0:01:33.398 ***** included: /WORKDIR/git-weekly-civvn5q1ms/.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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 25 November 2023 13:47:39 +0000 (0:00:00.065) 0:01:33.463 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:15 Saturday 25 November 2023 13:47:40 +0000 (0:00:00.043) 0:01:33.507 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.network : Set package manager to use for ostree] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:20 Saturday 25 November 2023 13:47:40 +0000 (0:00:00.228) 0:01:33.735 ***** skipping: [sut] => { "changed": false, "false_condition": "__ostree_booted_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 Saturday 25 November 2023 13:47:40 +0000 (0:00:00.106) 0:01:33.842 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 Saturday 25 November 2023 13:47:42 +0000 (0:00:01.734) 0:01:35.577 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 25 November 2023 13:47:43 +0000 (0:00:01.278) 0:01:36.855 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 25 November 2023 13:47:43 +0000 (0:00:00.035) 0:01:36.891 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 25 November 2023 13:47:43 +0000 (0:00:00.034) 0:01:36.925 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 25 November 2023 13:47:43 +0000 (0:00:00.033) 0:01:36.959 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Saturday 25 November 2023 13:47:43 +0000 (0:00:00.064) 0:01:37.024 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Saturday 25 November 2023 13:47:43 +0000 (0:00:00.035) 0:01:37.059 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Saturday 25 November 2023 13:47:43 +0000 (0:00:00.034) 0:01:37.093 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Saturday 25 November 2023 13:47:43 +0000 (0:00:00.042) 0:01:37.136 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Saturday 25 November 2023 13:47:43 +0000 (0:00:00.034) 0:01:37.171 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Saturday 25 November 2023 13:47:43 +0000 (0:00:00.030) 0:01:37.201 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Saturday 25 November 2023 13:47:44 +0000 (0:00:00.398) 0:01:37.600 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-12181bihdmqzy/tmpnyb_v0tc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Saturday 25 November 2023 13:47:44 +0000 (0:00:00.341) 0:01:37.941 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Saturday 25 November 2023 13:47:44 +0000 (0:00:00.307) 0:01:38.248 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Saturday 25 November 2023 13:47:44 +0000 (0:00:00.036) 0:01:38.285 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Saturday 25 November 2023 13:47:44 +0000 (0:00:00.038) 0:01:38.324 ***** 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-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 25 November 2023 13:47:44 +0000 (0:00:00.038) 0:01:38.362 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Saturday 25 November 2023 13:47:44 +0000 (0:00:00.039) 0:01:38.401 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:36 Saturday 25 November 2023 13:47:45 +0000 (0:00:00.237) 0:01:38.639 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-weekly-civvn5q1ms/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-civvn5q1ms/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 25 November 2023 13:47:45 +0000 (0:00:00.059) 0:01:38.699 ***** included: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 25 November 2023 13:47:45 +0000 (0:00:00.049) 0:01:38.749 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 25 November 2023 13:47:45 +0000 (0:00:00.039) 0:01:38.788 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 25 November 2023 13:47:45 +0000 (0:00:00.213) 0:01:39.001 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 25 November 2023 13:47:45 +0000 (0:00:00.034) 0:01:39.036 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020296", "end": "2023-11-25 13:47:45.773659", "rc": 1, "start": "2023-11-25 13:47:45.753363" } 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 25 November 2023 13:47:45 +0000 (0:00:00.232) 0:01:39.268 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 25 November 2023 13:47:45 +0000 (0:00:00.045) 0:01:39.314 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 25 November 2023 13:47:45 +0000 (0:00:00.069) 0:01:39.383 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 25 November 2023 13:47:45 +0000 (0:00:00.035) 0:01:39.419 ***** 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-civvn5q1ms/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 25 November 2023 13:47:45 +0000 (0:00:00.034) 0:01:39.454 ***** 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-civvn5q1ms/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 25 November 2023 13:47:46 +0000 (0:00:00.035) 0:01:39.489 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 25 November 2023 13:47:46 +0000 (0:00:00.037) 0:01:39.527 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.875506", "end": "2023-11-25 13:47:47.120829", "rc": 0, "start": "2023-11-25 13:47:46.245323" } STDOUT: NetworkManager-1.40.16-9.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 25 November 2023 13:47:47 +0000 (0:00:01.089) 0:01:40.616 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-9.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 25 November 2023 13:47:47 +0000 (0:00:00.036) 0:01:40.653 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-9.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-civvn5q1ms/tests/playbooks/tasks/run_test.yml:42 Saturday 25 November 2023 13:47:47 +0000 (0:00:00.035) 0:01:40.688 ***** 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-civvn5q1ms/tests/playbooks/tasks/run_test.yml:47 Saturday 25 November 2023 13:47:47 +0000 (0:00:00.045) 0:01:40.734 ***** 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-civvn5q1ms/tests/playbooks/tasks/run_test.yml:66 Saturday 25 November 2023 13:47:47 +0000 (0:00:00.034) 0:01:40.769 ***** included: /WORKDIR/git-weekly-civvn5q1ms/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-civvn5q1ms/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 25 November 2023 13:47:47 +0000 (0:00:00.053) 0:01:40.822 ***** 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.045608", "end": "2023-11-25 13:47:47.585667", "rc": 0, "start": "2023-11-25 13:47:47.540059" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. PLAY RECAP ********************************************************************* sut : ok=347 changed=13 unreachable=0 failed=0 skipped=212 rescued=0 ignored=10 Saturday 25 November 2023 13:47:47 +0000 (0:00:00.311) 0:01:41.134 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.85s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:27 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 fedora.linux_system_roles.network : Check which packages are installed --- 1.37s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 fedora.linux_system_roles.network : Check which packages are installed --- 1.36s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 fedora.linux_system_roles.network : Check which packages are installed --- 1.34s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 fedora.linux_system_roles.network : Check which packages are installed --- 1.33s /WORKDIR/git-weekly-civvn5q1ms/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:32 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---