# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /WORKDIR/git-route_type76gtcf1q/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/tests_states_initscripts.yml:5 Thursday 11 January 2024 00:23:52 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type76gtcf1q/tests/tests_states_initscripts.yml:8 Thursday 11 January 2024 00:23:53 +0000 (0:00:00.552) 0:00:00.569 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 00:23:53 +0000 (0:00:00.022) 0:00:00.592 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 00:23:53 +0000 (0:00:00.241) 0:00:00.834 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 00:23:53 +0000 (0:00:00.193) 0:00:01.027 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 00:23:53 +0000 (0:00:00.020) 0:00:01.047 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 00:23:53 +0000 (0:00:00.015) 0:00:01.063 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 00:23:53 +0000 (0:00:00.030) 0:00:01.093 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 00:23:53 +0000 (0:00:00.187) 0:00:01.281 ****** 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_type76gtcf1q/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 00:23:54 +0000 (0:00:00.457) 0:00:01.738 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.204731", "end": "2024-01-11 00:23:54.754825", "rc": 0, "start": "2024-01-11 00:23:54.550094" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 00:23:54 +0000 (0:00:00.331) 0:00:02.070 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 00:23:54 +0000 (0:00:00.010) 0:00:02.080 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/tests_states_initscripts.yml:10 Thursday 11 January 2024 00:23:54 +0000 (0:00:00.009) 0:00:02.090 ****** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tests_states.yml:3 Thursday 11 January 2024 00:23:54 +0000 (0:00:00.009) 0:00:02.100 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tests_states.yml:11 Thursday 11 January 2024 00:23:55 +0000 (0:00:00.392) 0:00:02.493 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tests_states.yml:22 Thursday 11 January 2024 00:23:55 +0000 (0:00:00.011) 0:00:02.504 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:23:55 +0000 (0:00:00.016) 0:00:02.521 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:23:55 +0000 (0:00:00.010) 0:00:02.531 ****** 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:23:55 +0000 (0:00:00.033) 0:00:02.565 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:23:55 +0000 (0:00:00.015) 0:00:02.580 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:23:55 +0000 (0:00:00.014) 0:00:02.594 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004764", "end": "2024-01-11 00:23:56.410933", "rc": 0, "start": "2024-01-11 00:23:55.406169" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:23:56 +0000 (0:00:01.132) 0:00:03.727 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:23:56 +0000 (0:00:00.012) 0:00:03.739 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:23:56 +0000 (0:00:00.010) 0:00:03.749 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 00:23:56 +0000 (0:00:00.020) 0:00:03.770 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010992", "end": "2024-01-11 00:23:56.604211", "rc": 1, "start": "2024-01-11 00:23:56.593219" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:23:56 +0000 (0:00:00.158) 0:00:03.929 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:23:56 +0000 (0:00:00.016) 0:00:03.945 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:23:56 +0000 (0:00:00.127) 0:00:04.073 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:23:56 +0000 (0:00:00.019) 0:00:04.092 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:23:56 +0000 (0:00:00.018) 0:00:04.110 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:23:56 +0000 (0:00:00.034) 0:00:04.145 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:23:56 +0000 (0:00:00.077) 0:00:04.222 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:23:56 +0000 (0:00:00.015) 0:00:04.238 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:23:56 +0000 (0:00:00.011) 0:00:04.249 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:23:56 +0000 (0:00:00.015) 0:00:04.264 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:23:57 +0000 (0:00:00.883) 0:00:05.148 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:23:58 +0000 (0:00:00.836) 0:00:05.984 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:23:58 +0000 (0:00:00.036) 0:00:06.020 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:23:58 +0000 (0:00:00.022) 0:00:06.043 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:23:58 +0000 (0:00:00.027) 0:00:06.070 ****** changed: [sut] => { "changed": true, "changes": { "installed": [ "bridge-utils" ] }, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7_9.1.x86_64 providing dhclient is already installed", "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 rhel-Server 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:01 +0000 (0:00:02.640) 0:00:08.710 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:01 +0000 (0:00:00.038) 0:00:08.749 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:01 +0000 (0:00:00.021) 0:00:08.771 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:01 +0000 (0:00:00.025) 0:00:08.796 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:01 +0000 (0:00:00.020) 0:00:08.816 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:01 +0000 (0:00:00.019) 0:00:08.836 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:01 +0000 (0:00:00.367) 0:00:09.204 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17252hynqoc6b/tmp9pdd3b04" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:02 +0000 (0:00:00.243) 0:00:09.448 ****** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:02 +0000 (0:00:00.353) 0:00:09.802 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:02 +0000 (0:00:00.023) 0:00:09.825 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:02 +0000 (0:00:00.023) 0:00:09.849 ****** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:02 +0000 (0:00:00.024) 0:00:09.874 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:02 +0000 (0:00:00.023) 0:00:09.898 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:24:02 +0000 (0:00:00.241) 0:00:10.139 ****** 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:24:02 +0000 (0:00:00.079) 0:00:10.219 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:24:03 +0000 (0:00:00.090) 0:00:10.309 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:24:03 +0000 (0:00:00.057) 0:00:10.367 ****** 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:24:03 +0000 (0:00:00.026) 0:00:10.393 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932642.467166, "block_size": 4096, "blocks": 8, "ctime": 1704932642.4681659, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704932642.4681659, "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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:24:03 +0000 (0:00:00.149) 0:00:10.542 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:24:03 +0000 (0:00:00.029) 0:00:10.572 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024657", "end": "2024-01-11 00:24:03.409875", "rc": 1, "start": "2024-01-11 00:24:03.385218" } 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:24:03 +0000 (0:00:00.174) 0:00:10.747 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:24:03 +0000 (0:00:00.049) 0:00:10.796 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003540", "end": "2024-01-11 00:24:03.636595", "rc": 0, "start": "2024-01-11 00:24:03.633055" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:24:03 +0000 (0:00:00.191) 0:00:10.988 ****** 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:24:03 +0000 (0:00:00.028) 0:00:11.016 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003567", "end": "2024-01-11 00:24:03.836776", "rc": 0, "start": "2024-01-11 00:24:03.833209" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:24:03 +0000 (0:00:00.147) 0:00:11.164 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:24:03 +0000 (0:00:00.041) 0:00:11.206 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:24:03 +0000 (0:00:00.049) 0:00:11.255 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:24:03 +0000 (0:00:00.041) 0:00:11.297 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:24:04 +0000 (0:00:00.029) 0:00:11.326 ****** skipping: [sut] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:24:04 +0000 (0:00:00.026) 0:00:11.353 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:24:04 +0000 (0:00:00.085) 0:00:11.438 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:24:04 +0000 (0:00:00.044) 0:00:11.483 ****** 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.045231", "end": "2024-01-11 00:24:04.346345", "rc": 1, "start": "2024-01-11 00:24:04.301114" } 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_type76gtcf1q/tests/playbooks/tests_states.yml:45 Thursday 11 January 2024 00:24:04 +0000 (0:00:00.196) 0:00:11.679 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:24:04 +0000 (0:00:00.052) 0:00:11.731 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:24:04 +0000 (0:00:00.022) 0:00:11.754 ****** 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" } 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:24:04 +0000 (0:00:00.059) 0:00:11.814 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:24:04 +0000 (0:00:00.052) 0:00:11.867 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:24:04 +0000 (0:00:00.038) 0:00:11.906 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004708", "end": "2024-01-11 00:24:05.727437", "rc": 0, "start": "2024-01-11 00:24:04.722729" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:24:05 +0000 (0:00:01.148) 0:00:13.054 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:24:05 +0000 (0:00:00.038) 0:00:13.093 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:24:05 +0000 (0:00:00.049) 0:00:13.142 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 00:24:05 +0000 (0:00:00.044) 0:00:13.186 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007511", "end": "2024-01-11 00:24:06.004232", "rc": 1, "start": "2024-01-11 00:24:05.996721" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.143) 0:00:13.329 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.034) 0:00:13.364 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.139) 0:00:13.504 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.023) 0:00:13.527 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.037) 0:00:13.565 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.038) 0:00:13.604 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.038) 0:00:13.642 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.030) 0:00:13.672 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.036) 0:00:13.709 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:06 +0000 (0:00:00.029) 0:00:13.738 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:07 +0000 (0:00:00.777) 0:00:14.516 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:07 +0000 (0:00:00.674) 0:00:15.190 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:07 +0000 (0:00:00.024) 0:00:15.215 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:07 +0000 (0:00:00.022) 0:00:15.237 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:07 +0000 (0:00:00.031) 0:00:15.269 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.043) 0:00:15.312 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.031) 0:00:15.344 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.021) 0:00:15.365 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.023) 0:00:15.388 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.020) 0:00:15.409 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.022) 0:00:15.432 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.271) 0:00:15.703 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17252hynqoc6b/tmpv23d_5_k" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.232) 0:00:15.936 ****** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.232) 0:00:16.168 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.020) 0:00:16.189 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.022) 0:00:16.211 ****** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.021) 0:00:16.232 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:08 +0000 (0:00:00.021) 0:00:16.254 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 11 January 2024 00:24:09 +0000 (0:00:00.134) 0:00:16.388 ****** 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:24:09 +0000 (0:00:00.021) 0:00:16.409 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 00:24:09 +0000 (0:00:00.042) 0:00:16.452 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:24:09 +0000 (0:00:00.036) 0:00:16.488 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 00:24:09 +0000 (0:00:00.165) 0:00:16.654 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:24:09 +0000 (0:00:00.029) 0:00:16.683 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:24:09 +0000 (0:00:00.077) 0:00:16.761 ****** 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:24:09 +0000 (0:00:00.031) 0:00:16.793 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932648.8410323, "block_size": 4096, "blocks": 8, "ctime": 1704932648.8410323, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704932648.8410323, "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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:24:09 +0000 (0:00:00.155) 0:00:16.948 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:24:09 +0000 (0:00:00.025) 0:00:16.974 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020933", "end": "2024-01-11 00:24:09.832263", "rc": 1, "start": "2024-01-11 00:24:09.811330" } 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:24:09 +0000 (0:00:00.186) 0:00:17.160 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:24:09 +0000 (0:00:00.023) 0:00:17.184 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003503", "end": "2024-01-11 00:24:10.003059", "rc": 0, "start": "2024-01-11 00:24:09.999556" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.156) 0:00:17.341 ****** 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.029) 0:00:17.370 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003605", "end": "2024-01-11 00:24:10.193622", "rc": 0, "start": "2024-01-11 00:24:10.190017" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.152) 0:00:17.522 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.040) 0:00:17.563 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.032) 0:00:17.596 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.023) 0:00:17.620 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.021) 0:00:17.642 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.019) 0:00:17.662 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.037) 0:00:17.700 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.054) 0:00:17.754 ****** 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.044464", "end": "2024-01-11 00:24:10.684444", "rc": 1, "start": "2024-01-11 00:24:10.639980" } 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_type76gtcf1q/tests/playbooks/tests_states.yml:65 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.255) 0:00:18.009 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.041) 0:00:18.051 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.023) 0:00:18.075 ****** 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" } 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.058) 0:00:18.133 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.034) 0:00:18.167 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:24:10 +0000 (0:00:00.032) 0:00:18.200 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003856", "end": "2024-01-11 00:24:11.016756", "rc": 0, "start": "2024-01-11 00:24:11.012900" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.141) 0:00:18.341 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.022) 0:00:18.364 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.020) 0:00:18.384 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.036) 0:00:18.421 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.037) 0:00:18.459 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.062) 0:00:18.521 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.025) 0:00:18.547 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.020) 0:00:18.567 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:11 +0000 (0:00:00.021) 0:00:18.589 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.820) 0:00:19.409 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.666) 0:00:20.076 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.022) 0:00:20.098 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.021) 0:00:20.120 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.023) 0:00:20.143 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.047) 0:00:20.191 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.050) 0:00:20.242 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.022) 0:00:20.264 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:12 +0000 (0:00:00.029) 0:00:20.294 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.023) 0:00:20.318 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.021) 0:00:20.339 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.240) 0:00:20.580 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17252hynqoc6b/tmp4snj9ux8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.237) 0:00:20.818 ****** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.258) 0:00:21.076 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.042) 0:00:21.118 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.034) 0:00:21.152 ****** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.024) 0:00:21.177 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:13 +0000 (0:00:00.034) 0:00:21.211 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:24:14 +0000 (0:00:00.147) 0:00:21.359 ****** 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:24:14 +0000 (0:00:00.028) 0:00:21.388 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:24:14 +0000 (0:00:00.037) 0:00:21.425 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:14 +0000 (0:00:00.061) 0:00:21.487 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:14 +0000 (0:00:00.039) 0:00:21.526 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:14 +0000 (0:00:00.025) 0:00:21.552 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:14 +0000 (0:00:00.023) 0:00:21.575 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:14 +0000 (0:00:00.026) 0:00:21.601 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:15 +0000 (0:00:00.788) 0:00:22.390 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:15 +0000 (0:00:00.665) 0:00:23.055 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:15 +0000 (0:00:00.038) 0:00:23.093 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:15 +0000 (0:00:00.035) 0:00:23.129 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:15 +0000 (0:00:00.063) 0:00:23.193 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:15 +0000 (0:00:00.044) 0:00:23.238 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:15 +0000 (0:00:00.021) 0:00:23.259 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:15 +0000 (0:00:00.025) 0:00:23.284 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:16 +0000 (0:00:00.037) 0:00:23.321 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:16 +0000 (0:00:00.024) 0:00:23.346 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:16 +0000 (0:00:00.021) 0:00:23.367 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:16 +0000 (0:00:00.267) 0:00:23.635 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17252hynqoc6b/tmprt61v1nn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:16 +0000 (0:00:00.267) 0:00:23.903 ****** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.518) 0:00:24.421 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.021) 0:00:24.443 ****** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.029) 0:00:24.472 ****** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.029) 0:00:24.502 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.026) 0:00:24.529 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.146) 0:00:24.675 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.141) 0:00:24.817 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.058) 0:00:24.876 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932657.005861, "block_size": 4096, "blocks": 0, "ctime": 1704932657.002861, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17476, "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": 1704932657.002861, "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_type76gtcf1q/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.185) 0:00:25.061 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.023) 0:00:25.085 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.036) 0:00:25.121 ****** 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.020) 0:00:25.142 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932656.8218648, "block_size": 4096, "blocks": 8, "ctime": 1704932653.7229297, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704932653.7229297, "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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:24:17 +0000 (0:00:00.149) 0:00:25.291 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.024) 0:00:25.316 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023728", "end": "2024-01-11 00:24:18.154608", "rc": 1, "start": "2024-01-11 00:24:18.130880" } 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.161) 0:00:25.478 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.022) 0:00:25.500 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003539", "end": "2024-01-11 00:24:18.317384", "rc": 0, "start": "2024-01-11 00:24:18.313845" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.151) 0:00:25.652 ****** 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.026) 0:00:25.679 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003531", "end": "2024-01-11 00:24:18.498795", "rc": 0, "start": "2024-01-11 00:24:18.495264" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.147) 0:00:25.826 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.049) 0:00:25.875 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.023) 0:00:25.898 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.023) 0:00:25.922 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.021) 0:00:25.943 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.020) 0:00:25.963 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.023) 0:00:25.987 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.041) 0:00:26.029 ****** 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.051426", "end": "2024-01-11 00:24:18.901470", "rc": 0, "start": "2024-01-11 00:24:18.850044" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tests_states.yml:83 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.198) 0:00:26.227 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.035) 0:00:26.263 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:24:18 +0000 (0:00:00.022) 0:00:26.285 ****** 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" } 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:24:19 +0000 (0:00:00.043) 0:00:26.328 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:24:19 +0000 (0:00:00.040) 0:00:26.368 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:24:19 +0000 (0:00:00.032) 0:00:26.401 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003581", "end": "2024-01-11 00:24:19.219503", "rc": 0, "start": "2024-01-11 00:24:19.215922" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:24:19 +0000 (0:00:00.173) 0:00:26.574 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:24:19 +0000 (0:00:00.036) 0:00:26.611 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:24:19 +0000 (0:00:00.040) 0:00:26.652 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:24:19 +0000 (0:00:00.050) 0:00:26.702 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:19 +0000 (0:00:00.035) 0:00:26.737 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:19 +0000 (0:00:00.040) 0:00:26.778 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:19 +0000 (0:00:00.025) 0:00:26.803 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:19 +0000 (0:00:00.022) 0:00:26.826 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:19 +0000 (0:00:00.020) 0:00:26.847 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:20 +0000 (0:00:00.778) 0:00:27.625 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:21 +0000 (0:00:00.683) 0:00:28.309 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:21 +0000 (0:00:00.024) 0:00:28.334 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:21 +0000 (0:00:00.032) 0:00:28.366 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:21 +0000 (0:00:00.024) 0:00:28.391 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:21 +0000 (0:00:00.055) 0:00:28.446 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:21 +0000 (0:00:00.024) 0:00:28.471 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:21 +0000 (0:00:00.021) 0:00:28.492 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:21 +0000 (0:00:00.025) 0:00:28.518 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:21 +0000 (0:00:00.041) 0:00:28.559 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:21 +0000 (0:00:00.022) 0:00:28.582 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:21 +0000 (0:00:00.269) 0:00:28.852 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17252hynqoc6b/tmpsfmgsyc8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:21 +0000 (0:00:00.224) 0:00:29.077 ****** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.299) 0:00:29.376 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.042) 0:00:29.418 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.031) 0:00:29.450 ****** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.031) 0:00:29.482 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.025) 0:00:29.507 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.158) 0:00:29.665 ****** 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_type76gtcf1q/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.059) 0:00:29.724 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.036) 0:00:29.761 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.038) 0:00:29.799 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.025) 0:00:29.825 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.021) 0:00:29.846 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:22 +0000 (0:00:00.019) 0:00:29.866 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:23 +0000 (0:00:00.788) 0:00:30.654 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.700) 0:00:31.355 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.024) 0:00:31.380 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.048) 0:00:31.429 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.038) 0:00:31.468 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.044) 0:00:31.512 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.021) 0:00:31.534 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.021) 0:00:31.556 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.030) 0:00:31.587 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.024) 0:00:31.612 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.024) 0:00:31.637 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.234) 0:00:31.871 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17252hynqoc6b/tmp5qr2m033" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:24 +0000 (0:00:00.234) 0:00:32.105 ****** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.502) 0:00:32.608 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.021) 0:00:32.629 ****** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.022) 0:00:32.652 ****** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.024) 0:00:32.676 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.025) 0:00:32.702 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.156) 0:00:32.859 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.051) 0:00:32.910 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.125) 0:00:33.036 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.070) 0:00:33.107 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.048) 0:00:33.155 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.036) 0:00:33.192 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:25 +0000 (0:00:00.022) 0:00:33.214 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:26 +0000 (0:00:00.844) 0:00:34.058 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.671) 0:00:34.729 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.024) 0:00:34.754 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.041) 0:00:34.795 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.025) 0:00:34.821 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.042) 0:00:34.864 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.021) 0:00:34.885 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.029) 0:00:34.915 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.025) 0:00:34.941 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.033) 0:00:34.974 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:27 +0000 (0:00:00.045) 0:00:35.020 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.305) 0:00:35.325 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17252hynqoc6b/tmpe4pwlu_y" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.231) 0:00:35.557 ****** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.249) 0:00:35.807 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.022) 0:00:35.829 ****** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.022) 0:00:35.852 ****** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.021) 0:00:35.873 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.020) 0:00:35.894 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.136) 0:00:36.031 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.041) 0:00:36.073 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.035) 0:00:36.108 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704932665.2136886, "block_size": 4096, "blocks": 0, "ctime": 1704932665.2116888, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17476, "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": 1704932665.2116888, "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_type76gtcf1q/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.145) 0:00:36.254 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:24:28 +0000 (0:00:00.025) 0:00:36.279 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:24:29 +0000 (0:00:00.069) 0:00:36.349 ****** 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:24:29 +0000 (0:00:00.025) 0:00:36.375 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:24:29 +0000 (0:00:00.138) 0:00:36.513 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:24:29 +0000 (0:00:00.022) 0:00:36.536 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022703", "end": "2024-01-11 00:24:29.372216", "rc": 1, "start": "2024-01-11 00:24:29.349513" } 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:24:29 +0000 (0:00:00.171) 0:00:36.707 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:24:29 +0000 (0:00:00.031) 0:00:36.738 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:24:29 +0000 (0:00:00.024) 0:00:36.763 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:24:29 +0000 (0:00:00.041) 0:00:36.804 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:24:29 +0000 (0:00:00.024) 0:00:36.828 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:24:29 +0000 (0:00:00.024) 0:00:36.852 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:24:29 +0000 (0:00:00.030) 0:00:36.882 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:24:29 +0000 (0:00:00.024) 0:00:36.907 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:24:29 +0000 (0:00:00.022) 0:00:36.929 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:24:29 +0000 (0:00:00.043) 0:00:36.972 ****** 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.048053", "end": "2024-01-11 00:24:29.838441", "rc": 0, "start": "2024-01-11 00:24:29.790388" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tests_states.yml:103 Thursday 11 January 2024 00:24:29 +0000 (0:00:00.192) 0:00:37.165 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:24:29 +0000 (0:00:00.066) 0:00:37.232 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:24:29 +0000 (0:00:00.026) 0:00:37.259 ****** 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.056) 0:00:37.315 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.075) 0:00:37.391 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.035) 0:00:37.426 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003516", "end": "2024-01-11 00:24:30.269300", "rc": 0, "start": "2024-01-11 00:24:30.265784" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.172) 0:00:37.598 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.031) 0:00:37.630 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.024) 0:00:37.654 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.053) 0:00:37.708 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.040) 0:00:37.748 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.053) 0:00:37.801 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.047) 0:00:37.849 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.024) 0:00:37.874 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:30 +0000 (0:00:00.085) 0:00:37.959 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:31 +0000 (0:00:00.783) 0:00:38.743 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.650) 0:00:39.394 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.044) 0:00:39.438 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.023) 0:00:39.461 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.023) 0:00:39.484 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.043) 0:00:39.528 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.021) 0:00:39.550 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.020) 0:00:39.571 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.024) 0:00:39.596 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.021) 0:00:39.618 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.042) 0:00:39.660 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.257) 0:00:39.918 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17252hynqoc6b/tmpgpkbmgr7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:32 +0000 (0:00:00.298) 0:00:40.216 ****** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.237) 0:00:40.454 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.022) 0:00:40.477 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.024) 0:00:40.501 ****** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.024) 0:00:40.525 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.020) 0:00:40.546 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.158) 0:00:40.705 ****** 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_type76gtcf1q/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.025) 0:00:40.730 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.061) 0:00:40.791 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.043) 0:00:40.834 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.029) 0:00:40.863 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.031) 0:00:40.895 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:33 +0000 (0:00:00.095) 0:00:40.991 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:34 +0000 (0:00:00.775) 0:00:41.766 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.659) 0:00:42.426 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.022) 0:00:42.448 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.021) 0:00:42.469 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.022) 0:00:42.492 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.044) 0:00:42.536 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.022) 0:00:42.558 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.022) 0:00:42.580 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.024) 0:00:42.605 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.047) 0:00:42.652 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.023) 0:00:42.676 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.253) 0:00:42.929 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17252hynqoc6b/tmps6i9jt5b" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:35 +0000 (0:00:00.247) 0:00:43.176 ****** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:36 +0000 (0:00:00.531) 0:00:43.708 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:36 +0000 (0:00:00.031) 0:00:43.739 ****** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:36 +0000 (0:00:00.029) 0:00:43.768 ****** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:36 +0000 (0:00:00.039) 0:00:43.808 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:36 +0000 (0:00:00.047) 0:00:43.855 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 00:24:36 +0000 (0:00:00.136) 0:00:43.991 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:36 +0000 (0:00:00.035) 0:00:44.026 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:36 +0000 (0:00:00.038) 0:00:44.065 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:36 +0000 (0:00:00.025) 0:00:44.091 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:36 +0000 (0:00:00.046) 0:00:44.137 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:36 +0000 (0:00:00.021) 0:00:44.159 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:37 +0000 (0:00:00.815) 0:00:44.974 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.691) 0:00:45.666 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.024) 0:00:45.690 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.025) 0:00:45.716 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.022) 0:00:45.739 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.049) 0:00:45.788 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.022) 0:00:45.811 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.026) 0:00:45.837 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.061) 0:00:45.898 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.022) 0:00:45.921 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.022) 0:00:45.944 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:38 +0000 (0:00:00.238) 0:00:46.182 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17252hynqoc6b/tmpyg4ty9ks" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:39 +0000 (0:00:00.241) 0:00:46.424 ****** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:39 +0000 (0:00:00.242) 0:00:46.667 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:39 +0000 (0:00:00.021) 0:00:46.688 ****** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:39 +0000 (0:00:00.023) 0:00:46.711 ****** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:39 +0000 (0:00:00.023) 0:00:46.735 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:39 +0000 (0:00:00.021) 0:00:46.757 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:24:39 +0000 (0:00:00.150) 0:00:46.907 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:24:39 +0000 (0:00:00.039) 0:00:46.947 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:39 +0000 (0:00:00.046) 0:00:46.993 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:39 +0000 (0:00:00.080) 0:00:47.074 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:39 +0000 (0:00:00.037) 0:00:47.112 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:39 +0000 (0:00:00.023) 0:00:47.135 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:39 +0000 (0:00:00.024) 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 [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:40 +0000 (0:00:00.809) 0:00:47.969 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:41 +0000 (0:00:00.667) 0:00:48.637 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:41 +0000 (0:00:00.021) 0:00:48.659 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:41 +0000 (0:00:00.020) 0:00:48.679 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:41 +0000 (0:00:00.020) 0:00:48.700 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:41 +0000 (0:00:00.041) 0:00:48.742 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:41 +0000 (0:00:00.048) 0:00:48.790 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:41 +0000 (0:00:00.022) 0:00:48.813 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:41 +0000 (0:00:00.026) 0:00:48.839 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:41 +0000 (0:00:00.021) 0:00:48.861 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:41 +0000 (0:00:00.021) 0:00:48.882 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:41 +0000 (0:00:00.251) 0:00:49.134 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17252hynqoc6b/tmpcqrl__3u" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.256) 0:00:49.391 ****** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.237) 0:00:49.628 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.024) 0:00:49.653 ****** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.024) 0:00:49.678 ****** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.022) 0:00:49.700 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.021) 0:00:49.721 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.139) 0:00:49.861 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.050) 0:00:49.911 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.064) 0:00:49.976 ****** 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.031) 0:00:50.007 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.160) 0:00:50.167 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:24:42 +0000 (0:00:00.043) 0:00:50.210 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022122", "end": "2024-01-11 00:24:43.045142", "rc": 1, "start": "2024-01-11 00:24:43.023020" } 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.172) 0:00:50.383 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.027) 0:00:50.411 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.025) 0:00:50.436 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.023) 0:00:50.460 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.021) 0:00:50.482 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.022) 0:00:50.504 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.022) 0:00:50.527 ****** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.028) 0:00:50.555 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.023) 0:00:50.579 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.043) 0:00:50.623 ****** 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.051384", "end": "2024-01-11 00:24:43.489438", "rc": 0, "start": "2024-01-11 00:24:43.438054" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tests_states.yml:126 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.194) 0:00:50.817 ****** included: /WORKDIR/git-route_type76gtcf1q/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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.074) 0:00:50.891 ****** 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.029) 0:00:50.921 ****** 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.058) 0:00:50.980 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.058) 0:00:51.038 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.059) 0:00:51.097 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003578", "end": "2024-01-11 00:24:43.928174", "rc": 0, "start": "2024-01-11 00:24:43.924596" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.157) 0:00:51.255 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.022) 0:00:51.277 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 00:24:43 +0000 (0:00:00.020) 0:00:51.298 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 00:24:44 +0000 (0:00:00.046) 0:00:51.344 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:44 +0000 (0:00:00.038) 0:00:51.383 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:44 +0000 (0:00:00.041) 0:00:51.424 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:44 +0000 (0:00:00.035) 0:00:51.460 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:44 +0000 (0:00:00.022) 0:00:51.482 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:44 +0000 (0:00:00.057) 0:00:51.540 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.796) 0:00:52.336 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.668) 0:00:53.005 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.029) 0:00:53.034 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.026) 0:00:53.061 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.028) 0:00:53.089 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.046) 0:00:53.136 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.021) 0:00:53.157 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.021) 0:00:53.179 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.025) 0:00:53.204 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.045) 0:00:53.249 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:45 +0000 (0:00:00.022) 0:00:53.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 [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.246) 0:00:53.518 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17252hynqoc6b/tmp7wxxza6s" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.231) 0:00:53.749 ****** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.233) 0:00:53.982 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.021) 0:00:54.004 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.024) 0:00:54.029 ****** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.027) 0:00:54.056 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.022) 0:00:54.078 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.160) 0:00:54.239 ****** 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_type76gtcf1q/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 00:24:46 +0000 (0:00:00.051) 0:00:54.291 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:47 +0000 (0:00:00.093) 0:00:54.384 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:47 +0000 (0:00:00.092) 0:00:54.477 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:47 +0000 (0:00:00.087) 0:00:54.565 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:47 +0000 (0:00:00.021) 0:00:54.587 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:47 +0000 (0:00:00.025) 0:00:54.612 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:48 +0000 (0:00:00.826) 0:00:55.439 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:48 +0000 (0:00:00.677) 0:00:56.116 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:48 +0000 (0:00:00.022) 0:00:56.139 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:48 +0000 (0:00:00.024) 0:00:56.163 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:48 +0000 (0:00:00.021) 0:00:56.185 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:48 +0000 (0:00:00.042) 0:00:56.227 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:48 +0000 (0:00:00.021) 0:00:56.249 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:48 +0000 (0:00:00.020) 0:00:56.270 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:49 +0000 (0:00:00.055) 0:00:56.326 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:49 +0000 (0:00:00.028) 0:00:56.354 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:49 +0000 (0:00:00.035) 0:00:56.389 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:49 +0000 (0:00:00.235) 0:00:56.625 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17252hynqoc6b/tmpst2q01ji" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:49 +0000 (0:00:00.226) 0:00:56.851 ****** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.481) 0:00:57.333 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.021) 0:00:57.355 ****** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.022) 0:00:57.377 ****** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.027) 0:00:57.404 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.024) 0:00:57.429 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.140) 0:00:57.570 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.045) 0:00:57.615 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.070) 0:00:57.685 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.026) 0:00:57.711 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.022) 0:00:57.733 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:50 +0000 (0:00:00.022) 0:00:57.756 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:51 +0000 (0:00:00.785) 0:00:58.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 [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:51 +0000 (0:00:00.661) 0:00:59.203 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:51 +0000 (0:00:00.026) 0:00:59.229 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:51 +0000 (0:00:00.020) 0:00:59.250 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:51 +0000 (0:00:00.021) 0:00:59.271 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.041) 0:00:59.313 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.045) 0:00:59.359 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.022) 0:00:59.381 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.024) 0:00:59.405 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.022) 0:00:59.428 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.021) 0:00:59.449 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.235) 0:00:59.684 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17252hynqoc6b/tmp858wg9_d" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.238) 0:00:59.923 ****** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.269) 0:01:00.192 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.022) 0:01:00.215 ****** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.032) 0:01:00.247 ****** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.022) 0:01:00.269 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:52 +0000 (0:00:00.021) 0:01:00.291 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 00:24:53 +0000 (0:00:00.131) 0:01:00.422 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 00:24:53 +0000 (0:00:00.036) 0:01:00.459 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 00:24:53 +0000 (0:00:00.058) 0:01:00.518 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 00:24:53 +0000 (0:00:00.040) 0:01:00.558 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 00:24:53 +0000 (0:00:00.026) 0:01:00.584 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 00:24:53 +0000 (0:00:00.028) 0:01:00.613 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 00:24:53 +0000 (0:00:00.025) 0:01:00.638 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 00:24:54 +0000 (0:00:00.783) 0:01:01.422 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 00:24:54 +0000 (0:00:00.667) 0:01:02.089 ****** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 00:24:54 +0000 (0:00:00.022) 0:01:02.112 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 00:24:54 +0000 (0:00:00.020) 0:01:02.132 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 00:24:54 +0000 (0:00:00.044) 0:01:02.177 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 00:24:54 +0000 (0:00:00.043) 0:01:02.221 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 00:24:54 +0000 (0:00:00.021) 0:01:02.243 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 00:24:54 +0000 (0:00:00.021) 0:01:02.264 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 00:24:54 +0000 (0:00:00.025) 0:01:02.290 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.021) 0:01:02.312 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.023) 0:01:02.335 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.235) 0:01:02.571 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17252hynqoc6b/tmp3h07_o1b" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.224) 0:01:02.795 ****** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.253) 0:01:03.049 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.023) 0:01:03.072 ****** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.023) 0:01:03.095 ****** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.022) 0:01:03.118 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.019) 0:01:03.137 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 00:24:55 +0000 (0:00:00.131) 0:01:03.268 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.069) 0:01:03.338 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.036) 0:01:03.375 ****** 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.028) 0:01:03.403 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.137) 0:01:03.540 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.020) 0:01:03.561 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022590", "end": "2024-01-11 00:24:56.394318", "rc": 1, "start": "2024-01-11 00:24:56.371728" } 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_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.158) 0:01:03.720 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.022) 0:01:03.742 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.024) 0:01:03.766 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.022) 0:01:03.789 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.022) 0:01:03.811 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.021) 0:01:03.833 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 11 January 2024 00:24:56 +0000 (0:00:00.023) 0:01:03.856 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.417123", "end": "2024-01-11 00:24:57.086189", "rc": 0, "start": "2024-01-11 00:24:56.669066" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 11 January 2024 00:24:57 +0000 (0:00:00.555) 0:01:04.411 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 11 January 2024 00:24:57 +0000 (0:00:00.022) 0:01:04.433 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 00:24:57 +0000 (0:00:00.052) 0:01:04.486 ****** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 00:24:57 +0000 (0:00:00.028) 0:01:04.514 ****** 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_type76gtcf1q/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 00:24:57 +0000 (0:00:00.021) 0:01:04.536 ****** included: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 00:24:57 +0000 (0:00:00.040) 0:01:04.576 ****** 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.048759", "end": "2024-01-11 00:24:57.436431", "rc": 0, "start": "2024-01-11 00:24:57.387672" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=335 changed=14 unreachable=0 failed=0 skipped=224 rescued=0 ignored=10 Thursday 11 January 2024 00:24:57 +0000 (0:00:00.184) 0:01:04.761 ****** =============================================================================== linux-system-roles.network : Install packages --------------------------- 2.83s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 2.03s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.38s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 1.38s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.24s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gather current interface info ------------------------------------------- 1.15s /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.13s /WORKDIR/git-route_type76gtcf1q/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable network service --------------------- 0.99s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.98s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which services are running ----------- 0.88s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Re-test connectivity ----------------------- 0.87s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/main.yml:155 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.84s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.83s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.81s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.80s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-route_type76gtcf1q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---