# 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_typeb8h3xslc/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/tests_states_initscripts.yml:5 Tuesday 09 January 2024 02:36:42 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/tests_states_initscripts.yml:8 Tuesday 09 January 2024 02:36:42 +0000 (0:00:00.501) 0:00:00.513 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 02:36:42 +0000 (0:00:00.021) 0:00:00.535 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 02:36:43 +0000 (0:00:00.225) 0:00:00.761 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 02:36:43 +0000 (0:00:00.191) 0:00:00.952 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 02:36:43 +0000 (0:00:00.021) 0:00:00.974 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 02:36:43 +0000 (0:00:00.017) 0:00:00.991 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 02:36:43 +0000 (0:00:00.031) 0:00:01.022 ******* 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_typeb8h3xslc/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 02:36:43 +0000 (0:00:00.184) 0:00:01.207 ******* 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_typeb8h3xslc/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 02:36:44 +0000 (0:00:00.440) 0:00:01.647 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.192723", "end": "2024-01-09 02:36:44.405349", "rc": 0, "start": "2024-01-09 02:36:44.212626" } 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_typeb8h3xslc/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 02:36:44 +0000 (0:00:00.316) 0:00:01.964 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 02:36:44 +0000 (0:00:00.010) 0:00:01.975 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/tests_states_initscripts.yml:10 Tuesday 09 January 2024 02:36:44 +0000 (0:00:00.009) 0:00:01.985 ******* 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_typeb8h3xslc/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 02:36:44 +0000 (0:00:00.010) 0:00:01.995 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 02:36:44 +0000 (0:00:00.379) 0:00:02.374 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 02:36:44 +0000 (0:00:00.011) 0:00:02.386 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:36:44 +0000 (0:00:00.016) 0:00:02.402 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:36:44 +0000 (0:00:00.012) 0:00:02.415 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:36:44 +0000 (0:00:00.034) 0:00:02.450 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:36:44 +0000 (0:00:00.014) 0:00:02.464 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:36:44 +0000 (0:00:00.013) 0:00:02.478 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004364", "end": "2024-01-09 02:36:46.042848", "rc": 0, "start": "2024-01-09 02:36:45.038484" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:36:46 +0000 (0:00:01.124) 0:00:03.602 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:36:46 +0000 (0:00:00.011) 0:00:03.614 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:36:46 +0000 (0:00:00.010) 0:00:03.624 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 02:36:46 +0000 (0:00:00.020) 0:00:03.645 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011024", "end": "2024-01-09 02:36:46.217823", "rc": 1, "start": "2024-01-09 02:36:46.206799" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:36:46 +0000 (0:00:00.130) 0:00:03.775 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:36:46 +0000 (0:00:00.014) 0:00:03.790 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:36:46 +0000 (0:00:00.121) 0:00:03.911 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:36:46 +0000 (0:00:00.013) 0:00:03.925 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:36:46 +0000 (0:00:00.018) 0:00:03.943 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:36:46 +0000 (0:00:00.032) 0:00:03.975 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:36:46 +0000 (0:00:00.068) 0:00:04.044 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:36:46 +0000 (0:00:00.012) 0:00:04.056 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:36:46 +0000 (0:00:00.010) 0:00:04.066 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:36:46 +0000 (0:00:00.010) 0:00:04.077 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:36:47 +0000 (0:00:00.813) 0:00:04.890 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:36:48 +0000 (0:00:00.802) 0:00:05.692 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:36:48 +0000 (0:00:00.022) 0:00:05.714 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:36:48 +0000 (0:00:00.020) 0:00:05.735 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:36:48 +0000 (0:00:00.020) 0:00:05.755 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:36:50 +0000 (0:00:02.381) 0:00:08.137 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.021) 0:00:08.158 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.020) 0:00:08.179 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.044) 0:00:08.223 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.021) 0:00:08.244 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:36:50 +0000 (0:00:00.020) 0:00:08.265 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.360) 0:00:08.626 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17369gfkukvlj/tmpi4p57egb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.213) 0:00:08.839 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.335) 0:00:09.175 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.021) 0:00:09.196 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.023) 0:00:09.219 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.023) 0:00:09.243 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.021) 0:00:09.264 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.211) 0:00:09.475 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.021) 0:00:09.497 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:36:51 +0000 (0:00:00.038) 0:00:09.535 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.057) 0:00:09.593 ******* 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.020) 0:00:09.613 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767811.604253, "block_size": 4096, "blocks": 8, "ctime": 1704767811.604253, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704767811.604253, "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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.132) 0:00:09.746 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.023) 0:00:09.769 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022764", "end": "2024-01-09 02:36:52.356292", "rc": 1, "start": "2024-01-09 02:36:52.333528" } 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.156) 0:00:09.926 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.022) 0:00:09.949 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003603", "end": "2024-01-09 02:36:52.519763", "rc": 0, "start": "2024-01-09 02:36:52.516160" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.141) 0:00:10.090 ******* 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.027) 0:00:10.118 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003412", "end": "2024-01-09 02:36:52.689553", "rc": 0, "start": "2024-01-09 02:36:52.686141" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.141) 0:00:10.259 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.026) 0:00:10.285 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.023) 0:00:10.309 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.022) 0:00:10.332 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.022) 0:00:10.354 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.025) 0:00:10.380 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.021) 0:00:10.401 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:36:52 +0000 (0:00:00.063) 0:00:10.465 ******* 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.044386", "end": "2024-01-09 02:36:53.071577", "rc": 1, "start": "2024-01-09 02:36:53.027191" } 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_typeb8h3xslc/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 02:36:53 +0000 (0:00:00.174) 0:00:10.639 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:36:53 +0000 (0:00:00.037) 0:00:10.676 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:36:53 +0000 (0:00:00.023) 0:00:10.699 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:36:53 +0000 (0:00:00.045) 0:00:10.745 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:36:53 +0000 (0:00:00.033) 0:00:10.778 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:36:53 +0000 (0:00:00.034) 0:00:10.813 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003430", "end": "2024-01-09 02:36:53.380610", "rc": 0, "start": "2024-01-09 02:36:53.377180" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:36:53 +0000 (0:00:00.136) 0:00:10.950 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:36:53 +0000 (0:00:00.032) 0:00:10.982 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:36:53 +0000 (0:00:00.031) 0:00:11.014 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 02:36:53 +0000 (0:00:00.041) 0:00:11.055 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007164", "end": "2024-01-09 02:36:53.626578", "rc": 1, "start": "2024-01-09 02:36:53.619414" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:36:53 +0000 (0:00:00.137) 0:00:11.193 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:36:53 +0000 (0:00:00.054) 0:00:11.247 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:36:53 +0000 (0:00:00.134) 0:00:11.382 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:36:53 +0000 (0:00:00.022) 0:00:11.405 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 02:36:53 +0000 (0:00:00.037) 0:00:11.442 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:36:53 +0000 (0:00:00.039) 0:00:11.481 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:36:53 +0000 (0:00:00.038) 0:00:11.520 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.026) 0:00:11.546 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.020) 0:00:11.567 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.020) 0:00:11.588 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:36:54 +0000 (0:00:00.743) 0:00:12.331 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.657) 0:00:12.988 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.023) 0:00:13.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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.020) 0:00:13.033 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.021) 0:00:13.054 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.041) 0:00:13.095 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.021) 0:00:13.117 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.020) 0:00:13.137 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.026) 0:00:13.164 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.020) 0:00:13.185 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.019) 0:00:13.205 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:36:55 +0000 (0:00:00.228) 0:00:13.434 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17369gfkukvlj/tmptr_me04l" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.219) 0:00:13.654 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.243) 0:00:13.898 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.020) 0:00:13.918 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.022) 0:00:13.941 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.022) 0:00:13.964 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.020) 0:00:13.985 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.126) 0:00:14.111 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.022) 0:00:14.134 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.042) 0:00:14.177 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.039) 0:00:14.216 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.132) 0:00:14.348 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.022) 0:00:14.371 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.038) 0:00:14.409 ******* 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:36:56 +0000 (0:00:00.022) 0:00:14.432 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767816.3282468, "block_size": 4096, "blocks": 8, "ctime": 1704767816.3282468, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704767816.3282468, "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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:36:57 +0000 (0:00:00.152) 0:00:14.584 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:36:57 +0000 (0:00:00.022) 0:00:14.606 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020751", "end": "2024-01-09 02:36:57.191593", "rc": 1, "start": "2024-01-09 02:36:57.170842" } 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:36:57 +0000 (0:00:00.152) 0:00:14.759 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:36:57 +0000 (0:00:00.022) 0:00:14.781 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003556", "end": "2024-01-09 02:36:57.348806", "rc": 0, "start": "2024-01-09 02:36:57.345250" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:36:57 +0000 (0:00:00.137) 0:00:14.919 ******* 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:36:57 +0000 (0:00:00.026) 0:00:14.945 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003393", "end": "2024-01-09 02:36:57.514588", "rc": 0, "start": "2024-01-09 02:36:57.511195" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:36:57 +0000 (0:00:00.139) 0:00:15.084 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:36:57 +0000 (0:00:00.026) 0:00:15.111 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:36:57 +0000 (0:00:00.023) 0:00:15.134 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:36:57 +0000 (0:00:00.025) 0:00:15.159 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:36:57 +0000 (0:00:00.023) 0:00:15.183 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:36:57 +0000 (0:00:00.019) 0:00:15.202 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:36:57 +0000 (0:00:00.022) 0:00:15.224 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:36:57 +0000 (0:00:00.038) 0:00:15.262 ******* 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.040319", "end": "2024-01-09 02:36:57.864552", "rc": 1, "start": "2024-01-09 02:36:57.824233" } 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_typeb8h3xslc/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 02:36:57 +0000 (0:00:00.170) 0:00:15.432 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:36:57 +0000 (0:00:00.071) 0:00:15.504 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:36:57 +0000 (0:00:00.022) 0:00:15.526 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.044) 0:00:15.571 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.033) 0:00:15.604 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.031) 0:00:15.636 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003280", "end": "2024-01-09 02:36:58.208382", "rc": 0, "start": "2024-01-09 02:36:58.205102" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.142) 0:00:15.779 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.025) 0:00:15.804 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.022) 0:00:15.827 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.036) 0:00:15.863 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.035) 0:00:15.899 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.038) 0:00:15.937 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.033) 0:00:15.971 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.051) 0:00:16.022 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:36:58 +0000 (0:00:00.022) 0:00:16.045 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:36:59 +0000 (0:00:00.739) 0:00:16.785 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:36:59 +0000 (0:00:00.633) 0:00:17.418 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:36:59 +0000 (0:00:00.021) 0:00:17.440 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:36:59 +0000 (0:00:00.020) 0:00:17.460 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:36:59 +0000 (0:00:00.020) 0:00:17.481 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:36:59 +0000 (0:00:00.042) 0:00:17.523 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:36:59 +0000 (0:00:00.020) 0:00:17.543 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:00 +0000 (0:00:00.020) 0:00:17.564 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:00 +0000 (0:00:00.024) 0:00:17.588 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:00 +0000 (0:00:00.046) 0:00:17.635 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:00 +0000 (0:00:00.021) 0:00:17.656 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:00 +0000 (0:00:00.224) 0:00:17.880 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17369gfkukvlj/tmplw4nozoj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:00 +0000 (0:00:00.215) 0:00:18.096 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:00 +0000 (0:00:00.224) 0:00:18.321 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:00 +0000 (0:00:00.021) 0:00:18.342 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:00 +0000 (0:00:00.021) 0:00:18.364 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:00 +0000 (0:00:00.022) 0:00:18.386 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:00 +0000 (0:00:00.020) 0:00:18.406 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:37:00 +0000 (0:00:00.128) 0:00:18.534 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.021) 0:00:18.556 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.036) 0:00:18.593 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.041) 0:00:18.634 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.077) 0:00:18.712 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.026) 0:00:18.738 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.021) 0:00:18.760 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.020) 0:00:18.781 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:01 +0000 (0:00:00.743) 0:00:19.524 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.638) 0:00:20.163 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.025) 0:00:20.189 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.021) 0:00:20.210 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.022) 0:00:20.232 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.090) 0:00:20.322 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.021) 0:00:20.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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.022) 0:00:20.366 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.024) 0:00:20.391 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.020) 0:00:20.411 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:02 +0000 (0:00:00.020) 0:00:20.432 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:03 +0000 (0:00:00.223) 0:00:20.656 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17369gfkukvlj/tmp_xd7ngsy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:03 +0000 (0:00:00.213) 0:00:20.869 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:03 +0000 (0:00:00.462) 0:00:21.332 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:03 +0000 (0:00:00.020) 0:00:21.352 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:03 +0000 (0:00:00.021) 0:00:21.374 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:03 +0000 (0:00:00.021) 0:00:21.395 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:03 +0000 (0:00:00.019) 0:00:21.415 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:37:03 +0000 (0:00:00.128) 0:00:21.543 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.073) 0:00:21.616 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.034) 0:00:21.651 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767823.6912367, "block_size": 4096, "blocks": 0, "ctime": 1704767823.6902366, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17487, "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": 1704767823.6902366, "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_typeb8h3xslc/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.132) 0:00:21.784 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.024) 0:00:21.808 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.036) 0:00:21.844 ******* 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.021) 0:00:21.865 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767823.5182374, "block_size": 4096, "blocks": 8, "ctime": 1704767820.750241, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4527616, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704767820.750241, "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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.132) 0:00:21.998 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.025) 0:00:22.024 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020603", "end": "2024-01-09 02:37:04.611502", "rc": 1, "start": "2024-01-09 02:37:04.590899" } 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.154) 0:00:22.178 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.022) 0:00:22.200 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003451", "end": "2024-01-09 02:37:04.767641", "rc": 0, "start": "2024-01-09 02:37:04.764190" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.137) 0:00:22.338 ******* 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.025) 0:00:22.364 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003447", "end": "2024-01-09 02:37:04.931075", "rc": 0, "start": "2024-01-09 02:37:04.927628" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:37:04 +0000 (0:00:00.136) 0:00:22.501 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 02:37:05 +0000 (0:00:00.052) 0:00:22.553 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 02:37:05 +0000 (0:00:00.024) 0:00:22.578 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 02:37:05 +0000 (0:00:00.023) 0:00:22.601 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:37:05 +0000 (0:00:00.021) 0:00:22.623 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:37:05 +0000 (0:00:00.019) 0:00:22.643 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:37:05 +0000 (0:00:00.022) 0:00:22.665 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:37:05 +0000 (0:00:00.039) 0:00:22.705 ******* 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.048474", "end": "2024-01-09 02:37:05.315978", "rc": 0, "start": "2024-01-09 02:37:05.267504" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 02:37:05 +0000 (0:00:00.180) 0:00:22.885 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:37:05 +0000 (0:00:00.037) 0:00:22.923 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:37:05 +0000 (0:00:00.025) 0:00:22.949 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:37:05 +0000 (0:00:00.045) 0:00:22.994 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:37:05 +0000 (0:00:00.033) 0:00:23.028 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:37:05 +0000 (0:00:00.032) 0:00:23.061 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004478", "end": "2024-01-09 02:37:06.626886", "rc": 0, "start": "2024-01-09 02:37:05.622408" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:37:06 +0000 (0:00:01.135) 0:00:24.196 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.024) 0:00:24.221 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.021) 0:00:24.242 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.040) 0:00:24.283 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.034) 0:00:24.317 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.038) 0:00:24.355 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.027) 0:00:24.383 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.021) 0:00:24.405 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:06 +0000 (0:00:00.022) 0:00:24.428 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:07 +0000 (0:00:00.753) 0:00:25.181 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:08 +0000 (0:00:00.634) 0:00:25.816 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:08 +0000 (0:00:00.022) 0:00:25.838 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:08 +0000 (0:00:00.020) 0:00:25.859 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:08 +0000 (0:00:00.021) 0:00:25.880 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:08 +0000 (0:00:00.044) 0:00:25.924 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:08 +0000 (0:00:00.022) 0:00:25.947 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:08 +0000 (0:00:00.021) 0:00:25.969 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:08 +0000 (0:00:00.024) 0:00:25.994 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:08 +0000 (0:00:00.021) 0:00:26.015 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:08 +0000 (0:00:00.020) 0:00:26.036 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:08 +0000 (0:00:00.225) 0:00:26.261 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17369gfkukvlj/tmpujlgh54o" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:08 +0000 (0:00:00.214) 0:00:26.476 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.223) 0:00:26.699 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.022) 0:00:26.722 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.024) 0:00:26.746 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.021) 0:00:26.768 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.021) 0:00:26.789 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.126) 0:00:26.915 ******* 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_typeb8h3xslc/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.022) 0:00:26.938 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.035) 0:00:26.973 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.038) 0:00:27.011 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.024) 0:00:27.036 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.020) 0:00:27.057 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:09 +0000 (0:00:00.021) 0:00:27.078 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:10 +0000 (0:00:00.733) 0:00:27.812 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:10 +0000 (0:00:00.630) 0:00:28.442 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:10 +0000 (0:00:00.021) 0:00:28.464 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:10 +0000 (0:00:00.021) 0:00:28.485 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:10 +0000 (0:00:00.020) 0:00:28.505 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:11 +0000 (0:00:00.041) 0:00:28.546 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:11 +0000 (0:00:00.021) 0:00:28.568 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:11 +0000 (0:00:00.020) 0:00:28.588 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:11 +0000 (0:00:00.024) 0:00:28.612 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:11 +0000 (0:00:00.020) 0:00:28.632 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:11 +0000 (0:00:00.021) 0:00:28.653 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:11 +0000 (0:00:00.250) 0:00:28.904 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17369gfkukvlj/tmpzhtv5euv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:11 +0000 (0:00:00.214) 0:00:29.118 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.459) 0:00:29.578 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.020) 0:00:29.599 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.025) 0:00:29.625 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.023) 0:00:29.648 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.021) 0:00:29.670 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.130) 0:00:29.800 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.037) 0:00:29.838 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.040) 0:00:29.878 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.038) 0:00:29.916 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.025) 0:00:29.942 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.047) 0:00:29.990 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:12 +0000 (0:00:00.021) 0:00:30.011 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.737) 0:00:30.749 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.631) 0:00:31.380 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.031) 0:00:31.412 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.029) 0:00:31.442 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.032) 0:00:31.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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.044) 0:00:31.518 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:13 +0000 (0:00:00.023) 0:00:31.542 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:14 +0000 (0:00:00.022) 0:00:31.564 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:14 +0000 (0:00:00.056) 0:00:31.621 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:14 +0000 (0:00:00.023) 0:00:31.644 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:14 +0000 (0:00:00.022) 0:00:31.667 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:14 +0000 (0:00:00.229) 0:00:31.896 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17369gfkukvlj/tmprfxdorty" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:14 +0000 (0:00:00.213) 0:00:32.110 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:14 +0000 (0:00:00.227) 0:00:32.337 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:14 +0000 (0:00:00.022) 0:00:32.360 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:14 +0000 (0:00:00.024) 0:00:32.385 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:14 +0000 (0:00:00.023) 0:00:32.408 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:14 +0000 (0:00:00.021) 0:00:32.429 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.131) 0:00:32.560 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.043) 0:00:32.603 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.033) 0:00:32.637 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704767831.9442031, "block_size": 4096, "blocks": 0, "ctime": 1704767831.941203, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17487, "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": 1704767831.941203, "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_typeb8h3xslc/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.160) 0:00:32.798 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.025) 0:00:32.823 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.038) 0:00:32.861 ******* 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.022) 0:00:32.884 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.132) 0:00:33.017 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.021) 0:00:33.038 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021719", "end": "2024-01-09 02:37:15.623926", "rc": 1, "start": "2024-01-09 02:37:15.602207" } 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.154) 0:00:33.192 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.021) 0:00:33.214 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.022) 0:00:33.237 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.022) 0:00:33.259 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.026) 0:00:33.285 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.024) 0:00:33.310 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.025) 0:00:33.335 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.022) 0:00:33.357 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.021) 0:00:33.379 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:37:15 +0000 (0:00:00.040) 0:00:33.419 ******* 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.046566", "end": "2024-01-09 02:37:16.029943", "rc": 0, "start": "2024-01-09 02:37:15.983377" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.179) 0:00:33.598 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.036) 0:00:33.634 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.021) 0:00:33.656 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.045) 0:00:33.702 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.033) 0:00:33.736 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.039) 0:00:33.775 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003451", "end": "2024-01-09 02:37:16.348240", "rc": 0, "start": "2024-01-09 02:37:16.344789" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.142) 0:00:33.918 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.022) 0:00:33.940 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.020) 0:00:33.960 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.042) 0:00:34.003 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.034) 0:00:34.038 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.067) 0:00:34.105 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.028) 0:00:34.133 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.026) 0:00:34.160 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:16 +0000 (0:00:00.025) 0:00:34.185 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:17 +0000 (0:00:00.744) 0:00:34.930 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.638) 0:00:35.569 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.041) 0:00:35.610 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.021) 0:00:35.632 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.027) 0:00:35.660 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.046) 0:00:35.706 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.054) 0:00:35.760 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.021) 0:00:35.782 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.026) 0:00:35.809 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.022) 0:00:35.831 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.020) 0:00:35.852 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.223) 0:00:36.075 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17369gfkukvlj/tmp4wym0caf" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.214) 0:00:36.290 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.226) 0:00:36.516 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:18 +0000 (0:00:00.023) 0:00:36.539 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:19 +0000 (0:00:00.024) 0:00:36.563 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:19 +0000 (0:00:00.023) 0:00:36.587 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:19 +0000 (0:00:00.025) 0:00:36.612 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:37:19 +0000 (0:00:00.129) 0:00:36.742 ******* 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_typeb8h3xslc/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:37:19 +0000 (0:00:00.022) 0:00:36.764 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:19 +0000 (0:00:00.061) 0:00:36.825 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:19 +0000 (0:00:00.038) 0:00:36.864 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:19 +0000 (0:00:00.025) 0:00:36.889 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:19 +0000 (0:00:00.020) 0:00:36.910 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:19 +0000 (0:00:00.020) 0:00:36.931 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:20 +0000 (0:00:00.733) 0:00:37.664 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:20 +0000 (0:00:00.633) 0:00:38.298 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:20 +0000 (0:00:00.025) 0:00:38.323 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:20 +0000 (0:00:00.022) 0:00:38.346 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:20 +0000 (0:00:00.048) 0:00:38.394 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:20 +0000 (0:00:00.042) 0:00:38.437 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:20 +0000 (0:00:00.021) 0:00:38.459 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:20 +0000 (0:00:00.020) 0:00:38.479 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:20 +0000 (0:00:00.026) 0:00:38.506 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:20 +0000 (0:00:00.021) 0:00:38.528 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.021) 0:00:38.549 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.227) 0:00:38.776 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17369gfkukvlj/tmpmbt2dgdw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.215) 0:00:38.992 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.460) 0:00:39.452 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.021) 0:00:39.473 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.021) 0:00:39.495 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.023) 0:00:39.518 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:21 +0000 (0:00:00.020) 0:00:39.539 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 02:37:22 +0000 (0:00:00.127) 0:00:39.666 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:22 +0000 (0:00:00.060) 0:00:39.727 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:22 +0000 (0:00:00.039) 0:00:39.767 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:22 +0000 (0:00:00.026) 0:00:39.794 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:22 +0000 (0:00:00.024) 0:00:39.818 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:22 +0000 (0:00:00.020) 0:00:39.839 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.737) 0:00:40.576 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.629) 0:00:41.206 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.022) 0:00:41.228 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.050) 0:00:41.278 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.022) 0:00:41.301 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.043) 0:00:41.344 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.020) 0:00:41.365 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.020) 0:00:41.386 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.024) 0:00:41.410 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.020) 0:00:41.430 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:23 +0000 (0:00:00.021) 0:00:41.452 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.223) 0:00:41.676 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17369gfkukvlj/tmpztic_0pc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.211) 0:00:41.888 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.225) 0:00:42.113 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.023) 0:00:42.136 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.023) 0:00:42.160 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.023) 0:00:42.183 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.020) 0:00:42.203 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.129) 0:00:42.332 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.066) 0:00:42.399 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.039) 0:00:42.439 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.038) 0:00:42.478 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.027) 0:00:42.505 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:24 +0000 (0:00:00.022) 0:00:42.527 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.025) 0:00:42.553 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:25 +0000 (0:00:00.734) 0:00:43.287 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:26 +0000 (0:00:00.657) 0:00:43.945 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:26 +0000 (0:00:00.022) 0:00:43.967 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:26 +0000 (0:00:00.020) 0:00:43.988 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:26 +0000 (0:00:00.021) 0:00:44.010 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:26 +0000 (0:00:00.043) 0:00:44.053 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:26 +0000 (0:00:00.023) 0:00:44.076 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:26 +0000 (0:00:00.021) 0:00:44.098 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:26 +0000 (0:00:00.024) 0:00:44.123 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:26 +0000 (0:00:00.021) 0:00:44.145 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:26 +0000 (0:00:00.020) 0:00:44.165 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:26 +0000 (0:00:00.223) 0:00:44.389 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17369gfkukvlj/tmp_vrysjt7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.212) 0:00:44.601 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.224) 0:00:44.826 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.022) 0:00:44.848 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.022) 0:00:44.870 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.021) 0:00:44.892 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.053) 0:00:44.945 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.130) 0:00:45.076 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.043) 0:00:45.119 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.039) 0:00:45.158 ******* 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.023) 0:00:45.181 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.146) 0:00:45.327 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.020) 0:00:45.348 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020324", "end": "2024-01-09 02:37:27.936233", "rc": 1, "start": "2024-01-09 02:37:27.915909" } 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.155) 0:00:45.504 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:37:27 +0000 (0:00:00.022) 0:00:45.527 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.021) 0:00:45.548 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.021) 0:00:45.570 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.021) 0:00:45.592 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.021) 0:00:45.613 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.024) 0:00:45.638 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.024) 0:00:45.662 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.049) 0:00:45.711 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.039) 0:00:45.751 ******* 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.046902", "end": "2024-01-09 02:37:28.362962", "rc": 0, "start": "2024-01-09 02:37:28.316060" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.181) 0:00:45.932 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.040) 0:00:45.973 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.022) 0:00:45.996 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.047) 0:00:46.043 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.034) 0:00:46.078 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 02:37:28 +0000 (0:00:00.032) 0:00:46.111 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004622", "end": "2024-01-09 02:37:29.683222", "rc": 0, "start": "2024-01-09 02:37:28.678600" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 02:37:29 +0000 (0:00:01.142) 0:00:47.253 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 02:37:29 +0000 (0:00:00.048) 0:00:47.302 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 02:37:29 +0000 (0:00:00.022) 0:00:47.324 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 02:37:29 +0000 (0:00:00.042) 0:00:47.367 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:29 +0000 (0:00:00.036) 0:00:47.403 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:29 +0000 (0:00:00.038) 0:00:47.441 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:29 +0000 (0:00:00.030) 0:00:47.472 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:29 +0000 (0:00:00.022) 0:00:47.495 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:29 +0000 (0:00:00.022) 0:00:47.518 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:30 +0000 (0:00:00.741) 0:00:48.259 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:31 +0000 (0:00:00.662) 0:00:48.921 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:31 +0000 (0:00:00.022) 0:00:48.944 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:31 +0000 (0:00:00.021) 0:00:48.965 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:31 +0000 (0:00:00.020) 0:00:48.985 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:31 +0000 (0:00:00.043) 0:00:49.028 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:31 +0000 (0:00:00.021) 0:00:49.050 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:31 +0000 (0:00:00.020) 0:00:49.070 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:31 +0000 (0:00:00.024) 0:00:49.095 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:31 +0000 (0:00:00.020) 0:00:49.115 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:31 +0000 (0:00:00.021) 0:00:49.136 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:31 +0000 (0:00:00.224) 0:00:49.360 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17369gfkukvlj/tmped57c97j" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.216) 0:00:49.577 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.255) 0:00:49.832 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.048) 0:00:49.881 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.023) 0:00:49.904 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.024) 0:00:49.928 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.021) 0:00:49.950 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.130) 0:00:50.080 ******* 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_typeb8h3xslc/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.022) 0:00:50.103 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.034) 0:00:50.138 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.039) 0:00:50.177 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.028) 0:00:50.205 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.021) 0:00:50.227 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:32 +0000 (0:00:00.022) 0:00:50.249 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:33 +0000 (0:00:00.738) 0:00:50.988 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:34 +0000 (0:00:00.658) 0:00:51.646 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:34 +0000 (0:00:00.021) 0:00:51.668 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:34 +0000 (0:00:00.020) 0:00:51.689 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:34 +0000 (0:00:00.020) 0:00:51.710 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:34 +0000 (0:00:00.041) 0:00:51.751 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:34 +0000 (0:00:00.021) 0:00:51.772 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:34 +0000 (0:00:00.020) 0:00:51.792 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:34 +0000 (0:00:00.024) 0:00:51.816 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:34 +0000 (0:00:00.020) 0:00:51.836 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:34 +0000 (0:00:00.020) 0:00:51.857 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:34 +0000 (0:00:00.222) 0:00:52.080 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17369gfkukvlj/tmpgzcaouc6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:34 +0000 (0:00:00.258) 0:00:52.338 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.484) 0:00:52.822 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.021) 0:00:52.844 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.023) 0:00:52.868 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.024) 0:00:52.892 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.021) 0:00:52.914 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.132) 0:00:53.047 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.038) 0:00:53.085 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.042) 0:00:53.128 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.026) 0:00:53.155 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.022) 0:00:53.177 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:35 +0000 (0:00:00.022) 0:00:53.199 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:36 +0000 (0:00:00.770) 0:00:53.970 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.631) 0:00:54.601 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.022) 0:00:54.623 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.021) 0:00:54.645 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.021) 0:00:54.666 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.041) 0:00:54.708 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.021) 0:00:54.729 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.020) 0:00:54.749 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.024) 0:00:54.773 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.020) 0:00:54.794 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.020) 0:00:54.814 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.227) 0:00:55.042 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17369gfkukvlj/tmpoir_m0re" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.228) 0:00:55.270 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.234) 0:00:55.505 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:37 +0000 (0:00:00.020) 0:00:55.526 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:38 +0000 (0:00:00.024) 0:00:55.550 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:38 +0000 (0:00:00.023) 0:00:55.574 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:38 +0000 (0:00:00.023) 0:00:55.598 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 02:37:38 +0000 (0:00:00.127) 0:00:55.725 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 02:37:38 +0000 (0:00:00.039) 0:00:55.764 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 02:37:38 +0000 (0:00:00.033) 0:00:55.798 ******* included: /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 02:37:38 +0000 (0:00:00.037) 0:00:55.836 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 02:37:38 +0000 (0:00:00.025) 0:00:55.862 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 02:37:38 +0000 (0:00:00.020) 0:00:55.882 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 02:37:38 +0000 (0:00:00.020) 0:00:55.902 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 02:37:39 +0000 (0:00:00.734) 0:00:56.637 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 02:37:39 +0000 (0:00:00.631) 0:00:57.269 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 02:37:39 +0000 (0:00:00.022) 0:00:57.291 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 02:37:39 +0000 (0:00:00.020) 0:00:57.312 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 02:37:39 +0000 (0:00:00.021) 0:00:57.333 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 02:37:39 +0000 (0:00:00.042) 0:00:57.375 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 02:37:39 +0000 (0:00:00.020) 0:00:57.396 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 02:37:39 +0000 (0:00:00.021) 0:00:57.417 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 02:37:39 +0000 (0:00:00.023) 0:00:57.440 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 02:37:39 +0000 (0:00:00.020) 0:00:57.461 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 02:37:39 +0000 (0:00:00.020) 0:00:57.481 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 02:37:40 +0000 (0:00:00.254) 0:00:57.736 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17369gfkukvlj/tmp1s7rtohg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 02:37:40 +0000 (0:00:00.210) 0:00:57.947 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 02:37:40 +0000 (0:00:00.225) 0:00:58.172 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 02:37:40 +0000 (0:00:00.020) 0:00:58.193 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 02:37:40 +0000 (0:00:00.022) 0:00:58.215 ******* 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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 02:37:40 +0000 (0:00:00.022) 0:00:58.238 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 02:37:40 +0000 (0:00:00.020) 0:00:58.258 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 02:37:40 +0000 (0:00:00.128) 0:00:58.387 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 02:37:40 +0000 (0:00:00.042) 0:00:58.429 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 02:37:40 +0000 (0:00:00.035) 0:00:58.465 ******* 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 02:37:40 +0000 (0:00:00.020) 0:00:58.485 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 02:37:41 +0000 (0:00:00.130) 0:00:58.616 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 02:37:41 +0000 (0:00:00.021) 0:00:58.637 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020550", "end": "2024-01-09 02:37:41.220850", "rc": 1, "start": "2024-01-09 02:37:41.200300" } 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_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 02:37:41 +0000 (0:00:00.150) 0:00:58.787 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 02:37:41 +0000 (0:00:00.022) 0:00:58.810 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 02:37:41 +0000 (0:00:00.021) 0:00:58.831 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 02:37:41 +0000 (0:00:00.023) 0:00:58.854 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 02:37:41 +0000 (0:00:00.022) 0:00:58.877 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 02:37:41 +0000 (0:00:00.021) 0:00:58.898 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 02:37:41 +0000 (0:00:00.023) 0:00:58.921 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.401351", "end": "2024-01-09 02:37:41.883843", "rc": 0, "start": "2024-01-09 02:37:41.482492" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 02:37:41 +0000 (0:00:00.531) 0:00:59.453 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 02:37:41 +0000 (0:00:00.022) 0:00:59.475 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 02:37:41 +0000 (0:00:00.022) 0:00:59.498 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 02:37:41 +0000 (0:00:00.025) 0:00:59.523 ******* 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_typeb8h3xslc/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 02:37:42 +0000 (0:00:00.021) 0:00:59.545 ******* included: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 02:37:42 +0000 (0:00:00.040) 0:00:59.586 ******* 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.045082", "end": "2024-01-09 02:37:42.196963", "rc": 0, "start": "2024-01-09 02:37:42.151881" } 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 02:37:42 +0000 (0:00:00.168) 0:00:59.754 ******* =============================================================================== linux-system-roles.network : Install packages --------------------------- 2.56s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 1.87s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.27s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.26s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.12s /WORKDIR/git-route_typeb8h3xslc/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.07s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 0.92s /WORKDIR/git-route_typeb8h3xslc/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_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which services are running ----------- 0.81s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.80s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.77s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-route_typeb8h3xslc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-route_typeb8h3xslc/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. ---^---^---^---^---^---