# 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_typephj2trft/.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_typephj2trft/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typephj2trft/tests/tests_states_initscripts.yml:5 Friday 12 January 2024 20:18:02 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typephj2trft/tests/tests_states_initscripts.yml:8 Friday 12 January 2024 20:18:03 +0000 (0:00:00.724) 0:00:00.737 ******** included: /WORKDIR/git-route_typephj2trft/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_typephj2trft/tests/tasks/el_repo_setup.yml:3 Friday 12 January 2024 20:18:03 +0000 (0:00:00.028) 0:00:00.766 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typephj2trft/tests/tasks/el_repo_setup.yml:17 Friday 12 January 2024 20:18:03 +0000 (0:00:00.240) 0:00:01.007 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typephj2trft/tests/tasks/el_repo_setup.yml:22 Friday 12 January 2024 20:18:03 +0000 (0:00:00.198) 0:00:01.205 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/tasks/el_repo_setup.yml:26 Friday 12 January 2024 20:18:03 +0000 (0:00:00.018) 0:00:01.223 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typephj2trft/tests/tasks/el_repo_setup.yml:51 Friday 12 January 2024 20:18:03 +0000 (0:00:00.010) 0:00:01.234 ******** included: /WORKDIR/git-route_typephj2trft/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/tasks/enable_epel.yml:8 Friday 12 January 2024 20:18:03 +0000 (0:00:00.024) 0:00:01.259 ******** 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_typephj2trft/tests/tasks/enable_epel.yml:24 Friday 12 January 2024 20:18:03 +0000 (0:00:00.198) 0:00:01.457 ******** 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_typephj2trft/tests/tasks/enable_epel.yml:30 Friday 12 January 2024 20:18:04 +0000 (0:00:00.438) 0:00:01.896 ******** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.179661", "end": "2024-01-12 20:18:04.509713", "rc": 0, "start": "2024-01-12 20:18:04.330052" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/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/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/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=stock&content=centos 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/7/epel pkgdir = /var/cache/yum/x86_64/7/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_typephj2trft/tests/tasks/enable_epel.yml:35 Friday 12 January 2024 20:18:04 +0000 (0:00:00.328) 0:00:02.224 ******** 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_typephj2trft/tests/tasks/enable_epel.yml:40 Friday 12 January 2024 20:18:04 +0000 (0:00:00.011) 0:00:02.236 ******** 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_typephj2trft/tests/tests_states_initscripts.yml:10 Friday 12 January 2024 20:18:04 +0000 (0:00:00.009) 0:00:02.245 ******** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tests_states.yml:3 Friday 12 January 2024 20:18:04 +0000 (0:00:00.018) 0:00:02.264 ******** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tests_states.yml:11 Friday 12 January 2024 20:18:05 +0000 (0:00:00.575) 0:00:02.839 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tests_states.yml:22 Friday 12 January 2024 20:18:05 +0000 (0:00:00.034) 0:00:02.873 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:18:05 +0000 (0:00:00.044) 0:00:02.918 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:18:05 +0000 (0:00:00.022) 0:00:02.940 ******** 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_typephj2trft/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:18:05 +0000 (0:00:00.057) 0:00:02.998 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:18:05 +0000 (0:00:00.031) 0:00:03.029 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:18:05 +0000 (0:00:00.029) 0:00:03.059 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003798", "end": "2024-01-12 20:18:05.524913", "rc": 0, "start": "2024-01-12 20:18:05.521115" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:18:05 +0000 (0:00:00.159) 0:00:03.218 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:18:05 +0000 (0:00:00.025) 0:00:03.243 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:18:05 +0000 (0:00:00.023) 0:00:03.266 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_typephj2trft/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_typephj2trft/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 20:18:05 +0000 (0:00:00.032) 0:00:03.299 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011970", "end": "2024-01-12 20:18:05.751934", "rc": 1, "start": "2024-01-12 20:18:05.739964" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 20:18:05 +0000 (0:00:00.147) 0:00:03.446 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:18:05 +0000 (0:00:00.023) 0:00:03.470 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 20:18:05 +0000 (0:00:00.157) 0:00:03.628 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:18:05 +0000 (0:00:00.041) 0:00:03.669 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 20:18:06 +0000 (0:00:00.038) 0:00:03.707 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 20:18:06 +0000 (0:00:00.068) 0:00:03.776 ******** included: /WORKDIR/git-route_typephj2trft/.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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 20:18:06 +0000 (0:00:00.048) 0:00:03.825 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 20:18:06 +0000 (0:00:00.051) 0:00:03.876 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 20:18:06 +0000 (0:00:00.035) 0:00:03.911 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 20:18:06 +0000 (0:00:00.034) 0:00:03.946 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 20:18:07 +0000 (0:00:00.948) 0:00:04.895 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 20:18:08 +0000 (0:00:01.205) 0:00:06.101 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 20:18:08 +0000 (0:00:00.054) 0:00:06.155 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 20:18:08 +0000 (0:00:00.061) 0:00:06.217 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 20:18:08 +0000 (0:00:00.041) 0:00:06.259 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 20:18:08 +0000 (0:00:00.061) 0:00:06.320 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 20:18:08 +0000 (0:00:00.045) 0:00:06.366 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 20:18:08 +0000 (0:00:00.033) 0:00:06.399 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 20:18:08 +0000 (0:00:00.035) 0:00:06.435 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 20:18:08 +0000 (0:00:00.029) 0:00:06.464 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 20:18:08 +0000 (0:00:00.057) 0:00:06.522 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 20:18:09 +0000 (0:00:00.509) 0:00:07.031 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11163s_zm9al2/tmp4na7k_lp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 20:18:09 +0000 (0:00:00.254) 0:00:07.285 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 20:18:10 +0000 (0:00:00.452) 0:00:07.738 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 20:18:10 +0000 (0:00:00.030) 0:00:07.768 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 20:18:10 +0000 (0:00:00.032) 0:00:07.801 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 20:18:10 +0000 (0:00:00.031) 0:00:07.833 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 20:18:10 +0000 (0:00:00.035) 0:00:07.868 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 20:18:10 +0000 (0:00:00.221) 0:00:08.089 ******** 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_typephj2trft/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:18:10 +0000 (0:00:00.031) 0:00:08.121 ******** included: /WORKDIR/git-route_typephj2trft/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_typephj2trft/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 20:18:10 +0000 (0:00:00.044) 0:00:08.165 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:18:10 +0000 (0:00:00.042) 0:00:08.208 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:18:10 +0000 (0:00:00.029) 0:00:08.237 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090690.0336962, "block_size": 4096, "blocks": 8, "ctime": 1705090690.0336962, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25401, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705090690.0336962, "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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:18:10 +0000 (0:00:00.151) 0:00:08.389 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:18:10 +0000 (0:00:00.034) 0:00:08.423 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024550", "end": "2024-01-12 20:18:10.892009", "rc": 1, "start": "2024-01-12 20:18:10.867459" } 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:18:10 +0000 (0:00:00.177) 0:00:08.601 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:18:11 +0000 (0:00:00.136) 0:00:08.737 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003708", "end": "2024-01-12 20:18:11.188398", "rc": 0, "start": "2024-01-12 20:18:11.184690" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:18:11 +0000 (0:00:00.154) 0:00:08.891 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:18:11 +0000 (0:00:00.033) 0:00:08.925 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003830", "end": "2024-01-12 20:18:11.373646", "rc": 0, "start": "2024-01-12 20:18:11.369816" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:18:11 +0000 (0:00:00.150) 0:00:09.076 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 20:18:11 +0000 (0:00:00.034) 0:00:09.110 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 20:18:11 +0000 (0:00:00.033) 0:00:09.143 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 20:18:11 +0000 (0:00:00.034) 0:00:09.178 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:18:11 +0000 (0:00:00.053) 0:00:09.231 ******** 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_typephj2trft/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:18:11 +0000 (0:00:00.034) 0:00:09.266 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:18:11 +0000 (0:00:00.032) 0:00:09.298 ******** included: /WORKDIR/git-route_typephj2trft/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_typephj2trft/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:18:11 +0000 (0:00:00.088) 0:00:09.387 ******** 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.044162", "end": "2024-01-12 20:18:11.920270", "rc": 1, "start": "2024-01-12 20:18:11.876108" } 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_typephj2trft/tests/playbooks/tests_states.yml:45 Friday 12 January 2024 20:18:11 +0000 (0:00:00.237) 0:00:09.624 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:18:11 +0000 (0:00:00.043) 0:00:09.668 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:18:12 +0000 (0:00:00.031) 0:00:09.699 ******** 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_typephj2trft/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:18:12 +0000 (0:00:00.057) 0:00:09.757 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:18:12 +0000 (0:00:00.079) 0:00:09.836 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:18:12 +0000 (0:00:00.040) 0:00:09.877 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003957", "end": "2024-01-12 20:18:12.330603", "rc": 0, "start": "2024-01-12 20:18:12.326646" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:18:12 +0000 (0:00:00.172) 0:00:10.050 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:18:12 +0000 (0:00:00.063) 0:00:10.113 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:18:12 +0000 (0:00:00.033) 0:00:10.146 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-route_typephj2trft/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_typephj2trft/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 20:18:12 +0000 (0:00:00.058) 0:00:10.205 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007559", "end": "2024-01-12 20:18:12.686349", "rc": 1, "start": "2024-01-12 20:18:12.678790" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 20:18:12 +0000 (0:00:00.197) 0:00:10.402 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:18:12 +0000 (0:00:00.059) 0:00:10.461 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 20:18:12 +0000 (0:00:00.173) 0:00:10.634 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:18:12 +0000 (0:00:00.043) 0:00:10.678 ******** included: /WORKDIR/git-route_typephj2trft/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_typephj2trft/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 12 January 2024 20:18:13 +0000 (0:00:00.047) 0:00:10.725 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 20:18:13 +0000 (0:00:00.048) 0:00:10.774 ******** included: /WORKDIR/git-route_typephj2trft/.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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 20:18:13 +0000 (0:00:00.055) 0:00:10.829 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 20:18:13 +0000 (0:00:00.125) 0:00:10.955 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 20:18:13 +0000 (0:00:00.036) 0:00:10.991 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 20:18:13 +0000 (0:00:00.036) 0:00:11.027 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 20:18:14 +0000 (0:00:00.757) 0:00:11.784 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 20:18:15 +0000 (0:00:01.093) 0:00:12.878 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 20:18:15 +0000 (0:00:00.061) 0:00:12.939 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 20:18:15 +0000 (0:00:00.073) 0:00:13.013 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 20:18:15 +0000 (0:00:00.036) 0:00:13.050 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 20:18:15 +0000 (0:00:00.056) 0:00:13.106 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 20:18:15 +0000 (0:00:00.046) 0:00:13.153 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 20:18:15 +0000 (0:00:00.045) 0:00:13.198 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 20:18:15 +0000 (0:00:00.059) 0:00:13.258 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 20:18:15 +0000 (0:00:00.053) 0:00:13.312 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 20:18:15 +0000 (0:00:00.041) 0:00:13.353 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 20:18:15 +0000 (0:00:00.306) 0:00:13.659 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11163s_zm9al2/tmp4fgpq3vn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 20:18:16 +0000 (0:00:00.236) 0:00:13.896 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 20:18:16 +0000 (0:00:00.327) 0:00:14.224 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 20:18:16 +0000 (0:00:00.033) 0:00:14.257 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 20:18:16 +0000 (0:00:00.045) 0:00:14.302 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 20:18:16 +0000 (0:00:00.036) 0:00:14.339 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 20:18:16 +0000 (0:00:00.031) 0:00:14.371 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 12 January 2024 20:18:16 +0000 (0:00:00.151) 0:00:14.522 ******** 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_typephj2trft/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:18:16 +0000 (0:00:00.037) 0:00:14.559 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-route_typephj2trft/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_typephj2trft/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 20:18:16 +0000 (0:00:00.055) 0:00:14.615 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:18:16 +0000 (0:00:00.061) 0:00:14.677 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 20:18:17 +0000 (0:00:00.176) 0:00:14.853 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 20:18:17 +0000 (0:00:00.038) 0:00:14.892 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:18:17 +0000 (0:00:00.057) 0:00:14.949 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:18:17 +0000 (0:00:00.038) 0:00:14.988 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090696.4626694, "block_size": 4096, "blocks": 8, "ctime": 1705090696.4626694, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25401, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705090696.4626694, "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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:18:17 +0000 (0:00:00.203) 0:00:15.192 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:18:17 +0000 (0:00:00.037) 0:00:15.229 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020633", "end": "2024-01-12 20:18:17.696500", "rc": 1, "start": "2024-01-12 20:18:17.675867" } 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:18:17 +0000 (0:00:00.204) 0:00:15.434 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:18:17 +0000 (0:00:00.030) 0:00:15.464 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003710", "end": "2024-01-12 20:18:17.911509", "rc": 0, "start": "2024-01-12 20:18:17.907799" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:18:17 +0000 (0:00:00.170) 0:00:15.634 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:18:17 +0000 (0:00:00.036) 0:00:15.671 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003724", "end": "2024-01-12 20:18:18.126686", "rc": 0, "start": "2024-01-12 20:18:18.122962" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:18:18 +0000 (0:00:00.157) 0:00:15.829 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 20:18:18 +0000 (0:00:00.034) 0:00:15.863 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 20:18:18 +0000 (0:00:00.032) 0:00:15.895 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 20:18:18 +0000 (0:00:00.035) 0:00:15.931 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:18:18 +0000 (0:00:00.032) 0:00:15.964 ******** 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_typephj2trft/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:18:18 +0000 (0:00:00.027) 0:00:15.991 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:18:18 +0000 (0:00:00.040) 0:00:16.032 ******** included: /WORKDIR/git-route_typephj2trft/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_typephj2trft/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:18:18 +0000 (0:00:00.057) 0:00:16.089 ******** 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.042819", "end": "2024-01-12 20:18:18.583522", "rc": 1, "start": "2024-01-12 20:18:18.540703" } 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_typephj2trft/tests/playbooks/tests_states.yml:65 Friday 12 January 2024 20:18:18 +0000 (0:00:00.204) 0:00:16.294 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:18:18 +0000 (0:00:00.048) 0:00:16.342 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:18:18 +0000 (0:00:00.046) 0:00:16.389 ******** 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_typephj2trft/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:18:18 +0000 (0:00:00.112) 0:00:16.501 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:18:18 +0000 (0:00:00.118) 0:00:16.620 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:18:18 +0000 (0:00:00.043) 0:00:16.664 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004005", "end": "2024-01-12 20:18:19.122158", "rc": 0, "start": "2024-01-12 20:18:19.118153" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:18:19 +0000 (0:00:00.169) 0:00:16.833 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:18:19 +0000 (0:00:00.030) 0:00:16.864 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:18:19 +0000 (0:00:00.031) 0:00:16.896 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 20:18:19 +0000 (0:00:00.044) 0:00:16.940 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 20:18:19 +0000 (0:00:00.061) 0:00:17.001 ******** included: /WORKDIR/git-route_typephj2trft/.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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 20:18:19 +0000 (0:00:00.073) 0:00:17.075 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 20:18:19 +0000 (0:00:00.052) 0:00:17.128 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 20:18:19 +0000 (0:00:00.046) 0:00:17.174 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 20:18:19 +0000 (0:00:00.042) 0:00:17.216 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 20:18:20 +0000 (0:00:00.754) 0:00:17.971 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 20:18:21 +0000 (0:00:01.131) 0:00:19.102 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 20:18:21 +0000 (0:00:00.032) 0:00:19.135 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 20:18:21 +0000 (0:00:00.031) 0:00:19.167 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 20:18:21 +0000 (0:00:00.037) 0:00:19.204 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 20:18:21 +0000 (0:00:00.065) 0:00:19.270 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 20:18:21 +0000 (0:00:00.032) 0:00:19.302 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 20:18:21 +0000 (0:00:00.035) 0:00:19.338 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 20:18:21 +0000 (0:00:00.035) 0:00:19.373 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 20:18:21 +0000 (0:00:00.033) 0:00:19.406 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 20:18:21 +0000 (0:00:00.029) 0:00:19.436 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 20:18:22 +0000 (0:00:00.278) 0:00:19.714 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11163s_zm9al2/tmpenspw1t8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 20:18:22 +0000 (0:00:00.259) 0:00:19.973 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 20:18:22 +0000 (0:00:00.319) 0:00:20.293 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 20:18:22 +0000 (0:00:00.036) 0:00:20.329 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 20:18:22 +0000 (0:00:00.035) 0:00:20.365 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 20:18:22 +0000 (0:00:00.056) 0:00:20.421 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 20:18:22 +0000 (0:00:00.059) 0:00:20.481 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 20:18:23 +0000 (0:00:00.238) 0:00:20.719 ******** 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_typephj2trft/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:18:23 +0000 (0:00:00.069) 0:00:20.789 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 20:18:23 +0000 (0:00:00.155) 0:00:20.945 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 20:18:23 +0000 (0:00:00.097) 0:00:21.042 ******** included: /WORKDIR/git-route_typephj2trft/.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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 20:18:23 +0000 (0:00:00.082) 0:00:21.124 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 20:18:23 +0000 (0:00:00.038) 0:00:21.162 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 20:18:23 +0000 (0:00:00.051) 0:00:21.214 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 20:18:23 +0000 (0:00:00.036) 0:00:21.250 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 20:18:24 +0000 (0:00:00.771) 0:00:22.022 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 20:18:25 +0000 (0:00:01.020) 0:00:23.043 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 20:18:25 +0000 (0:00:00.057) 0:00:23.100 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 20:18:25 +0000 (0:00:00.042) 0:00:23.142 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 20:18:25 +0000 (0:00:00.034) 0:00:23.176 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 20:18:25 +0000 (0:00:00.131) 0:00:23.308 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 20:18:25 +0000 (0:00:00.036) 0:00:23.344 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 20:18:25 +0000 (0:00:00.069) 0:00:23.413 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 20:18:25 +0000 (0:00:00.055) 0:00:23.469 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 20:18:25 +0000 (0:00:00.035) 0:00:23.504 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 20:18:25 +0000 (0:00:00.037) 0:00:23.542 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 20:18:26 +0000 (0:00:00.265) 0:00:23.808 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11163s_zm9al2/tmpbr0k1xtf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 20:18:26 +0000 (0:00:00.232) 0:00:24.040 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 20:18:26 +0000 (0:00:00.519) 0:00:24.559 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 20:18:26 +0000 (0:00:00.033) 0:00:24.592 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 20:18:26 +0000 (0:00:00.033) 0:00:24.626 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 20:18:26 +0000 (0:00:00.031) 0:00:24.657 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 20:18:27 +0000 (0:00:00.032) 0:00:24.689 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:18:27 +0000 (0:00:00.161) 0:00:24.850 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_typephj2trft/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_typephj2trft/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 20:18:27 +0000 (0:00:00.049) 0:00:24.900 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:18:27 +0000 (0:00:00.040) 0:00:24.941 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090706.787626, "block_size": 4096, "blocks": 0, "ctime": 1705090706.783626, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17635, "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": 1705090706.783626, "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_typephj2trft/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 20:18:27 +0000 (0:00:00.257) 0:00:25.198 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 20:18:27 +0000 (0:00:00.057) 0:00:25.255 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:18:27 +0000 (0:00:00.047) 0:00:25.303 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:18:27 +0000 (0:00:00.051) 0:00:25.354 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090706.603627, "block_size": 4096, "blocks": 8, "ctime": 1705090702.5826437, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25401, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705090702.5826437, "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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:18:27 +0000 (0:00:00.162) 0:00:25.516 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:18:27 +0000 (0:00:00.031) 0:00:25.548 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024472", "end": "2024-01-12 20:18:28.015902", "rc": 1, "start": "2024-01-12 20:18:27.991430" } 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:18:28 +0000 (0:00:00.182) 0:00:25.730 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:18:28 +0000 (0:00:00.037) 0:00:25.767 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003926", "end": "2024-01-12 20:18:28.246745", "rc": 0, "start": "2024-01-12 20:18:28.242819" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:18:28 +0000 (0:00:00.183) 0:00:25.951 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:18:28 +0000 (0:00:00.053) 0:00:26.004 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003862", "end": "2024-01-12 20:18:28.473922", "rc": 0, "start": "2024-01-12 20:18:28.470060" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:18:28 +0000 (0:00:00.174) 0:00:26.179 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 20:18:28 +0000 (0:00:00.035) 0:00:26.214 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 20:18:28 +0000 (0:00:00.039) 0:00:26.253 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 20:18:28 +0000 (0:00:00.039) 0:00:26.293 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:18:28 +0000 (0:00:00.034) 0:00:26.328 ******** 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_typephj2trft/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:18:28 +0000 (0:00:00.027) 0:00:26.356 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:18:28 +0000 (0:00:00.032) 0:00:26.388 ******** included: /WORKDIR/git-route_typephj2trft/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_typephj2trft/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:18:28 +0000 (0:00:00.092) 0:00:26.481 ******** 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.052767", "end": "2024-01-12 20:18:28.981056", "rc": 0, "start": "2024-01-12 20:18:28.928289" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tests_states.yml:83 Friday 12 January 2024 20:18:29 +0000 (0:00:00.202) 0:00:26.684 ******** included: /WORKDIR/git-route_typephj2trft/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_typephj2trft/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:18:29 +0000 (0:00:00.045) 0:00:26.730 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:18:29 +0000 (0:00:00.033) 0:00:26.763 ******** 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_typephj2trft/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:18:29 +0000 (0:00:00.071) 0:00:26.835 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:18:29 +0000 (0:00:00.085) 0:00:26.920 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:18:29 +0000 (0:00:00.089) 0:00:27.010 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003846", "end": "2024-01-12 20:18:29.470371", "rc": 0, "start": "2024-01-12 20:18:29.466525" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:18:29 +0000 (0:00:00.162) 0:00:27.172 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:18:29 +0000 (0:00:00.036) 0:00:27.209 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:18:29 +0000 (0:00:00.037) 0:00:27.246 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 20:18:29 +0000 (0:00:00.046) 0:00:27.292 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 20:18:29 +0000 (0:00:00.050) 0:00:27.342 ******** included: /WORKDIR/git-route_typephj2trft/.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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 20:18:29 +0000 (0:00:00.092) 0:00:27.435 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 20:18:29 +0000 (0:00:00.034) 0:00:27.469 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 20:18:29 +0000 (0:00:00.032) 0:00:27.502 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 20:18:29 +0000 (0:00:00.030) 0:00:27.533 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 20:18:30 +0000 (0:00:00.757) 0:00:28.290 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 20:18:31 +0000 (0:00:01.012) 0:00:29.303 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 20:18:31 +0000 (0:00:00.038) 0:00:29.341 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 20:18:31 +0000 (0:00:00.049) 0:00:29.391 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 20:18:31 +0000 (0:00:00.054) 0:00:29.446 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 20:18:31 +0000 (0:00:00.068) 0:00:29.514 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 20:18:31 +0000 (0:00:00.053) 0:00:29.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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 20:18:31 +0000 (0:00:00.092) 0:00:29.659 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 20:18:32 +0000 (0:00:00.055) 0:00:29.714 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 20:18:32 +0000 (0:00:00.037) 0:00:29.752 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 20:18:32 +0000 (0:00:00.048) 0:00:29.801 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 20:18:32 +0000 (0:00:00.263) 0:00:30.064 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11163s_zm9al2/tmppdbpkzt5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 20:18:32 +0000 (0:00:00.374) 0:00:30.439 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 20:18:33 +0000 (0:00:00.284) 0:00:30.724 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 20:18:33 +0000 (0:00:00.036) 0:00:30.760 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 20:18:33 +0000 (0:00:00.036) 0:00:30.797 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 20:18:33 +0000 (0:00:00.039) 0:00:30.836 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 20:18:33 +0000 (0:00:00.038) 0:00:30.874 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 20:18:33 +0000 (0:00:00.166) 0:00:31.040 ******** 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_typephj2trft/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 20:18:33 +0000 (0:00:00.031) 0:00:31.071 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 20:18:33 +0000 (0:00:00.051) 0:00:31.123 ******** included: /WORKDIR/git-route_typephj2trft/.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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 20:18:33 +0000 (0:00:00.051) 0:00:31.175 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 20:18:33 +0000 (0:00:00.044) 0:00:31.220 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 20:18:33 +0000 (0:00:00.043) 0:00:31.264 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 20:18:33 +0000 (0:00:00.049) 0:00:31.313 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 20:18:34 +0000 (0:00:00.778) 0:00:32.091 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 20:18:35 +0000 (0:00:01.081) 0:00:33.173 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 20:18:35 +0000 (0:00:00.033) 0:00:33.207 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 20:18:35 +0000 (0:00:00.031) 0:00:33.238 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 20:18:35 +0000 (0:00:00.033) 0:00:33.272 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 20:18:35 +0000 (0:00:00.055) 0:00:33.327 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 20:18:35 +0000 (0:00:00.031) 0:00:33.359 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 20:18:35 +0000 (0:00:00.033) 0:00:33.393 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 20:18:35 +0000 (0:00:00.041) 0:00:33.434 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 20:18:35 +0000 (0:00:00.033) 0:00:33.467 ******** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 20:18:35 +0000 (0:00:00.029) 0:00:33.496 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 20:18:36 +0000 (0:00:00.257) 0:00:33.754 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11163s_zm9al2/tmp4mwredkt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 20:18:36 +0000 (0:00:00.245) 0:00:33.999 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 20:18:36 +0000 (0:00:00.498) 0:00:34.498 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 20:18:36 +0000 (0:00:00.086) 0:00:34.584 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 20:18:36 +0000 (0:00:00.043) 0:00:34.627 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 20:18:36 +0000 (0:00:00.034) 0:00:34.662 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 20:18:37 +0000 (0:00:00.045) 0:00:34.708 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:18:37 +0000 (0:00:00.215) 0:00:34.924 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 20:18:37 +0000 (0:00:00.045) 0:00:34.969 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 20:18:37 +0000 (0:00:00.055) 0:00:35.025 ******** included: /WORKDIR/git-route_typephj2trft/.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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 20:18:37 +0000 (0:00:00.075) 0:00:35.100 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 20:18:37 +0000 (0:00:00.059) 0:00:35.159 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 20:18:37 +0000 (0:00:00.034) 0:00:35.194 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 20:18:37 +0000 (0:00:00.033) 0:00:35.227 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 20:18:38 +0000 (0:00:00.753) 0:00:35.981 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 20:18:39 +0000 (0:00:00.988) 0:00:36.970 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 20:18:39 +0000 (0:00:00.035) 0:00:37.006 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 20:18:39 +0000 (0:00:00.048) 0:00:37.054 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 20:18:39 +0000 (0:00:00.050) 0:00:37.105 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 20:18:39 +0000 (0:00:00.097) 0:00:37.203 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 20:18:39 +0000 (0:00:00.099) 0:00:37.303 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 20:18:39 +0000 (0:00:00.072) 0:00:37.376 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 20:18:39 +0000 (0:00:00.103) 0:00:37.479 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 20:18:39 +0000 (0:00:00.083) 0:00:37.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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 20:18:39 +0000 (0:00:00.069) 0:00:37.633 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 20:18:40 +0000 (0:00:00.295) 0:00:37.929 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11163s_zm9al2/tmp0ufwchto" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 20:18:40 +0000 (0:00:00.296) 0:00:38.225 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 20:18:40 +0000 (0:00:00.323) 0:00:38.548 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 20:18:40 +0000 (0:00:00.031) 0:00:38.580 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 20:18:40 +0000 (0:00:00.054) 0:00:38.635 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 20:18:40 +0000 (0:00:00.035) 0:00:38.670 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 20:18:41 +0000 (0:00:00.049) 0:00:38.719 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:18:41 +0000 (0:00:00.176) 0:00:38.895 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-route_typephj2trft/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_typephj2trft/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 20:18:41 +0000 (0:00:00.072) 0:00:38.968 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 20:18:41 +0000 (0:00:00.046) 0:00:39.014 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705090716.7115846, "block_size": 4096, "blocks": 0, "ctime": 1705090716.7105846, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17635, "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": 1705090716.7105846, "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_typephj2trft/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 20:18:41 +0000 (0:00:00.164) 0:00:39.178 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 20:18:41 +0000 (0:00:00.202) 0:00:39.381 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:18:41 +0000 (0:00:00.058) 0:00:39.439 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:18:41 +0000 (0:00:00.047) 0:00:39.486 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:18:41 +0000 (0:00:00.190) 0:00:39.677 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:18:42 +0000 (0:00:00.031) 0:00:39.708 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022524", "end": "2024-01-12 20:18:42.201356", "rc": 1, "start": "2024-01-12 20:18:42.178832" } 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:18:42 +0000 (0:00:00.199) 0:00:39.908 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:18:42 +0000 (0:00:00.037) 0:00:39.946 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:18:42 +0000 (0:00:00.036) 0:00:39.982 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:18:42 +0000 (0:00:00.037) 0:00:40.020 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:18:42 +0000 (0:00:00.037) 0:00:40.057 ******** 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_typephj2trft/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 20:18:42 +0000 (0:00:00.043) 0:00:40.100 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:18:42 +0000 (0:00:00.034) 0:00:40.135 ******** 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_typephj2trft/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:18:42 +0000 (0:00:00.027) 0:00:40.162 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:18:42 +0000 (0:00:00.031) 0:00:40.193 ******** included: /WORKDIR/git-route_typephj2trft/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_typephj2trft/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:18:42 +0000 (0:00:00.048) 0:00:40.242 ******** 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.050422", "end": "2024-01-12 20:18:42.749060", "rc": 0, "start": "2024-01-12 20:18:42.698638" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tests_states.yml:102 Friday 12 January 2024 20:18:42 +0000 (0:00:00.222) 0:00:40.464 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:18:42 +0000 (0:00:00.102) 0:00:40.567 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:18:42 +0000 (0:00:00.032) 0:00:40.599 ******** 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_typephj2trft/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:18:42 +0000 (0:00:00.057) 0:00:40.657 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:18:43 +0000 (0:00:00.043) 0:00:40.700 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:18:43 +0000 (0:00:00.041) 0:00:40.742 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003978", "end": "2024-01-12 20:18:43.191237", "rc": 0, "start": "2024-01-12 20:18:43.187259" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:18:43 +0000 (0:00:00.159) 0:00:40.901 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:18:43 +0000 (0:00:00.032) 0:00:40.933 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:18:43 +0000 (0:00:00.035) 0:00:40.969 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 20:18:43 +0000 (0:00:00.054) 0:00:41.024 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 20:18:43 +0000 (0:00:00.061) 0:00:41.085 ******** included: /WORKDIR/git-route_typephj2trft/.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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 20:18:43 +0000 (0:00:00.053) 0:00:41.139 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 20:18:43 +0000 (0:00:00.035) 0:00:41.174 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 20:18:43 +0000 (0:00:00.031) 0:00:41.205 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 20:18:43 +0000 (0:00:00.066) 0:00:41.272 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 20:18:44 +0000 (0:00:00.745) 0:00:42.018 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 20:18:45 +0000 (0:00:01.011) 0:00:43.029 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 20:18:45 +0000 (0:00:00.032) 0:00:43.062 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 20:18:45 +0000 (0:00:00.037) 0:00:43.099 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 20:18:45 +0000 (0:00:00.032) 0:00:43.131 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 20:18:45 +0000 (0:00:00.059) 0:00:43.191 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 20:18:45 +0000 (0:00:00.038) 0:00:43.229 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 20:18:45 +0000 (0:00:00.042) 0:00:43.272 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 20:18:45 +0000 (0:00:00.041) 0:00:43.313 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 20:18:45 +0000 (0:00:00.054) 0:00:43.367 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 20:18:45 +0000 (0:00:00.032) 0:00:43.400 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 20:18:45 +0000 (0:00:00.266) 0:00:43.667 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11163s_zm9al2/tmp6259fev8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 20:18:46 +0000 (0:00:00.375) 0:00:44.042 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 20:18:46 +0000 (0:00:00.343) 0:00:44.386 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 20:18:46 +0000 (0:00:00.039) 0:00:44.425 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 20:18:46 +0000 (0:00:00.090) 0:00:44.516 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 20:18:46 +0000 (0:00:00.034) 0:00:44.550 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 20:18:46 +0000 (0:00:00.038) 0:00:44.589 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 20:18:47 +0000 (0:00:00.155) 0:00:44.745 ******** 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_typephj2trft/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 20:18:47 +0000 (0:00:00.066) 0:00:44.812 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 20:18:47 +0000 (0:00:00.069) 0:00:44.881 ******** included: /WORKDIR/git-route_typephj2trft/.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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 20:18:47 +0000 (0:00:00.052) 0:00:44.934 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 20:18:47 +0000 (0:00:00.038) 0:00:44.972 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 20:18:47 +0000 (0:00:00.049) 0:00:45.022 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 20:18:47 +0000 (0:00:00.035) 0:00:45.057 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 20:18:48 +0000 (0:00:00.748) 0:00:45.806 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 20:18:49 +0000 (0:00:00.981) 0:00:46.788 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 20:18:49 +0000 (0:00:00.032) 0:00:46.821 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 20:18:49 +0000 (0:00:00.074) 0:00:46.895 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 20:18:49 +0000 (0:00:00.033) 0:00:46.928 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 20:18:49 +0000 (0:00:00.054) 0:00:46.982 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 20:18:49 +0000 (0:00:00.032) 0:00:47.015 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 20:18:49 +0000 (0:00:00.038) 0:00:47.053 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 20:18:49 +0000 (0:00:00.040) 0:00:47.094 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 20:18:49 +0000 (0:00:00.034) 0:00:47.128 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 20:18:49 +0000 (0:00:00.031) 0:00:47.160 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 20:18:49 +0000 (0:00:00.278) 0:00:47.439 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11163s_zm9al2/tmp3vg5q8yp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 20:18:50 +0000 (0:00:00.339) 0:00:47.778 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 20:18:50 +0000 (0:00:00.514) 0:00:48.293 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 20:18:50 +0000 (0:00:00.055) 0:00:48.349 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 20:18:50 +0000 (0:00:00.048) 0:00:48.397 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 20:18:50 +0000 (0:00:00.038) 0:00:48.436 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 20:18:50 +0000 (0:00:00.050) 0:00:48.486 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 20:18:50 +0000 (0:00:00.182) 0:00:48.669 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 20:18:51 +0000 (0:00:00.276) 0:00:48.946 ******** included: /WORKDIR/git-route_typephj2trft/.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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 20:18:51 +0000 (0:00:00.051) 0:00:48.997 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 20:18:51 +0000 (0:00:00.057) 0:00:49.055 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 20:18:51 +0000 (0:00:00.043) 0:00:49.099 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 20:18:51 +0000 (0:00:00.046) 0:00:49.145 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 20:18:52 +0000 (0:00:00.772) 0:00:49.917 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 20:18:53 +0000 (0:00:01.061) 0:00:50.979 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 20:18:53 +0000 (0:00:00.032) 0:00:51.011 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 20:18:53 +0000 (0:00:00.032) 0:00:51.043 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 20:18:53 +0000 (0:00:00.031) 0:00:51.075 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 20:18:53 +0000 (0:00:00.058) 0:00:51.133 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 20:18:53 +0000 (0:00:00.032) 0:00:51.166 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 20:18:53 +0000 (0:00:00.035) 0:00:51.202 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 20:18:53 +0000 (0:00:00.037) 0:00:51.239 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 20:18:53 +0000 (0:00:00.031) 0:00:51.271 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 20:18:53 +0000 (0:00:00.075) 0:00:51.346 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 20:18:53 +0000 (0:00:00.268) 0:00:51.615 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11163s_zm9al2/tmp41_m9nhn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 20:18:54 +0000 (0:00:00.305) 0:00:51.920 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 20:18:54 +0000 (0:00:00.350) 0:00:52.271 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 20:18:54 +0000 (0:00:00.062) 0:00:52.333 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 20:18:54 +0000 (0:00:00.056) 0:00:52.390 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 20:18:54 +0000 (0:00:00.045) 0:00:52.435 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 20:18:54 +0000 (0:00:00.034) 0:00:52.469 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:18:54 +0000 (0:00:00.192) 0:00:52.661 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 20:18:55 +0000 (0:00:00.047) 0:00:52.709 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 20:18:55 +0000 (0:00:00.050) 0:00:52.760 ******** included: /WORKDIR/git-route_typephj2trft/.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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 20:18:55 +0000 (0:00:00.050) 0:00:52.810 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 20:18:55 +0000 (0:00:00.041) 0:00:52.851 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 20:18:55 +0000 (0:00:00.036) 0:00:52.888 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 20:18:55 +0000 (0:00:00.078) 0:00:52.967 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 20:18:56 +0000 (0:00:00.746) 0:00:53.713 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 20:18:57 +0000 (0:00:00.984) 0:00:54.698 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 20:18:57 +0000 (0:00:00.033) 0:00:54.731 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 20:18:57 +0000 (0:00:00.033) 0:00:54.764 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 20:18:57 +0000 (0:00:00.032) 0:00:54.797 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 20:18:57 +0000 (0:00:00.062) 0:00:54.859 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 20:18:57 +0000 (0:00:00.039) 0:00:54.898 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 20:18:57 +0000 (0:00:00.035) 0:00:54.933 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 20:18:57 +0000 (0:00:00.040) 0:00:54.974 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 20:18:57 +0000 (0:00:00.042) 0:00:55.016 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 20:18:57 +0000 (0:00:00.033) 0:00:55.050 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 20:18:57 +0000 (0:00:00.281) 0:00:55.331 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11163s_zm9al2/tmps32c3ulf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 20:18:57 +0000 (0:00:00.276) 0:00:55.608 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 20:18:58 +0000 (0:00:00.241) 0:00:55.849 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 20:18:58 +0000 (0:00:00.034) 0:00:55.884 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 20:18:58 +0000 (0:00:00.034) 0:00:55.919 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 20:18:58 +0000 (0:00:00.077) 0:00:55.996 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 20:18:58 +0000 (0:00:00.032) 0:00:56.029 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:18:58 +0000 (0:00:00.160) 0:00:56.189 ******** included: /WORKDIR/git-route_typephj2trft/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_typephj2trft/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 20:18:58 +0000 (0:00:00.087) 0:00:56.277 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:18:58 +0000 (0:00:00.066) 0:00:56.343 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:18:58 +0000 (0:00:00.049) 0:00:56.393 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:18:58 +0000 (0:00:00.153) 0:00:56.546 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:18:58 +0000 (0:00:00.038) 0:00:56.584 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022206", "end": "2024-01-12 20:18:59.068514", "rc": 1, "start": "2024-01-12 20:18:59.046308" } 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:18:59 +0000 (0:00:00.187) 0:00:56.772 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:18:59 +0000 (0:00:00.054) 0:00:56.826 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:18:59 +0000 (0:00:00.091) 0:00:56.918 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:18:59 +0000 (0:00:00.061) 0:00:56.980 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:18:59 +0000 (0:00:00.039) 0:00:57.020 ******** 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_typephj2trft/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 20:18:59 +0000 (0:00:00.068) 0:00:57.089 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:18:59 +0000 (0:00:00.056) 0:00:57.145 ******** 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_typephj2trft/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:18:59 +0000 (0:00:00.068) 0:00:57.213 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:18:59 +0000 (0:00:00.197) 0:00:57.411 ******** included: /WORKDIR/git-route_typephj2trft/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_typephj2trft/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:18:59 +0000 (0:00:00.056) 0:00:57.467 ******** 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.049681", "end": "2024-01-12 20:19:00.002106", "rc": 0, "start": "2024-01-12 20:18:59.952425" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tests_states.yml:124 Friday 12 January 2024 20:19:00 +0000 (0:00:00.246) 0:00:57.713 ******** included: /WORKDIR/git-route_typephj2trft/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_typephj2trft/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 20:19:00 +0000 (0:00:00.081) 0:00:57.795 ******** 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_typephj2trft/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 20:19:00 +0000 (0:00:00.065) 0:00:57.860 ******** 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_typephj2trft/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 20:19:00 +0000 (0:00:00.062) 0:00:57.923 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 20:19:00 +0000 (0:00:00.058) 0:00:57.982 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 20:19:00 +0000 (0:00:00.062) 0:00:58.044 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003953", "end": "2024-01-12 20:19:00.497543", "rc": 0, "start": "2024-01-12 20:19:00.493590" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 20:19:00 +0000 (0:00:00.166) 0:00:58.211 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 20:19:00 +0000 (0:00:00.036) 0:00:58.247 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 20:19:00 +0000 (0:00:00.048) 0:00:58.296 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 20:19:00 +0000 (0:00:00.095) 0:00:58.391 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 20:19:00 +0000 (0:00:00.125) 0:00:58.517 ******** included: /WORKDIR/git-route_typephj2trft/.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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:00 +0000 (0:00:00.048) 0:00:58.565 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 20:19:00 +0000 (0:00:00.060) 0:00:58.625 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 20:19:00 +0000 (0:00:00.035) 0:00:58.661 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 20:19:01 +0000 (0:00:00.035) 0:00:58.697 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 20:19:01 +0000 (0:00:00.791) 0:00:59.488 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 20:19:02 +0000 (0:00:01.009) 0:01:00.497 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 20:19:02 +0000 (0:00:00.045) 0:01:00.543 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 20:19:02 +0000 (0:00:00.034) 0:01:00.577 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 20:19:02 +0000 (0:00:00.040) 0:01:00.618 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 20:19:03 +0000 (0:00:00.074) 0:01:00.692 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 20:19:03 +0000 (0:00:00.042) 0:01:00.735 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 20:19:03 +0000 (0:00:00.035) 0:01:00.770 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 20:19:03 +0000 (0:00:00.040) 0:01:00.810 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 20:19:03 +0000 (0:00:00.036) 0:01:00.846 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 20:19:03 +0000 (0:00:00.104) 0:01:00.951 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 20:19:03 +0000 (0:00:00.263) 0:01:01.215 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11163s_zm9al2/tmpapycz7k0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 20:19:03 +0000 (0:00:00.253) 0:01:01.468 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 20:19:04 +0000 (0:00:00.268) 0:01:01.736 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 20:19:04 +0000 (0:00:00.045) 0:01:01.782 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 20:19:04 +0000 (0:00:00.035) 0:01:01.818 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 20:19:04 +0000 (0:00:00.060) 0:01:01.879 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 20:19:04 +0000 (0:00:00.055) 0:01:01.934 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 20:19:04 +0000 (0:00:00.189) 0:01:02.124 ******** 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_typephj2trft/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 20:19:04 +0000 (0:00:00.049) 0:01:02.174 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 20:19:04 +0000 (0:00:00.083) 0:01:02.257 ******** included: /WORKDIR/git-route_typephj2trft/.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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:04 +0000 (0:00:00.071) 0:01:02.329 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 20:19:04 +0000 (0:00:00.039) 0:01:02.368 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 20:19:04 +0000 (0:00:00.031) 0:01:02.400 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 20:19:04 +0000 (0:00:00.035) 0:01:02.435 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 20:19:05 +0000 (0:00:00.838) 0:01:03.274 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 20:19:06 +0000 (0:00:00.987) 0:01:04.261 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 20:19:06 +0000 (0:00:00.045) 0:01:04.307 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 20:19:06 +0000 (0:00:00.071) 0:01:04.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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 20:19:06 +0000 (0:00:00.061) 0:01:04.440 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 20:19:06 +0000 (0:00:00.066) 0:01:04.507 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 20:19:06 +0000 (0:00:00.058) 0:01:04.566 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 20:19:06 +0000 (0:00:00.040) 0:01:04.606 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 20:19:06 +0000 (0:00:00.050) 0:01:04.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 20:19:07 +0000 (0:00:00.079) 0:01:04.736 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 20:19:07 +0000 (0:00:00.073) 0:01:04.810 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 20:19:07 +0000 (0:00:00.305) 0:01:05.116 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11163s_zm9al2/tmpbb9az1n1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 20:19:07 +0000 (0:00:00.279) 0:01:05.396 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 20:19:08 +0000 (0:00:00.504) 0:01:05.900 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 20:19:08 +0000 (0:00:00.058) 0:01:05.958 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 20:19:08 +0000 (0:00:00.044) 0:01:06.003 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 20:19:08 +0000 (0:00:00.103) 0:01:06.106 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 20:19:08 +0000 (0:00:00.038) 0:01:06.145 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 20:19:08 +0000 (0:00:00.160) 0:01:06.305 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 20:19:08 +0000 (0:00:00.072) 0:01:06.378 ******** included: /WORKDIR/git-route_typephj2trft/.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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:08 +0000 (0:00:00.079) 0:01:06.458 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 20:19:08 +0000 (0:00:00.036) 0:01:06.495 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 20:19:08 +0000 (0:00:00.032) 0:01:06.527 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 20:19:08 +0000 (0:00:00.038) 0:01:06.565 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 20:19:09 +0000 (0:00:00.775) 0:01:07.340 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 20:19:10 +0000 (0:00:00.994) 0:01:08.335 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 20:19:10 +0000 (0:00:00.034) 0:01:08.370 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 20:19:10 +0000 (0:00:00.062) 0:01:08.432 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 20:19:10 +0000 (0:00:00.045) 0:01:08.478 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 20:19:11 +0000 (0:00:00.245) 0:01:08.724 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 20:19:11 +0000 (0:00:00.039) 0:01:08.763 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 20:19:11 +0000 (0:00:00.034) 0:01:08.797 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 20:19:11 +0000 (0:00:00.060) 0:01:08.858 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 20:19:11 +0000 (0:00:00.038) 0:01:08.896 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 20:19:11 +0000 (0:00:00.035) 0:01:08.931 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 20:19:11 +0000 (0:00:00.259) 0:01:09.191 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11163s_zm9al2/tmpuaomwc6u" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 20:19:11 +0000 (0:00:00.258) 0:01:09.449 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 20:19:12 +0000 (0:00:00.250) 0:01:09.700 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 20:19:12 +0000 (0:00:00.034) 0:01:09.734 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 20:19:12 +0000 (0:00:00.041) 0:01:09.775 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 20:19:12 +0000 (0:00:00.032) 0:01:09.808 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 20:19:12 +0000 (0:00:00.033) 0:01:09.841 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 20:19:12 +0000 (0:00:00.150) 0:01:09.992 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 20:19:12 +0000 (0:00:00.043) 0:01:10.035 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 12 January 2024 20:19:12 +0000 (0:00:00.102) 0:01:10.138 ******** included: /WORKDIR/git-route_typephj2trft/.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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 12 January 2024 20:19:12 +0000 (0:00:00.062) 0:01:10.200 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 12 January 2024 20:19:12 +0000 (0:00:00.088) 0:01:10.288 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 12 January 2024 20:19:12 +0000 (0:00:00.055) 0:01:10.344 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 12 January 2024 20:19:12 +0000 (0:00:00.069) 0:01:10.413 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 12 January 2024 20:19:13 +0000 (0:00:00.822) 0:01:11.236 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 12 January 2024 20:19:14 +0000 (0:00:01.021) 0:01:12.257 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 12 January 2024 20:19:14 +0000 (0:00:00.033) 0:01:12.291 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 12 January 2024 20:19:14 +0000 (0:00:00.034) 0:01:12.325 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 12 January 2024 20:19:14 +0000 (0:00:00.059) 0:01:12.384 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 12 January 2024 20:19:14 +0000 (0:00:00.069) 0:01:12.453 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 12 January 2024 20:19:14 +0000 (0:00:00.039) 0:01:12.493 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 12 January 2024 20:19:14 +0000 (0:00:00.031) 0:01:12.524 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 12 January 2024 20:19:14 +0000 (0:00:00.038) 0:01:12.563 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 12 January 2024 20:19:14 +0000 (0:00:00.037) 0:01:12.601 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 12 January 2024 20:19:15 +0000 (0:00:00.083) 0:01:12.684 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 12 January 2024 20:19:15 +0000 (0:00:00.258) 0:01:12.942 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11163s_zm9al2/tmp2ye8jzuc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 12 January 2024 20:19:15 +0000 (0:00:00.240) 0:01:13.182 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 12 January 2024 20:19:15 +0000 (0:00:00.249) 0:01:13.432 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 12 January 2024 20:19:15 +0000 (0:00:00.039) 0:01:13.471 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 12 January 2024 20:19:15 +0000 (0:00:00.049) 0:01:13.520 ******** 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_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 12 January 2024 20:19:15 +0000 (0:00:00.069) 0:01:13.590 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 12 January 2024 20:19:15 +0000 (0:00:00.048) 0:01:13.638 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 20:19:16 +0000 (0:00:00.193) 0:01:13.831 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-route_typephj2trft/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_typephj2trft/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 20:19:16 +0000 (0:00:00.075) 0:01:13.906 ******** included: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 20:19:16 +0000 (0:00:00.044) 0:01:13.951 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 20:19:16 +0000 (0:00:00.044) 0:01:13.995 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 20:19:16 +0000 (0:00:00.174) 0:01:14.170 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 20:19:16 +0000 (0:00:00.053) 0:01:14.224 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022361", "end": "2024-01-12 20:19:16.702590", "rc": 1, "start": "2024-01-12 20:19:16.680229" } 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 20:19:16 +0000 (0:00:00.192) 0:01:14.416 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 20:19:16 +0000 (0:00:00.032) 0:01:14.449 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 20:19:16 +0000 (0:00:00.147) 0:01:14.597 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 20:19:16 +0000 (0:00:00.031) 0:01:14.628 ******** 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_typephj2trft/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 20:19:16 +0000 (0:00:00.043) 0:01:14.671 ******** 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_typephj2trft/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 20:19:17 +0000 (0:00:00.040) 0:01:14.712 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 12 January 2024 20:19:17 +0000 (0:00:00.054) 0:01:14.766 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.692898", "end": "2024-01-12 20:19:17.910959", "rc": 0, "start": "2024-01-12 20:19:17.218061" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 12 January 2024 20:19:17 +0000 (0:00:00.851) 0:01:15.618 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 12 January 2024 20:19:17 +0000 (0:00:00.033) 0:01:15.652 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 20:19:18 +0000 (0:00:00.034) 0:01:15.686 ******** 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_typephj2trft/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 20:19:18 +0000 (0:00:00.036) 0:01:15.722 ******** 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_typephj2trft/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 20:19:18 +0000 (0:00:00.035) 0:01:15.757 ******** included: /WORKDIR/git-route_typephj2trft/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_typephj2trft/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 20:19:18 +0000 (0:00:00.065) 0:01:15.823 ******** 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.050567", "end": "2024-01-12 20:19:18.340105", "rc": 0, "start": "2024-01-12 20:19:18.289538" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. PLAY RECAP ********************************************************************* sut : ok=334 changed=13 unreachable=0 failed=0 skipped=225 rescued=0 ignored=10 Friday 12 January 2024 20:19:18 +0000 (0:00:00.264) 0:01:16.087 ******** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.21s /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.13s /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.09s /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.08s /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.02s /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.02s /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /WORKDIR/git-route_typephj2trft/.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.99s /WORKDIR/git-route_typephj2trft/.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.99s /WORKDIR/git-route_typephj2trft/.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.99s /WORKDIR/git-route_typephj2trft/.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.98s /WORKDIR/git-route_typephj2trft/.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.98s /WORKDIR/git-route_typephj2trft/.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.95s /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Get NetworkManager RPM version ------------------------------------------ 0.85s /WORKDIR/git-route_typephj2trft/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 fedora.linux_system_roles.network : Check which services are running ---- 0.84s /WORKDIR/git-route_typephj2trft/.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_typephj2trft/.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.79s /WORKDIR/git-route_typephj2trft/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---