# 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_typeof58zhgg/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/tests_states_initscripts.yml:5 Tuesday 09 January 2024 16:47:26 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeof58zhgg/tests/tests_states_initscripts.yml:8 Tuesday 09 January 2024 16:47:26 +0000 (0:00:00.534) 0:00:00.545 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 16:47:26 +0000 (0:00:00.021) 0:00:00.567 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 16:47:27 +0000 (0:00:00.228) 0:00:00.796 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 16:47:27 +0000 (0:00:00.194) 0:00:00.991 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 16:47:27 +0000 (0:00:00.022) 0:00:01.013 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 16:47:27 +0000 (0:00:00.017) 0:00:01.031 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 16:47:27 +0000 (0:00:00.032) 0:00:01.063 ******* 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_typeof58zhgg/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 16:47:27 +0000 (0:00:00.192) 0:00:01.256 ******* 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_typeof58zhgg/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 16:47:28 +0000 (0:00:00.468) 0:00:01.724 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.202671", "end": "2024-01-09 16:47:28.385915", "rc": 0, "start": "2024-01-09 16:47:28.183244" } 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_typeof58zhgg/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 16:47:28 +0000 (0:00:00.345) 0:00:02.070 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 16:47:28 +0000 (0:00:00.010) 0:00:02.081 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/tests_states_initscripts.yml:10 Tuesday 09 January 2024 16:47:28 +0000 (0:00:00.009) 0:00:02.091 ******* 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_typeof58zhgg/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 16:47:28 +0000 (0:00:00.010) 0:00:02.101 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 16:47:28 +0000 (0:00:00.409) 0:00:02.511 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 16:47:28 +0000 (0:00:00.010) 0:00:02.521 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:47:28 +0000 (0:00:00.016) 0:00:02.538 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:47:28 +0000 (0:00:00.012) 0:00:02.550 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:47:28 +0000 (0:00:00.038) 0:00:02.589 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:47:28 +0000 (0:00:00.014) 0:00:02.604 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:47:28 +0000 (0:00:00.013) 0:00:02.617 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004692", "end": "2024-01-09 16:47:30.069859", "rc": 0, "start": "2024-01-09 16:47:29.065167" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:47:30 +0000 (0:00:01.137) 0:00:03.754 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:47:30 +0000 (0:00:00.013) 0:00:03.768 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:47:30 +0000 (0:00:00.010) 0:00:03.778 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 16:47:30 +0000 (0:00:00.021) 0:00:03.800 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012423", "end": "2024-01-09 16:47:30.253864", "rc": 1, "start": "2024-01-09 16:47:30.241441" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:47:30 +0000 (0:00:00.137) 0:00:03.937 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:47:30 +0000 (0:00:00.016) 0:00:03.953 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:47:30 +0000 (0:00:00.127) 0:00:04.081 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:47:30 +0000 (0:00:00.014) 0:00:04.096 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:47:30 +0000 (0:00:00.024) 0:00:04.120 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:47:30 +0000 (0:00:00.035) 0:00:04.156 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:47:30 +0000 (0:00:00.070) 0:00:04.226 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:47:30 +0000 (0:00:00.012) 0:00:04.239 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:47:30 +0000 (0:00:00.013) 0:00:04.253 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:47:30 +0000 (0:00:00.010) 0:00:04.263 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:47:31 +0000 (0:00:00.883) 0:00:05.147 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:47:32 +0000 (0:00:00.842) 0:00:05.990 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:47:32 +0000 (0:00:00.022) 0:00:06.012 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:47:32 +0000 (0:00:00.021) 0:00:06.034 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:47:32 +0000 (0:00:00.020) 0:00:06.055 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:47:34 +0000 (0:00:02.293) 0:00:08.349 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:47:34 +0000 (0:00:00.022) 0:00:08.371 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:47:34 +0000 (0:00:00.025) 0:00:08.396 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:47:34 +0000 (0:00:00.025) 0:00:08.422 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:47:34 +0000 (0:00:00.044) 0:00:08.467 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:47:34 +0000 (0:00:00.021) 0:00:08.488 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:47:35 +0000 (0:00:00.371) 0:00:08.859 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17240h2l2z8ft/tmp061twumw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:47:35 +0000 (0:00:00.236) 0:00:09.095 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:47:35 +0000 (0:00:00.357) 0:00:09.453 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:47:35 +0000 (0:00:00.022) 0:00:09.476 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:47:35 +0000 (0:00:00.023) 0:00:09.499 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:47:35 +0000 (0:00:00.035) 0:00:09.535 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:47:35 +0000 (0:00:00.028) 0:00:09.563 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.213) 0:00:09.776 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.023) 0:00:09.799 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.039) 0:00:09.839 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.061) 0:00:09.900 ******* 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.023) 0:00:09.924 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818855.7582269, "block_size": 4096, "blocks": 8, "ctime": 1704818855.7582269, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468709, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704818855.7582269, "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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.139) 0:00:10.063 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.025) 0:00:10.088 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.027113", "end": "2024-01-09 16:47:36.559574", "rc": 1, "start": "2024-01-09 16:47:36.532461" } 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.174) 0:00:10.263 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.024) 0:00:10.287 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003532", "end": "2024-01-09 16:47:36.743319", "rc": 0, "start": "2024-01-09 16:47:36.739787" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.152) 0:00:10.440 ******* 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.033) 0:00:10.473 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003536", "end": "2024-01-09 16:47:36.923610", "rc": 0, "start": "2024-01-09 16:47:36.920074" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.146) 0:00:10.620 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:47:36 +0000 (0:00:00.028) 0:00:10.649 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.027) 0:00:10.676 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.025) 0:00:10.701 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.024) 0:00:10.726 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.026) 0:00:10.752 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.027) 0:00:10.779 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.040) 0:00:10.820 ******* 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.046162", "end": "2024-01-09 16:47:37.316259", "rc": 1, "start": "2024-01-09 16:47:37.270097" } 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_typeof58zhgg/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.190) 0:00:11.011 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.044) 0:00:11.055 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.023) 0:00:11.078 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.050) 0:00:11.129 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.035) 0:00:11.164 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.036) 0:00:11.201 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003525", "end": "2024-01-09 16:47:37.653921", "rc": 0, "start": "2024-01-09 16:47:37.650396" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.161) 0:00:11.362 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.024) 0:00:11.386 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.022) 0:00:11.409 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.040) 0:00:11.449 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007306", "end": "2024-01-09 16:47:37.901600", "rc": 1, "start": "2024-01-09 16:47:37.894294" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.152) 0:00:11.602 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:47:37 +0000 (0:00:00.044) 0:00:11.647 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.184) 0:00:11.831 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.025) 0:00:11.856 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.039) 0:00:11.895 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.048) 0:00:11.944 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.041) 0:00:11.986 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.027) 0:00:12.014 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.034) 0:00:12.048 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:47:38 +0000 (0:00:00.035) 0:00:12.084 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:47:39 +0000 (0:00:00.772) 0:00:12.856 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:47:39 +0000 (0:00:00.673) 0:00:13.530 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:47:39 +0000 (0:00:00.021) 0:00:13.552 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:47:39 +0000 (0:00:00.022) 0:00:13.574 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:47:39 +0000 (0:00:00.021) 0:00:13.596 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:47:39 +0000 (0:00:00.044) 0:00:13.640 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:47:39 +0000 (0:00:00.021) 0:00:13.662 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.020) 0:00:13.682 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.024) 0:00:13.706 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.020) 0:00:13.727 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.021) 0:00:13.748 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.233) 0:00:13.981 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17240h2l2z8ft/tmphxggq6ae" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.226) 0:00:14.208 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.272) 0:00:14.480 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.048) 0:00:14.528 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.024) 0:00:14.553 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.025) 0:00:14.578 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:47:40 +0000 (0:00:00.022) 0:00:14.600 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.137) 0:00:14.738 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.022) 0:00:14.760 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.042) 0:00:14.802 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.036) 0:00:14.839 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.135) 0:00:14.975 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.023) 0:00:14.998 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.036) 0:00:15.034 ******* 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.021) 0:00:15.055 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818860.7840555, "block_size": 4096, "blocks": 8, "ctime": 1704818860.7840555, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468709, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704818860.7840555, "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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.131) 0:00:15.187 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.023) 0:00:15.210 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022335", "end": "2024-01-09 16:47:41.673285", "rc": 1, "start": "2024-01-09 16:47:41.650950" } 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.183) 0:00:15.394 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.022) 0:00:15.417 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003716", "end": "2024-01-09 16:47:41.864754", "rc": 0, "start": "2024-01-09 16:47:41.861038" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.145) 0:00:15.562 ******* 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:47:41 +0000 (0:00:00.027) 0:00:15.589 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003492", "end": "2024-01-09 16:47:42.038289", "rc": 0, "start": "2024-01-09 16:47:42.034797" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.147) 0:00:15.737 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.028) 0:00:15.765 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.026) 0:00:15.791 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.025) 0:00:15.817 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.022) 0:00:15.840 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.020) 0:00:15.860 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.025) 0:00:15.885 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.040) 0:00:15.926 ******* 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.045007", "end": "2024-01-09 16:47:42.418832", "rc": 1, "start": "2024-01-09 16:47:42.373825" } 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_typeof58zhgg/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.197) 0:00:16.124 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.037) 0:00:16.161 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.023) 0:00:16.185 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.105) 0:00:16.291 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.039) 0:00:16.331 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.033) 0:00:16.365 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003868", "end": "2024-01-09 16:47:42.812290", "rc": 0, "start": "2024-01-09 16:47:42.808422" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.141) 0:00:16.506 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.022) 0:00:16.529 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.023) 0:00:16.553 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.038) 0:00:16.591 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:47:42 +0000 (0:00:00.044) 0:00:16.636 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:47:43 +0000 (0:00:00.058) 0:00:16.695 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:47:43 +0000 (0:00:00.027) 0:00:16.723 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:47:43 +0000 (0:00:00.021) 0:00:16.745 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:47:43 +0000 (0:00:00.029) 0:00:16.774 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:47:43 +0000 (0:00:00.780) 0:00:17.554 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:47:44 +0000 (0:00:00.655) 0:00:18.209 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:47:44 +0000 (0:00:00.028) 0:00:18.238 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:47:44 +0000 (0:00:00.022) 0:00:18.260 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:47:44 +0000 (0:00:00.021) 0:00:18.281 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:47:44 +0000 (0:00:00.042) 0:00:18.324 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:47:44 +0000 (0:00:00.020) 0:00:18.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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:47:44 +0000 (0:00:00.021) 0:00:18.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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:47:44 +0000 (0:00:00.023) 0:00:18.389 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:47:44 +0000 (0:00:00.021) 0:00:18.410 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:47:44 +0000 (0:00:00.020) 0:00:18.431 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.261) 0:00:18.692 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17240h2l2z8ft/tmpqczs8_sy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.226) 0:00:18.918 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.229) 0:00:19.148 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.025) 0:00:19.174 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.028) 0:00:19.202 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.021) 0:00:19.224 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.021) 0:00:19.245 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.131) 0:00:19.377 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.023) 0:00:19.400 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.038) 0:00:19.438 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.038) 0:00:19.476 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.039) 0:00:19.516 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.059) 0:00:19.576 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.022) 0:00:19.598 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:47:45 +0000 (0:00:00.021) 0:00:19.620 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:47:46 +0000 (0:00:00.787) 0:00:20.408 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:47:47 +0000 (0:00:00.645) 0:00:21.053 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:47:47 +0000 (0:00:00.022) 0:00:21.076 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:47:47 +0000 (0:00:00.021) 0:00:21.097 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:47:47 +0000 (0:00:00.020) 0:00:21.117 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:47:47 +0000 (0:00:00.043) 0:00:21.161 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:47:47 +0000 (0:00:00.044) 0:00:21.206 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:47:47 +0000 (0:00:00.021) 0:00:21.227 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:47:47 +0000 (0:00:00.025) 0:00:21.253 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:47:47 +0000 (0:00:00.020) 0:00:21.273 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:47:47 +0000 (0:00:00.021) 0:00:21.295 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:47:47 +0000 (0:00:00.236) 0:00:21.532 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17240h2l2z8ft/tmp82gjxa_d" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.226) 0:00:21.758 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.482) 0:00:22.240 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.021) 0:00:22.262 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.024) 0:00:22.286 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.025) 0:00:22.312 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.022) 0:00:22.334 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.132) 0:00:22.467 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.044) 0:00:22.511 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:47:48 +0000 (0:00:00.063) 0:00:22.574 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818868.4737933, "block_size": 4096, "blocks": 0, "ctime": 1704818868.4707932, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17480, "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": 1704818868.4707932, "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_typeof58zhgg/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.136) 0:00:22.711 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.025) 0:00:22.736 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.047) 0:00:22.784 ******* 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.047) 0:00:22.831 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818868.2927995, "block_size": 4096, "blocks": 8, "ctime": 1704818865.4508963, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468709, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704818865.4508963, "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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.187) 0:00:23.019 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.027) 0:00:23.046 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023297", "end": "2024-01-09 16:47:49.522292", "rc": 1, "start": "2024-01-09 16:47:49.498995" } 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.179) 0:00:23.226 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.022) 0:00:23.249 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003480", "end": "2024-01-09 16:47:49.697437", "rc": 0, "start": "2024-01-09 16:47:49.693957" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.144) 0:00:23.393 ******* 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.029) 0:00:23.423 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003563", "end": "2024-01-09 16:47:49.871628", "rc": 0, "start": "2024-01-09 16:47:49.868065" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.144) 0:00:23.568 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 16:47:49 +0000 (0:00:00.071) 0:00:23.640 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.054) 0:00:23.694 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.061) 0:00:23.756 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.024) 0:00:23.780 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.021) 0:00:23.802 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.023) 0:00:23.825 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.039) 0:00:23.865 ******* 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.051852", "end": "2024-01-09 16:47:50.358951", "rc": 0, "start": "2024-01-09 16:47:50.307099" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.199) 0:00:24.064 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.043) 0:00:24.108 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.024) 0:00:24.132 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.053) 0:00:24.185 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.055) 0:00:24.241 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.049) 0:00:24.290 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003536", "end": "2024-01-09 16:47:50.756633", "rc": 0, "start": "2024-01-09 16:47:50.753097" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.166) 0:00:24.456 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.060) 0:00:24.517 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.027) 0:00:24.545 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.069) 0:00:24.614 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:47:50 +0000 (0:00:00.040) 0:00:24.654 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:47:51 +0000 (0:00:00.047) 0:00:24.701 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:47:51 +0000 (0:00:00.025) 0:00:24.726 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:47:51 +0000 (0:00:00.021) 0:00:24.747 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:47:51 +0000 (0:00:00.021) 0:00:24.769 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:47:51 +0000 (0:00:00.793) 0:00:25.562 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:47:52 +0000 (0:00:00.680) 0:00:26.243 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:47:52 +0000 (0:00:00.025) 0:00:26.268 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:47:52 +0000 (0:00:00.022) 0:00:26.291 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:47:52 +0000 (0:00:00.025) 0:00:26.316 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:47:52 +0000 (0:00:00.046) 0:00:26.362 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:47:52 +0000 (0:00:00.022) 0:00:26.385 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:47:52 +0000 (0:00:00.034) 0:00:26.420 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:47:52 +0000 (0:00:00.025) 0:00:26.445 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:47:52 +0000 (0:00:00.021) 0:00:26.467 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:47:52 +0000 (0:00:00.020) 0:00:26.487 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.230) 0:00:26.718 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17240h2l2z8ft/tmprue2z_0e" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.239) 0:00:26.958 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.230) 0:00:27.188 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.020) 0:00:27.209 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.021) 0:00:27.231 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.022) 0:00:27.253 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.057) 0:00:27.311 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.134) 0:00:27.446 ******* 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_typeof58zhgg/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.027) 0:00:27.473 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.045) 0:00:27.519 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.043) 0:00:27.562 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.025) 0:00:27.587 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.020) 0:00:27.608 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:47:53 +0000 (0:00:00.021) 0:00:27.629 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:47:54 +0000 (0:00:00.784) 0:00:28.414 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.739) 0:00:29.154 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.023) 0:00:29.177 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.021) 0:00:29.199 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.029) 0:00:29.228 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.044) 0:00:29.273 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.030) 0:00:29.304 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.028) 0:00:29.333 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.048) 0:00:29.381 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.022) 0:00:29.404 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.025) 0:00:29.429 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:47:55 +0000 (0:00:00.236) 0:00:29.666 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17240h2l2z8ft/tmpm8sqxhin" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:47:56 +0000 (0:00:00.223) 0:00:29.890 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:47:56 +0000 (0:00:00.489) 0:00:30.379 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:47:56 +0000 (0:00:00.021) 0:00:30.401 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:47:56 +0000 (0:00:00.048) 0:00:30.450 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:47:56 +0000 (0:00:00.024) 0:00:30.475 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:47:56 +0000 (0:00:00.021) 0:00:30.496 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:47:56 +0000 (0:00:00.129) 0:00:30.626 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 16:47:56 +0000 (0:00:00.038) 0:00:30.665 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:47:57 +0000 (0:00:00.039) 0:00:30.705 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:47:57 +0000 (0:00:00.038) 0:00:30.744 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:47:57 +0000 (0:00:00.025) 0:00:30.769 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:47:57 +0000 (0:00:00.020) 0:00:30.789 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:47:57 +0000 (0:00:00.020) 0:00:30.810 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:47:57 +0000 (0:00:00.794) 0:00:31.605 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.647) 0:00:32.252 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.025) 0:00:32.277 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.024) 0:00:32.302 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.027) 0:00:32.330 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.047) 0:00:32.377 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.027) 0:00:32.405 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.024) 0:00:32.429 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.025) 0:00:32.455 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.021) 0:00:32.476 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:47:58 +0000 (0:00:00.019) 0:00:32.495 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.233) 0:00:32.729 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17240h2l2z8ft/tmpa0xouiox" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.261) 0:00:32.990 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.239) 0:00:33.230 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.026) 0:00:33.256 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.023) 0:00:33.280 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.023) 0:00:33.304 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.025) 0:00:33.329 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.141) 0:00:33.471 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.049) 0:00:33.520 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 16:47:59 +0000 (0:00:00.035) 0:00:33.556 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704818876.604516, "block_size": 4096, "blocks": 0, "ctime": 1704818876.603516, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17480, "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": 1704818876.603516, "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_typeof58zhgg/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.142) 0:00:33.699 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.025) 0:00:33.724 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.035) 0:00:33.760 ******* 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.022) 0:00:33.782 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.135) 0:00:33.917 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.047) 0:00:33.965 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023249", "end": "2024-01-09 16:48:00.429464", "rc": 1, "start": "2024-01-09 16:48:00.406215" } 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.164) 0:00:34.129 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.026) 0:00:34.155 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.022) 0:00:34.177 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.034) 0:00:34.212 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.021) 0:00:34.233 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.022) 0:00:34.255 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.023) 0:00:34.279 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.019) 0:00:34.298 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.022) 0:00:34.321 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.038) 0:00:34.359 ******* 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.055904", "end": "2024-01-09 16:48:00.855985", "rc": 0, "start": "2024-01-09 16:48:00.800081" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.192) 0:00:34.552 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.035) 0:00:34.587 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.021) 0:00:34.609 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:48:00 +0000 (0:00:00.045) 0:00:34.654 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:48:01 +0000 (0:00:00.062) 0:00:34.716 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:48:01 +0000 (0:00:00.032) 0:00:34.749 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003508", "end": "2024-01-09 16:48:01.197486", "rc": 0, "start": "2024-01-09 16:48:01.193978" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:48:01 +0000 (0:00:00.142) 0:00:34.891 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:48:01 +0000 (0:00:00.021) 0:00:34.913 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:48:01 +0000 (0:00:00.021) 0:00:34.934 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:48:01 +0000 (0:00:00.042) 0:00:34.977 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:48:01 +0000 (0:00:00.035) 0:00:35.012 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:48:01 +0000 (0:00:00.038) 0:00:35.051 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:48:01 +0000 (0:00:00.024) 0:00:35.076 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:48:01 +0000 (0:00:00.021) 0:00:35.097 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:48:01 +0000 (0:00:00.020) 0:00:35.118 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:48:02 +0000 (0:00:00.777) 0:00:35.895 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:48:02 +0000 (0:00:00.653) 0:00:36.548 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:48:02 +0000 (0:00:00.022) 0:00:36.570 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:48:02 +0000 (0:00:00.021) 0:00:36.591 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:48:02 +0000 (0:00:00.021) 0:00:36.612 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:48:02 +0000 (0:00:00.041) 0:00:36.654 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.021) 0:00:36.676 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.020) 0:00:36.696 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.024) 0:00:36.721 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.020) 0:00:36.742 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.021) 0:00:36.763 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.258) 0:00:37.021 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17240h2l2z8ft/tmpdnrsjpjb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.231) 0:00:37.252 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.237) 0:00:37.490 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.022) 0:00:37.512 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.024) 0:00:37.536 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.023) 0:00:37.560 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:48:03 +0000 (0:00:00.023) 0:00:37.583 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:48:04 +0000 (0:00:00.132) 0:00:37.716 ******* 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_typeof58zhgg/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 16:48:04 +0000 (0:00:00.023) 0:00:37.740 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:48:04 +0000 (0:00:00.035) 0:00:37.775 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:48:04 +0000 (0:00:00.038) 0:00:37.814 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:48:04 +0000 (0:00:00.024) 0:00:37.839 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:48:04 +0000 (0:00:00.020) 0:00:37.860 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:48:04 +0000 (0:00:00.020) 0:00:37.880 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:48:05 +0000 (0:00:00.829) 0:00:38.709 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:48:05 +0000 (0:00:00.645) 0:00:39.354 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:48:05 +0000 (0:00:00.022) 0:00:39.377 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:48:05 +0000 (0:00:00.027) 0:00:39.404 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:48:05 +0000 (0:00:00.023) 0:00:39.428 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:48:05 +0000 (0:00:00.043) 0:00:39.471 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:48:05 +0000 (0:00:00.021) 0:00:39.493 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:48:05 +0000 (0:00:00.020) 0:00:39.514 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:48:05 +0000 (0:00:00.024) 0:00:39.538 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:48:05 +0000 (0:00:00.021) 0:00:39.560 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:48:05 +0000 (0:00:00.044) 0:00:39.605 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.231) 0:00:39.836 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17240h2l2z8ft/tmpfrgcjpeu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.222) 0:00:40.059 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.476) 0:00:40.535 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.022) 0:00:40.558 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.023) 0:00:40.581 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.027) 0:00:40.608 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:48:06 +0000 (0:00:00.031) 0:00:40.640 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 16:48:07 +0000 (0:00:00.134) 0:00:40.774 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:48:07 +0000 (0:00:00.035) 0:00:40.809 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:48:07 +0000 (0:00:00.041) 0:00:40.851 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:48:07 +0000 (0:00:00.027) 0:00:40.879 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:48:07 +0000 (0:00:00.054) 0:00:40.934 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:48:07 +0000 (0:00:00.025) 0:00:40.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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:48:08 +0000 (0:00:00.792) 0:00:41.752 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:48:08 +0000 (0:00:00.649) 0:00:42.402 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:48:08 +0000 (0:00:00.024) 0:00:42.426 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:48:08 +0000 (0:00:00.026) 0:00:42.453 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:48:08 +0000 (0:00:00.023) 0:00:42.476 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:48:08 +0000 (0:00:00.048) 0:00:42.525 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:48:08 +0000 (0:00:00.035) 0:00:42.560 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:48:08 +0000 (0:00:00.037) 0:00:42.598 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:48:08 +0000 (0:00:00.055) 0:00:42.653 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.034) 0:00:42.687 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.040) 0:00:42.728 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.252) 0:00:42.980 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17240h2l2z8ft/tmpnx4nbwv_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.227) 0:00:43.207 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.238) 0:00:43.446 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.023) 0:00:43.470 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.025) 0:00:43.495 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.027) 0:00:43.523 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:48:09 +0000 (0:00:00.023) 0:00:43.547 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:48:10 +0000 (0:00:00.144) 0:00:43.691 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 16:48:10 +0000 (0:00:00.065) 0:00:43.756 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:48:10 +0000 (0:00:00.067) 0:00:43.824 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:48:10 +0000 (0:00:00.072) 0:00:43.897 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:48:10 +0000 (0:00:00.026) 0:00:43.924 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:48:10 +0000 (0:00:00.022) 0:00:43.946 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:48:10 +0000 (0:00:00.021) 0:00:43.967 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:48:11 +0000 (0:00:00.781) 0:00:44.748 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:48:11 +0000 (0:00:00.647) 0:00:45.396 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:48:11 +0000 (0:00:00.023) 0:00:45.419 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:48:11 +0000 (0:00:00.031) 0:00:45.451 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:48:11 +0000 (0:00:00.022) 0:00:45.474 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:48:11 +0000 (0:00:00.069) 0:00:45.544 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:48:11 +0000 (0:00:00.021) 0:00:45.565 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:48:11 +0000 (0:00:00.021) 0:00:45.587 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:48:11 +0000 (0:00:00.024) 0:00:45.611 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:48:11 +0000 (0:00:00.021) 0:00:45.633 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:48:11 +0000 (0:00:00.022) 0:00:45.655 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.233) 0:00:45.889 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17240h2l2z8ft/tmpotagsana" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.232) 0:00:46.121 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.228) 0:00:46.349 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.021) 0:00:46.371 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.027) 0:00:46.398 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.024) 0:00:46.423 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.020) 0:00:46.444 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.153) 0:00:46.598 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 16:48:12 +0000 (0:00:00.051) 0:00:46.649 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.078) 0:00:46.728 ******* 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.023) 0:00:46.752 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.171) 0:00:46.924 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.036) 0:00:46.960 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023897", "end": "2024-01-09 16:48:13.429852", "rc": 1, "start": "2024-01-09 16:48:13.405955" } 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.175) 0:00:47.135 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.024) 0:00:47.160 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.028) 0:00:47.189 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.031) 0:00:47.220 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.042) 0:00:47.263 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.025) 0:00:47.288 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.025) 0:00:47.314 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.026) 0:00:47.340 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.022) 0:00:47.363 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.047) 0:00:47.410 ******* 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.047299", "end": "2024-01-09 16:48:13.907911", "rc": 0, "start": "2024-01-09 16:48:13.860612" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 16:48:13 +0000 (0:00:00.198) 0:00:47.609 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 16:48:14 +0000 (0:00:00.065) 0:00:47.674 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 16:48:14 +0000 (0:00:00.025) 0:00:47.699 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 16:48:14 +0000 (0:00:00.049) 0:00:47.748 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 16:48:14 +0000 (0:00:00.040) 0:00:47.789 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 16:48:14 +0000 (0:00:00.043) 0:00:47.832 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004742", "end": "2024-01-09 16:48:15.281502", "rc": 0, "start": "2024-01-09 16:48:14.276760" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 16:48:15 +0000 (0:00:01.144) 0:00:48.977 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 16:48:15 +0000 (0:00:00.021) 0:00:48.998 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 16:48:15 +0000 (0:00:00.022) 0:00:49.021 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 16:48:15 +0000 (0:00:00.046) 0:00:49.068 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:48:15 +0000 (0:00:00.064) 0:00:49.133 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:48:15 +0000 (0:00:00.047) 0:00:49.181 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:48:15 +0000 (0:00:00.036) 0:00:49.217 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:48:15 +0000 (0:00:00.033) 0:00:49.250 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:48:15 +0000 (0:00:00.031) 0:00:49.282 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:48:16 +0000 (0:00:00.782) 0:00:50.065 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:48:17 +0000 (0:00:00.653) 0:00:50.718 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:48:17 +0000 (0:00:00.024) 0:00:50.742 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:48:17 +0000 (0:00:00.049) 0:00:50.791 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:48:17 +0000 (0:00:00.023) 0:00:50.815 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:48:17 +0000 (0:00:00.045) 0:00:50.860 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:48:17 +0000 (0:00:00.029) 0:00:50.890 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:48:17 +0000 (0:00:00.021) 0:00:50.912 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:48:17 +0000 (0:00:00.035) 0:00:50.948 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:48:17 +0000 (0:00:00.034) 0:00:50.982 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:48:17 +0000 (0:00:00.027) 0:00:51.009 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:48:17 +0000 (0:00:00.259) 0:00:51.268 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17240h2l2z8ft/tmp94hva2ek" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:48:17 +0000 (0:00:00.215) 0:00:51.483 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:48:18 +0000 (0:00:00.231) 0:00:51.714 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:48:18 +0000 (0:00:00.020) 0:00:51.735 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:48:18 +0000 (0:00:00.021) 0:00:51.757 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:48:18 +0000 (0:00:00.021) 0:00:51.778 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:48:18 +0000 (0:00:00.020) 0:00:51.799 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 16:48:18 +0000 (0:00:00.136) 0:00:51.935 ******* 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_typeof58zhgg/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 16:48:18 +0000 (0:00:00.051) 0:00:51.987 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:48:18 +0000 (0:00:00.035) 0:00:52.022 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:48:18 +0000 (0:00:00.039) 0:00:52.062 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:48:18 +0000 (0:00:00.026) 0:00:52.088 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:48:18 +0000 (0:00:00.029) 0:00:52.117 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:48:18 +0000 (0:00:00.022) 0:00:52.140 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:48:19 +0000 (0:00:00.788) 0:00:52.929 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:48:19 +0000 (0:00:00.683) 0:00:53.612 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:48:19 +0000 (0:00:00.024) 0:00:53.637 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:48:19 +0000 (0:00:00.024) 0:00:53.661 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:48:20 +0000 (0:00:00.022) 0:00:53.684 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:48:20 +0000 (0:00:00.043) 0:00:53.727 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:48:20 +0000 (0:00:00.021) 0:00:53.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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:48:20 +0000 (0:00:00.020) 0:00:53.770 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:48:20 +0000 (0:00:00.024) 0:00:53.794 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:48:20 +0000 (0:00:00.020) 0:00:53.815 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:48:20 +0000 (0:00:00.021) 0:00:53.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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:48:20 +0000 (0:00:00.229) 0:00:54.066 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17240h2l2z8ft/tmp8g4sbs1x" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:48:20 +0000 (0:00:00.225) 0:00:54.292 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.474) 0:00:54.766 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.021) 0:00:54.788 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.021) 0:00:54.809 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.049) 0:00:54.859 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.021) 0:00:54.880 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.129) 0:00:55.009 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.034) 0:00:55.044 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.039) 0:00:55.083 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.026) 0:00:55.109 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.023) 0:00:55.133 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:48:21 +0000 (0:00:00.021) 0:00:55.154 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:48:22 +0000 (0:00:00.786) 0:00:55.941 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:48:22 +0000 (0:00:00.670) 0:00:56.612 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:48:22 +0000 (0:00:00.022) 0:00:56.635 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:48:22 +0000 (0:00:00.021) 0:00:56.656 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:48:23 +0000 (0:00:00.020) 0:00:56.676 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:48:23 +0000 (0:00:00.042) 0:00:56.718 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:48:23 +0000 (0:00:00.021) 0:00:56.740 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:48:23 +0000 (0:00:00.020) 0:00:56.761 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:48:23 +0000 (0:00:00.026) 0:00:56.788 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:48:23 +0000 (0:00:00.021) 0:00:56.809 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:48:23 +0000 (0:00:00.021) 0:00:56.830 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:48:23 +0000 (0:00:00.231) 0:00:57.062 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17240h2l2z8ft/tmprsztvcmz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:48:23 +0000 (0:00:00.226) 0:00:57.288 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:48:23 +0000 (0:00:00.237) 0:00:57.525 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:48:23 +0000 (0:00:00.021) 0:00:57.546 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:48:23 +0000 (0:00:00.024) 0:00:57.571 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:48:23 +0000 (0:00:00.049) 0:00:57.620 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:48:23 +0000 (0:00:00.021) 0:00:57.642 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 16:48:24 +0000 (0:00:00.131) 0:00:57.773 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 16:48:24 +0000 (0:00:00.038) 0:00:57.812 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 16:48:24 +0000 (0:00:00.034) 0:00:57.847 ******* included: /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 16:48:24 +0000 (0:00:00.040) 0:00:57.887 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 16:48:24 +0000 (0:00:00.026) 0:00:57.914 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 16:48:24 +0000 (0:00:00.029) 0:00:57.943 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 16:48:24 +0000 (0:00:00.024) 0:00:57.967 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.788) 0:00:58.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 : Print network provider] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.695) 0:00:59.452 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.026) 0:00:59.479 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.033) 0:00:59.512 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.029) 0:00:59.542 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.046) 0:00:59.588 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.024) 0:00:59.613 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.027) 0:00:59.641 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 16:48:25 +0000 (0:00:00.025) 0:00:59.666 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 16:48:26 +0000 (0:00:00.021) 0:00:59.687 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 16:48:26 +0000 (0:00:00.022) 0:00:59.709 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 16:48:26 +0000 (0:00:00.234) 0:00:59.943 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17240h2l2z8ft/tmpj1ayuc4d" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 16:48:26 +0000 (0:00:00.228) 0:01:00.172 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 16:48:26 +0000 (0:00:00.260) 0:01:00.432 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 16:48:26 +0000 (0:00:00.045) 0:01:00.477 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 16:48:26 +0000 (0:00:00.024) 0:01:00.501 ******* 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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 16:48:26 +0000 (0:00:00.024) 0:01:00.526 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 16:48:26 +0000 (0:00:00.022) 0:01:00.549 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 16:48:27 +0000 (0:00:00.133) 0:01:00.682 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 16:48:27 +0000 (0:00:00.044) 0:01:00.727 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 16:48:27 +0000 (0:00:00.035) 0:01:00.762 ******* 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 16:48:27 +0000 (0:00:00.022) 0:01:00.785 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 16:48:27 +0000 (0:00:00.135) 0:01:00.920 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 16:48:27 +0000 (0:00:00.021) 0:01:00.941 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022921", "end": "2024-01-09 16:48:27.408758", "rc": 1, "start": "2024-01-09 16:48:27.385837" } 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_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 16:48:27 +0000 (0:00:00.160) 0:01:01.102 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 16:48:27 +0000 (0:00:00.021) 0:01:01.124 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 16:48:27 +0000 (0:00:00.022) 0:01:01.146 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 16:48:27 +0000 (0:00:00.021) 0:01:01.168 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 16:48:27 +0000 (0:00:00.066) 0:01:01.234 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 16:48:27 +0000 (0:00:00.022) 0:01:01.257 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 16:48:27 +0000 (0:00:00.022) 0:01:01.280 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.404764", "end": "2024-01-09 16:48:28.126253", "rc": 0, "start": "2024-01-09 16:48:27.721489" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 16:48:28 +0000 (0:00:00.540) 0:01:01.821 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 16:48:28 +0000 (0:00:00.023) 0:01:01.844 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 16:48:28 +0000 (0:00:00.022) 0:01:01.867 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 16:48:28 +0000 (0:00:00.026) 0:01:01.893 ******* 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_typeof58zhgg/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 16:48:28 +0000 (0:00:00.021) 0:01:01.915 ******* included: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 16:48:28 +0000 (0:00:00.039) 0:01:01.955 ******* 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.050003", "end": "2024-01-09 16:48:28.445923", "rc": 0, "start": "2024-01-09 16:48:28.395920" } 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 Tuesday 09 January 2024 16:48:28 +0000 (0:00:00.173) 0:01:02.128 ******* =============================================================================== linux-system-roles.network : Install packages --------------------------- 2.47s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 1.92s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.38s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 1.29s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.15s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-route_typeof58zhgg/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable network service --------------------- 0.93s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.90s /WORKDIR/git-route_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which services are running ----------- 0.88s /WORKDIR/git-route_typeof58zhgg/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_typeof58zhgg/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_typeof58zhgg/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_typeof58zhgg/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_typeof58zhgg/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_typeof58zhgg/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_typeof58zhgg/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_typeof58zhgg/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_typeof58zhgg/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_typeof58zhgg/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-route_typeof58zhgg/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. ---^---^---^---^---^---