# 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-route_typewg_bp_ty/.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-route_typewg_bp_ty/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/tests_states_initscripts.yml:5 Tuesday 09 January 2024 19:56:10 +0000 (0:00:00.015) 0:00:00.015 ******* ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typewg_bp_ty/tests/tests_states_initscripts.yml:8 Tuesday 09 January 2024 19:56:11 +0000 (0:00:00.796) 0:00:00.812 ******* included: /WORKDIR/git-route_typewg_bp_ty/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-route_typewg_bp_ty/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 19:56:11 +0000 (0:00:00.013) 0:00:00.825 ******* skipping: [sut] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/tasks/el_repo_setup.yml:17 Tuesday 09 January 2024 19:56:11 +0000 (0:00:00.026) 0:00:00.851 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/tasks/el_repo_setup.yml:22 Tuesday 09 January 2024 19:56:11 +0000 (0:00:00.197) 0:00:01.049 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/tasks/el_repo_setup.yml:26 Tuesday 09 January 2024 19:56:11 +0000 (0:00:00.015) 0:00:01.064 ******* 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-route_typewg_bp_ty/tests/tasks/el_repo_setup.yml:51 Tuesday 09 January 2024 19:56:11 +0000 (0:00:00.008) 0:00:01.073 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 19:56:11 +0000 (0:00:00.022) 0:00:01.096 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.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-route_typewg_bp_ty/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.190) 0:00:01.287 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.465) 0:00:01.752 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.190328", "end": "2024-01-09 19:56:12.881792", "rc": 0, "start": "2024-01-09 19:56:12.691464" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.314) 0:00:02.067 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '8'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.010) 0:00:02.077 ******* 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-route_typewg_bp_ty/tests/tests_states_initscripts.yml:10 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.009) 0:00:02.086 ******* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 19:56:12 +0000 (0:00:00.022) 0:00:02.109 ******* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.580) 0:00:02.690 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.020) 0:00:02.711 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.026) 0:00:02.737 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.023) 0:00:02.761 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.048) 0:00:02.809 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.029) 0:00:02.838 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.031) 0:00:02.870 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003659", "end": "2024-01-09 19:56:13.856541", "rc": 0, "start": "2024-01-09 19:56:13.852882" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.173) 0:00:03.044 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.043) 0:00:03.087 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:56:13 +0000 (0:00:00.061) 0:00:03.149 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_typewg_bp_ty/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-route_typewg_bp_ty/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.040) 0:00:03.190 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010557", "end": "2024-01-09 19:56:14.154531", "rc": 1, "start": "2024-01-09 19:56:14.143974" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.158) 0:00:03.348 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.054) 0:00:03.403 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.165) 0:00:03.569 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.039) 0:00:03.609 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.049) 0:00:03.658 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.045) 0:00:03.703 ******* included: /WORKDIR/git-route_typewg_bp_ty/.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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.059) 0:00:03.762 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.047) 0:00:03.810 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.054) 0:00:03.865 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:56:14 +0000 (0:00:00.034) 0:00:03.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 : Check which packages are installed] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:56:15 +0000 (0:00:00.968) 0:00:04.868 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.881) 0:00:05.749 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.049) 0:00:05.798 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.031) 0:00:05.829 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.038) 0:00:05.868 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.066) 0:00:05.935 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.064) 0:00:06.000 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.038) 0:00:06.038 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:56:16 +0000 (0:00:00.079) 0:00:06.117 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.067) 0:00:06.185 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.130) 0:00:06.316 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:56:17 +0000 (0:00:00.567) 0:00:06.883 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111222h2tdign/tmpd7ep7h91" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.299) 0:00:07.183 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.425) 0:00:07.608 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.056) 0:00:07.665 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.033) 0:00:07.699 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.033) 0:00:07.732 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.051) 0:00:07.783 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.290) 0:00:08.074 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:56:18 +0000 (0:00:00.067) 0:00:08.141 ******* included: /WORKDIR/git-route_typewg_bp_ty/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-route_typewg_bp_ty/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.061) 0:00:08.203 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.074) 0:00:08.278 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.030) 0:00:08.308 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830178.4018316, "block_size": 4096, "blocks": 8, "ctime": 1704830178.4018316, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468709, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704830178.4018316, "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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.139) 0:00:08.448 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.028) 0:00:08.476 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025285", "end": "2024-01-09 19:56:19.449699", "rc": 1, "start": "2024-01-09 19:56:19.424414" } 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.189) 0:00:08.665 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.027) 0:00:08.693 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003528", "end": "2024-01-09 19:56:19.645093", "rc": 0, "start": "2024-01-09 19:56:19.641565" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.166) 0:00:08.860 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.034) 0:00:08.895 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003441", "end": "2024-01-09 19:56:19.856280", "rc": 0, "start": "2024-01-09 19:56:19.852839" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.177) 0:00:09.072 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.033) 0:00:09.105 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.031) 0:00:09.136 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:56:19 +0000 (0:00:00.031) 0:00:09.168 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.051) 0:00:09.220 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.049) 0:00:09.270 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.037) 0:00:09.307 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.044) 0:00:09.352 ******* 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.046724", "end": "2024-01-09 19:56:20.345909", "rc": 1, "start": "2024-01-09 19:56:20.299185" } 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-route_typewg_bp_ty/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.186) 0:00:09.538 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.039) 0:00:09.578 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.028) 0:00:09.606 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.051) 0:00:09.658 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.063) 0:00:09.721 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.055) 0:00:09.777 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003731", "end": "2024-01-09 19:56:20.728988", "rc": 0, "start": "2024-01-09 19:56:20.725257" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.167) 0:00:09.945 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.041) 0:00:09.986 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.033) 0:00:10.020 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_typewg_bp_ty/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-route_typewg_bp_ty/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 19:56:20 +0000 (0:00:00.048) 0:00:10.068 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007254", "end": "2024-01-09 19:56:21.024096", "rc": 1, "start": "2024-01-09 19:56:21.016842" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.149) 0:00:10.218 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.042) 0:00:10.261 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.166) 0:00:10.428 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.032) 0:00:10.460 ******* included: /WORKDIR/git-route_typewg_bp_ty/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-route_typewg_bp_ty/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.045) 0:00:10.505 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.048) 0:00:10.553 ******* included: /WORKDIR/git-route_typewg_bp_ty/.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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.047) 0:00:10.600 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.105) 0:00:10.705 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.031) 0:00:10.737 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:56:21 +0000 (0:00:00.031) 0:00:10.769 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:56:22 +0000 (0:00:00.824) 0:00:11.593 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.683) 0:00:12.276 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.069) 0:00:12.346 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.032) 0:00:12.379 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.035) 0:00:12.414 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.056) 0:00:12.470 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.047) 0:00:12.518 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.049) 0:00:12.568 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.064) 0:00:12.632 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.037) 0:00:12.670 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.039) 0:00:12.710 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:56:23 +0000 (0:00:00.277) 0:00:12.987 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111222h2tdign/tmpootj1atv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.213) 0:00:13.200 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.314) 0:00:13.514 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.044) 0:00:13.559 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.036) 0:00:13.595 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.031) 0:00:13.627 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.030) 0:00:13.658 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.150) 0:00:13.808 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.031) 0:00:13.839 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-route_typewg_bp_ty/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-route_typewg_bp_ty/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.048) 0:00:13.887 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.040) 0:00:13.928 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.143) 0:00:14.071 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.030) 0:00:14.102 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.040) 0:00:14.142 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:56:24 +0000 (0:00:00.028) 0:00:14.171 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830184.2705882, "block_size": 4096, "blocks": 8, "ctime": 1704830184.2705882, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468709, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704830184.2705882, "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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.170) 0:00:14.342 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.042) 0:00:14.384 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022056", "end": "2024-01-09 19:56:25.398389", "rc": 1, "start": "2024-01-09 19:56:25.376333" } 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.246) 0:00:14.631 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.037) 0:00:14.668 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003546", "end": "2024-01-09 19:56:25.643677", "rc": 0, "start": "2024-01-09 19:56:25.640131" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.178) 0:00:14.846 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.042) 0:00:14.889 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003462", "end": "2024-01-09 19:56:25.849274", "rc": 0, "start": "2024-01-09 19:56:25.845812" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.154) 0:00:15.043 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.031) 0:00:15.075 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.030) 0:00:15.105 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:56:25 +0000 (0:00:00.030) 0:00:15.135 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.040) 0:00:15.176 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.025) 0:00:15.202 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.031) 0:00:15.233 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.056) 0:00:15.290 ******* 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.045771", "end": "2024-01-09 19:56:26.294349", "rc": 1, "start": "2024-01-09 19:56:26.248578" } 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-route_typewg_bp_ty/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.210) 0:00:15.501 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.059) 0:00:15.560 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.033) 0:00:15.593 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.059) 0:00:15.653 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.151) 0:00:15.805 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.059) 0:00:15.864 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003699", "end": "2024-01-09 19:56:26.838724", "rc": 0, "start": "2024-01-09 19:56:26.835025" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.169) 0:00:16.034 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.035) 0:00:16.069 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.034) 0:00:16.104 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:56:26 +0000 (0:00:00.041) 0:00:16.146 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:27 +0000 (0:00:00.046) 0:00:16.192 ******* included: /WORKDIR/git-route_typewg_bp_ty/.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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:27 +0000 (0:00:00.044) 0:00:16.237 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:56:27 +0000 (0:00:00.032) 0:00:16.270 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:56:27 +0000 (0:00:00.033) 0:00:16.303 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:56:27 +0000 (0:00:00.031) 0:00:16.334 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:56:27 +0000 (0:00:00.804) 0:00:17.139 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.784) 0:00:17.923 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.041) 0:00:17.965 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.036) 0:00:18.001 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.034) 0:00:18.036 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.061) 0:00:18.098 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.038) 0:00:18.136 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:56:28 +0000 (0:00:00.033) 0:00:18.170 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.045) 0:00:18.216 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.043) 0:00:18.259 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.041) 0:00:18.301 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.302) 0:00:18.603 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111222h2tdign/tmpz2_k00d1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.265) 0:00:18.869 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.232) 0:00:19.102 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.031) 0:00:19.133 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:56:29 +0000 (0:00:00.031) 0:00:19.165 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:56:30 +0000 (0:00:00.034) 0:00:19.200 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:56:30 +0000 (0:00:00.033) 0:00:19.233 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:56:30 +0000 (0:00:00.175) 0:00:19.408 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:56:30 +0000 (0:00:00.030) 0:00:19.439 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:56:30 +0000 (0:00:00.041) 0:00:19.481 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:30 +0000 (0:00:00.048) 0:00:19.529 ******* included: /WORKDIR/git-route_typewg_bp_ty/.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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:30 +0000 (0:00:00.043) 0:00:19.573 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:56:30 +0000 (0:00:00.032) 0:00:19.605 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:56:30 +0000 (0:00:00.029) 0:00:19.634 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:56:30 +0000 (0:00:00.034) 0:00:19.669 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.801) 0:00:20.471 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:31 +0000 (0:00:00.685) 0:00:21.157 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.042) 0:00:21.199 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.033) 0:00:21.233 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.030) 0:00:21.263 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.137) 0:00:21.401 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.046) 0:00:21.448 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.039) 0:00:21.487 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.036) 0:00:21.523 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.039) 0:00:21.563 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.031) 0:00:21.595 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.278) 0:00:21.873 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111222h2tdign/tmplg3timh7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:56:32 +0000 (0:00:00.255) 0:00:22.129 ******* 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='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.491) 0:00:22.620 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.031) 0:00:22.652 ******* 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='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.029) 0:00:22.681 ******* 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='', err=''\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='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.029) 0:00:22.711 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.030) 0:00:22.741 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.149) 0:00:22.890 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_typewg_bp_ty/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-route_typewg_bp_ty/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.050) 0:00:22.941 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.044) 0:00:22.985 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830193.3562112, "block_size": 4096, "blocks": 0, "ctime": 1704830193.3552113, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17599, "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": 1704830193.3552113, "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-route_typewg_bp_ty/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:56:33 +0000 (0:00:00.171) 0:00:23.156 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.030) 0:00:23.186 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.040) 0:00:23.227 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.030) 0:00:23.257 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830193.1832185, "block_size": 4096, "blocks": 8, "ctime": 1704830189.9073544, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468709, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704830189.9073544, "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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.138) 0:00:23.396 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.029) 0:00:23.426 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023996", "end": "2024-01-09 19:56:34.411734", "rc": 1, "start": "2024-01-09 19:56:34.387738" } 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.181) 0:00:23.607 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.048) 0:00:23.655 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003575", "end": "2024-01-09 19:56:34.649295", "rc": 0, "start": "2024-01-09 19:56:34.645720" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.204) 0:00:23.860 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.034) 0:00:23.894 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003428", "end": "2024-01-09 19:56:34.847888", "rc": 0, "start": "2024-01-09 19:56:34.844460" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.150) 0:00:24.045 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:56:34 +0000 (0:00:00.065) 0:00:24.111 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.063) 0:00:24.174 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.038) 0:00:24.213 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.029) 0:00:24.242 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.028) 0:00:24.271 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.032) 0:00:24.304 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.112) 0:00:24.417 ******* 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.052537", "end": "2024-01-09 19:56:35.419671", "rc": 0, "start": "2024-01-09 19:56:35.367134" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.198) 0:00:24.615 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.056) 0:00:24.672 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.031) 0:00:24.703 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.054) 0:00:24.758 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.040) 0:00:24.798 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.039) 0:00:24.838 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003663", "end": "2024-01-09 19:56:35.791590", "rc": 0, "start": "2024-01-09 19:56:35.787927" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.147) 0:00:24.985 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.062) 0:00:25.047 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.046) 0:00:25.093 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:56:35 +0000 (0:00:00.049) 0:00:25.143 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:36 +0000 (0:00:00.054) 0:00:25.198 ******* included: /WORKDIR/git-route_typewg_bp_ty/.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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:36 +0000 (0:00:00.088) 0:00:25.286 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:56:36 +0000 (0:00:00.036) 0:00:25.323 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:56:36 +0000 (0:00:00.041) 0:00:25.364 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:56:36 +0000 (0:00:00.046) 0:00:25.411 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.840) 0:00:26.252 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.683) 0:00:26.935 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.034) 0:00:26.970 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.033) 0:00:27.003 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.033) 0:00:27.037 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.054) 0:00:27.092 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:56:37 +0000 (0:00:00.044) 0:00:27.136 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.046) 0:00:27.183 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.036) 0:00:27.219 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.030) 0:00:27.250 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.035) 0:00:27.286 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.255) 0:00:27.542 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111222h2tdign/tmpz78bjzh9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.241) 0:00:27.784 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.335) 0:00:28.119 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:56:38 +0000 (0:00:00.043) 0:00:28.162 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.032) 0:00:28.195 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.031) 0:00:28.226 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.031) 0:00:28.257 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.159) 0:00:28.416 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.041) 0:00:28.458 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.061) 0:00:28.520 ******* included: /WORKDIR/git-route_typewg_bp_ty/.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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.052) 0:00:28.572 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.034) 0:00:28.607 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.033) 0:00:28.640 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:56:39 +0000 (0:00:00.036) 0:00:28.677 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:56:40 +0000 (0:00:00.817) 0:00:29.494 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:41 +0000 (0:00:00.775) 0:00:30.270 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:41 +0000 (0:00:00.039) 0:00:30.309 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:56:41 +0000 (0:00:00.039) 0:00:30.349 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:56:41 +0000 (0:00:00.036) 0:00:30.386 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:56:41 +0000 (0:00:00.054) 0:00:30.440 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:56:41 +0000 (0:00:00.031) 0:00:30.473 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:56:41 +0000 (0:00:00.041) 0:00:30.515 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:56:41 +0000 (0:00:00.036) 0:00:30.551 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:56:41 +0000 (0:00:00.054) 0:00:30.605 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:56:41 +0000 (0:00:00.033) 0:00:30.639 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:56:41 +0000 (0:00:00.304) 0:00:30.944 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111222h2tdign/tmpva9dvv0u" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.325) 0:00:31.269 ******* 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='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.591) 0:00:31.861 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.065) 0:00:31.926 ******* 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='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.089) 0:00:32.015 ******* 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='', err=''\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='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.066) 0:00:32.082 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:56:42 +0000 (0:00:00.049) 0:00:32.132 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.255) 0:00:32.387 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.091) 0:00:32.479 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.050) 0:00:32.529 ******* included: /WORKDIR/git-route_typewg_bp_ty/.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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.070) 0:00:32.599 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.034) 0:00:32.633 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.029) 0:00:32.663 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:56:43 +0000 (0:00:00.029) 0:00:32.692 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:56:44 +0000 (0:00:00.806) 0:00:33.498 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.688) 0:00:34.187 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.039) 0:00:34.226 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.053) 0:00:34.280 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.032) 0:00:34.312 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.052) 0:00:34.365 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.069) 0:00:34.435 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.031) 0:00:34.466 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.036) 0:00:34.502 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.030) 0:00:34.533 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.027) 0:00:34.561 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.246) 0:00:34.807 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111222h2tdign/tmpml83qi0n" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:56:45 +0000 (0:00:00.254) 0:00:35.061 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.272) 0:00:35.334 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.032) 0:00:35.366 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.072) 0:00:35.439 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.085) 0:00:35.525 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.055) 0:00:35.580 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.154) 0:00:35.735 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_typewg_bp_ty/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-route_typewg_bp_ty/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.045) 0:00:35.781 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.037) 0:00:35.818 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830202.5758288, "block_size": 4096, "blocks": 0, "ctime": 1704830202.5748289, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17599, "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": 1704830202.5748289, "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-route_typewg_bp_ty/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.152) 0:00:35.971 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.132) 0:00:36.103 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:56:46 +0000 (0:00:00.043) 0:00:36.147 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.028) 0:00:36.175 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.139) 0:00:36.315 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.028) 0:00:36.343 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024783", "end": "2024-01-09 19:56:47.314794", "rc": 1, "start": "2024-01-09 19:56:47.290011" } 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.168) 0:00:36.512 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.039) 0:00:36.551 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.042) 0:00:36.594 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.037) 0:00:36.631 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.031) 0:00:36.662 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.031) 0:00:36.693 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.033) 0:00:36.727 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.026) 0:00:36.753 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.032) 0:00:36.785 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.044) 0:00:36.830 ******* 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.050619", "end": "2024-01-09 19:56:47.839607", "rc": 0, "start": "2024-01-09 19:56:47.788988" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tests_states.yml:102 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.204) 0:00:37.035 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.068) 0:00:37.103 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:56:47 +0000 (0:00:00.029) 0:00:37.133 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.059) 0:00:37.193 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.044) 0:00:37.238 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.047) 0:00:37.285 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003501", "end": "2024-01-09 19:56:48.264248", "rc": 0, "start": "2024-01-09 19:56:48.260747" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.174) 0:00:37.460 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.033) 0:00:37.493 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.033) 0:00:37.527 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.056) 0:00:37.583 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.058) 0:00:37.641 ******* included: /WORKDIR/git-route_typewg_bp_ty/.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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.049) 0:00:37.691 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.042) 0:00:37.734 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.029) 0:00:37.764 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:56:48 +0000 (0:00:00.063) 0:00:37.828 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:56:49 +0000 (0:00:00.803) 0:00:38.631 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.675) 0:00:39.306 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.034) 0:00:39.340 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.031) 0:00:39.372 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.032) 0:00:39.404 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.082) 0:00:39.487 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.080) 0:00:39.567 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.076) 0:00:39.644 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.100) 0:00:39.744 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.061) 0:00:39.805 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.039) 0:00:39.845 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:56:50 +0000 (0:00:00.275) 0:00:40.121 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111222h2tdign/tmpw69v2fp7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.272) 0:00:40.394 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.297) 0:00:40.691 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.033) 0:00:40.725 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.077) 0:00:40.803 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.035) 0:00:40.838 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.031) 0:00:40.870 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.150) 0:00:41.020 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.037) 0:00:41.058 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.053) 0:00:41.111 ******* included: /WORKDIR/git-route_typewg_bp_ty/.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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:51 +0000 (0:00:00.055) 0:00:41.166 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.074) 0:00:41.241 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.035) 0:00:41.276 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.047) 0:00:41.324 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:56:52 +0000 (0:00:00.825) 0:00:42.149 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.689) 0:00:42.839 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.033) 0:00:42.872 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.067) 0:00:42.940 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.031) 0:00:42.972 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.066) 0:00:43.038 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.035) 0:00:43.073 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.032) 0:00:43.106 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:56:53 +0000 (0:00:00.036) 0:00:43.142 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:56:54 +0000 (0:00:00.041) 0:00:43.184 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:56:54 +0000 (0:00:00.069) 0:00:43.253 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:56:54 +0000 (0:00:00.312) 0:00:43.566 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111222h2tdign/tmpimu_weaa" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:56:54 +0000 (0:00:00.286) 0:00:43.852 ******* 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='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.498) 0:00:44.351 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.060) 0:00:44.411 ******* 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='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.036) 0:00:44.447 ******* 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='', err=''\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='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.068) 0:00:44.516 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.065) 0:00:44.582 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.189) 0:00:44.771 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.096) 0:00:44.868 ******* included: /WORKDIR/git-route_typewg_bp_ty/.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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.074) 0:00:44.942 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.073) 0:00:45.015 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.058) 0:00:45.074 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:56:55 +0000 (0:00:00.031) 0:00:45.106 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:56:56 +0000 (0:00:00.819) 0:00:45.926 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.673) 0:00:46.599 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.031) 0:00:46.631 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.046) 0:00:46.677 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.033) 0:00:46.711 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.054) 0:00:46.765 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.034) 0:00:46.799 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.036) 0:00:46.836 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.038) 0:00:46.874 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.034) 0:00:46.909 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:56:57 +0000 (0:00:00.091) 0:00:47.000 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.292) 0:00:47.292 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111222h2tdign/tmpy_htb5k6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.300) 0:00:47.593 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.241) 0:00:47.834 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.032) 0:00:47.867 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.030) 0:00:47.897 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.032) 0:00:47.930 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.033) 0:00:47.963 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.149) 0:00:48.112 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:56:58 +0000 (0:00:00.043) 0:00:48.156 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:56:59 +0000 (0:00:00.048) 0:00:48.204 ******* included: /WORKDIR/git-route_typewg_bp_ty/.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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:56:59 +0000 (0:00:00.048) 0:00:48.252 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:56:59 +0000 (0:00:00.039) 0:00:48.292 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:56:59 +0000 (0:00:00.033) 0:00:48.325 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:56:59 +0000 (0:00:00.033) 0:00:48.359 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:57:00 +0000 (0:00:00.908) 0:00:49.267 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:57:00 +0000 (0:00:00.701) 0:00:49.969 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:57:00 +0000 (0:00:00.038) 0:00:50.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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:57:00 +0000 (0:00:00.031) 0:00:50.039 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:57:00 +0000 (0:00:00.030) 0:00:50.069 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:57:00 +0000 (0:00:00.051) 0:00:50.121 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:57:00 +0000 (0:00:00.032) 0:00:50.154 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:57:01 +0000 (0:00:00.030) 0:00:50.184 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:57:01 +0000 (0:00:00.045) 0:00:50.230 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:57:01 +0000 (0:00:00.057) 0:00:50.287 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:57:01 +0000 (0:00:00.059) 0:00:50.347 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:57:01 +0000 (0:00:00.315) 0:00:50.662 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111222h2tdign/tmp4acbwm5f" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:57:01 +0000 (0:00:00.260) 0:00:50.923 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:57:01 +0000 (0:00:00.236) 0:00:51.160 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.035) 0:00:51.196 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.033) 0:00:51.229 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.083) 0:00:51.313 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.046) 0:00:51.360 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.160) 0:00:51.521 ******* included: /WORKDIR/git-route_typewg_bp_ty/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-route_typewg_bp_ty/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.082) 0:00:51.603 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.052) 0:00:51.655 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.038) 0:00:51.694 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.154) 0:00:51.848 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.049) 0:00:51.897 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024790", "end": "2024-01-09 19:57:02.877572", "rc": 1, "start": "2024-01-09 19:57:02.852782" } 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.173) 0:00:52.071 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.031) 0:00:52.102 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.033) 0:00:52.136 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:57:02 +0000 (0:00:00.031) 0:00:52.167 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.027) 0:00:52.195 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.032) 0:00:52.227 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.031) 0:00:52.258 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.031) 0:00:52.290 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.118) 0:00:52.408 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.047) 0:00:52.456 ******* 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.051764", "end": "2024-01-09 19:57:03.458858", "rc": 0, "start": "2024-01-09 19:57:03.407094" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tests_states.yml:124 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.202) 0:00:52.659 ******* included: /WORKDIR/git-route_typewg_bp_ty/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-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.047) 0:00:52.707 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.031) 0:00:52.738 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.060) 0:00:52.799 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.046) 0:00:52.846 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.057) 0:00:52.904 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003509", "end": "2024-01-09 19:57:03.870976", "rc": 0, "start": "2024-01-09 19:57:03.867467" } STDOUT: bond0 bonding_masters dummy0 eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.168) 0:00:53.072 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.030) 0:00:53.103 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:57:03 +0000 (0:00:00.029) 0:00:53.132 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:57:04 +0000 (0:00:00.047) 0:00:53.179 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:57:04 +0000 (0:00:00.048) 0:00:53.227 ******* included: /WORKDIR/git-route_typewg_bp_ty/.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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:57:04 +0000 (0:00:00.123) 0:00:53.351 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:57:04 +0000 (0:00:00.039) 0:00:53.391 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:57:04 +0000 (0:00:00.035) 0:00:53.426 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:57:04 +0000 (0:00:00.038) 0:00:53.465 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:57:05 +0000 (0:00:00.829) 0:00:54.294 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:57:05 +0000 (0:00:00.697) 0:00:54.992 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:57:05 +0000 (0:00:00.039) 0:00:55.032 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:57:05 +0000 (0:00:00.077) 0:00:55.109 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:57:05 +0000 (0:00:00.043) 0:00:55.152 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:57:06 +0000 (0:00:00.055) 0:00:55.208 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:57:06 +0000 (0:00:00.033) 0:00:55.242 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:57:06 +0000 (0:00:00.043) 0:00:55.285 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:57:06 +0000 (0:00:00.047) 0:00:55.333 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:57:06 +0000 (0:00:00.044) 0:00:55.377 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:57:06 +0000 (0:00:00.030) 0:00:55.408 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:57:06 +0000 (0:00:00.357) 0:00:55.766 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111222h2tdign/tmpxzh9ubf3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:57:06 +0000 (0:00:00.241) 0:00:56.007 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:57:07 +0000 (0:00:00.230) 0:00:56.238 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:57:07 +0000 (0:00:00.031) 0:00:56.270 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:57:07 +0000 (0:00:00.030) 0:00:56.300 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:57:07 +0000 (0:00:00.031) 0:00:56.332 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:57:07 +0000 (0:00:00.029) 0:00:56.361 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:57:07 +0000 (0:00:00.159) 0:00:56.520 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:57:07 +0000 (0:00:00.029) 0:00:56.550 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:57:07 +0000 (0:00:00.055) 0:00:56.605 ******* included: /WORKDIR/git-route_typewg_bp_ty/.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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:57:07 +0000 (0:00:00.050) 0:00:56.656 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:57:07 +0000 (0:00:00.038) 0:00:56.694 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:57:07 +0000 (0:00:00.036) 0:00:56.731 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:57:07 +0000 (0:00:00.031) 0:00:56.763 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:57:08 +0000 (0:00:00.879) 0:00:57.642 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:57:09 +0000 (0:00:00.720) 0:00:58.363 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:57:09 +0000 (0:00:00.054) 0:00:58.417 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:57:09 +0000 (0:00:00.060) 0:00:58.477 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:57:09 +0000 (0:00:00.033) 0:00:58.511 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:57:09 +0000 (0:00:00.062) 0:00:58.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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:57:09 +0000 (0:00:00.039) 0:00:58.612 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:57:09 +0000 (0:00:00.035) 0:00:58.648 ******* skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:57:09 +0000 (0:00:00.047) 0:00:58.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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:57:09 +0000 (0:00:00.031) 0:00:58.727 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:57:09 +0000 (0:00:00.053) 0:00:58.780 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:57:09 +0000 (0:00:00.297) 0:00:59.077 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111222h2tdign/tmputjb3mv9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:57:10 +0000 (0:00:00.228) 0:00:59.306 ******* 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='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:57:10 +0000 (0:00:00.468) 0:00:59.775 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:57:10 +0000 (0:00:00.033) 0:00:59.809 ******* 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='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:57:10 +0000 (0:00:00.037) 0:00:59.846 ******* 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='', err=''\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='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:57:10 +0000 (0:00:00.037) 0:00:59.884 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:57:10 +0000 (0:00:00.066) 0:00:59.951 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:57:10 +0000 (0:00:00.176) 0:01:00.127 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:57:11 +0000 (0:00:00.097) 0:01:00.225 ******* included: /WORKDIR/git-route_typewg_bp_ty/.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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:57:11 +0000 (0:00:00.062) 0:01:00.287 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:57:11 +0000 (0:00:00.035) 0:01:00.323 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:57:11 +0000 (0:00:00.031) 0:01:00.354 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:57:11 +0000 (0:00:00.032) 0:01:00.386 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:57:12 +0000 (0:00:00.809) 0:01:01.196 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:57:12 +0000 (0:00:00.691) 0:01:01.888 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:57:12 +0000 (0:00:00.052) 0:01:01.940 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:57:12 +0000 (0:00:00.034) 0:01:01.974 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:57:12 +0000 (0:00:00.033) 0:01:02.008 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:57:12 +0000 (0:00:00.057) 0:01:02.066 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:57:12 +0000 (0:00:00.094) 0:01:02.160 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:57:13 +0000 (0:00:00.067) 0:01:02.228 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:57:13 +0000 (0:00:00.037) 0:01:02.266 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:57:13 +0000 (0:00:00.033) 0:01:02.299 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:57:13 +0000 (0:00:00.031) 0:01:02.331 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:57:13 +0000 (0:00:00.313) 0:01:02.644 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111222h2tdign/tmpilpkphzo" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:57:13 +0000 (0:00:00.242) 0:01:02.886 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:57:13 +0000 (0:00:00.252) 0:01:03.138 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:57:14 +0000 (0:00:00.034) 0:01:03.173 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:57:14 +0000 (0:00:00.045) 0:01:03.219 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:57:14 +0000 (0:00:00.044) 0:01:03.263 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:57:14 +0000 (0:00:00.037) 0:01:03.301 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:57:14 +0000 (0:00:00.160) 0:01:03.462 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:57:14 +0000 (0:00:00.045) 0:01:03.507 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 09 January 2024 19:57:14 +0000 (0:00:00.047) 0:01:03.555 ******* included: /WORKDIR/git-route_typewg_bp_ty/.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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:57:14 +0000 (0:00:00.081) 0:01:03.637 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 09 January 2024 19:57:14 +0000 (0:00:00.041) 0:01:03.679 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 09 January 2024 19:57:14 +0000 (0:00:00.032) 0:01:03.711 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 09 January 2024 19:57:14 +0000 (0:00:00.033) 0:01:03.744 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 09 January 2024 19:57:15 +0000 (0:00:00.823) 0:01:04.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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 09 January 2024 19:57:16 +0000 (0:00:00.704) 0:01:05.272 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 09 January 2024 19:57:16 +0000 (0:00:00.043) 0:01:05.315 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 09 January 2024 19:57:16 +0000 (0:00:00.045) 0:01:05.361 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Tuesday 09 January 2024 19:57:16 +0000 (0:00:00.033) 0:01:05.394 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 09 January 2024 19:57:16 +0000 (0:00:00.052) 0:01:05.447 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Tuesday 09 January 2024 19:57:16 +0000 (0:00:00.030) 0:01:05.478 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Tuesday 09 January 2024 19:57:16 +0000 (0:00:00.029) 0:01:05.507 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Tuesday 09 January 2024 19:57:16 +0000 (0:00:00.034) 0:01:05.541 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Tuesday 09 January 2024 19:57:16 +0000 (0:00:00.063) 0:01:05.604 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 09 January 2024 19:57:16 +0000 (0:00:00.054) 0:01:05.659 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Tuesday 09 January 2024 19:57:16 +0000 (0:00:00.346) 0:01:06.006 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111222h2tdign/tmpd6ssmhjl" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 09 January 2024 19:57:17 +0000 (0:00:00.254) 0:01:06.260 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Tuesday 09 January 2024 19:57:17 +0000 (0:00:00.240) 0:01:06.501 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Tuesday 09 January 2024 19:57:17 +0000 (0:00:00.032) 0:01:06.533 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Tuesday 09 January 2024 19:57:17 +0000 (0:00:00.031) 0:01:06.564 ******* 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-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Tuesday 09 January 2024 19:57:17 +0000 (0:00:00.034) 0:01:06.599 ******* skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 09 January 2024 19:57:17 +0000 (0:00:00.032) 0:01:06.631 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:57:17 +0000 (0:00:00.151) 0:01:06.782 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-route_typewg_bp_ty/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-route_typewg_bp_ty/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:57:17 +0000 (0:00:00.075) 0:01:06.858 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:57:17 +0000 (0:00:00.044) 0:01:06.903 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:57:17 +0000 (0:00:00.028) 0:01:06.932 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:57:17 +0000 (0:00:00.151) 0:01:07.083 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:57:17 +0000 (0:00:00.048) 0:01:07.132 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024619", "end": "2024-01-09 19:57:18.151606", "rc": 1, "start": "2024-01-09 19:57:18.126987" } 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:57:18 +0000 (0:00:00.236) 0:01:07.368 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:57:18 +0000 (0:00:00.033) 0:01:07.401 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:57:18 +0000 (0:00:00.028) 0:01:07.430 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:57:18 +0000 (0:00:00.065) 0:01:07.495 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:57:18 +0000 (0:00:00.028) 0:01:07.524 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:57:18 +0000 (0:00:00.036) 0:01:07.561 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 19:57:18 +0000 (0:00:00.036) 0:01:07.597 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.398189", "end": "2024-01-09 19:57:18.944997", "rc": 0, "start": "2024-01-09 19:57:18.546808" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 19:57:18 +0000 (0:00:00.544) 0:01:08.141 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 19:57:19 +0000 (0:00:00.033) 0:01:08.175 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:57:19 +0000 (0:00:00.032) 0:01:08.207 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:57:19 +0000 (0:00:00.036) 0:01:08.244 ******* 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-route_typewg_bp_ty/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:57:19 +0000 (0:00:00.044) 0:01:08.288 ******* included: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typewg_bp_ty/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:57:19 +0000 (0:00:00.048) 0:01:08.337 ******* 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.051450", "end": "2024-01-09 19:57:19.382640", "rc": 0, "start": "2024-01-09 19:57:19.331190" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. PLAY RECAP ********************************************************************* sut : ok=333 changed=13 unreachable=0 failed=0 skipped=226 rescued=0 ignored=10 Tuesday 09 January 2024 19:57:19 +0000 (0:00:00.272) 0:01:08.609 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 0.97s /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.91s /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.88s /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 0.88s /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.84s /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.83s /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.83s /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.82s /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.82s /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.82s /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.82s /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.81s /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.81s /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.80s /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.80s /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.80s /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 0.80s /WORKDIR/git-route_typewg_bp_ty/tests/tests_states_initscripts.yml:5 ---------- fedora.linux_system_roles.network : Check which packages are installed --- 0.78s /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.78s /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.72s /WORKDIR/git-route_typewg_bp_ty/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---