# 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_type4sn_hph9/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/tests_states_initscripts.yml:5 Tuesday 09 January 2024 19:54:25 +0000 (0:00:00.029) 0:00:00.029 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type4sn_hph9/tests/tests_states_initscripts.yml:8 Tuesday 09 January 2024 19:54:25 +0000 (0:00:00.595) 0:00:00.624 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 19:54:25 +0000 (0:00:00.030) 0:00:00.654 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 19:54:25 +0000 (0:00:00.258) 0:00:00.913 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 19:54:26 +0000 (0:00:00.227) 0:00:01.141 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 19:54:26 +0000 (0:00:00.033) 0:00:01.175 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 19:54:26 +0000 (0:00:00.020) 0:00:01.196 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 19:54:26 +0000 (0:00:00.040) 0:00:01.236 ******* 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_type4sn_hph9/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 19:54:26 +0000 (0:00:00.232) 0:00:01.469 ******* 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_type4sn_hph9/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 19:54:26 +0000 (0:00:00.459) 0:00:01.929 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.173960", "end": "2024-01-09 19:54:27.284476", "rc": 0, "start": "2024-01-09 19:54:27.110516" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.302) 0:00:02.231 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.021) 0:00:02.253 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/tests_states_initscripts.yml:10 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.009) 0:00:02.262 ******* 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_type4sn_hph9/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.047) 0:00:02.310 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.416) 0:00:02.726 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.011) 0:00:02.737 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.018) 0:00:02.755 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.013) 0:00:02.768 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.045) 0:00:02.814 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.015) 0:00:02.829 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.022) 0:00:02.852 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003236", "end": "2024-01-09 19:54:28.034385", "rc": 0, "start": "2024-01-09 19:54:28.031149" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.130) 0:00:02.982 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.036) 0:00:03.018 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.019) 0:00:03.038 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.061) 0:00:03.103 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011404", "end": "2024-01-09 19:54:28.342283", "rc": 1, "start": "2024-01-09 19:54:28.330879" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.196) 0:00:03.299 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.032) 0:00:03.332 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.143) 0:00:03.476 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.018) 0:00:03.494 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.027) 0:00:03.522 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.036) 0:00:03.558 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.081) 0:00:03.640 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.022) 0:00:03.662 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.020) 0:00:03.683 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.019) 0:00:03.702 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:54:29 +0000 (0:00:00.804) 0:00:04.507 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:54:30 +0000 (0:00:01.182) 0:00:05.690 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:54:30 +0000 (0:00:00.022) 0:00:05.712 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:54:30 +0000 (0:00:00.019) 0:00:05.731 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:54:30 +0000 (0:00:00.020) 0:00:05.751 ******* 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.centos.1.x86_64 providing dhclient is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * epel: dl.fedoraproject.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\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 base 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:54:32 +0000 (0:00:02.178) 0:00:07.930 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:54:33 +0000 (0:00:00.022) 0:00:07.952 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:54:33 +0000 (0:00:00.024) 0:00:07.976 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:54:33 +0000 (0:00:00.038) 0:00:08.015 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:54:33 +0000 (0:00:00.022) 0:00:08.038 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:54:33 +0000 (0:00:00.027) 0:00:08.066 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:54:33 +0000 (0:00:00.346) 0:00:08.412 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16982lwavskau/tmpgpihe53n" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:54:33 +0000 (0:00:00.276) 0:00:08.689 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.432) 0:00:09.121 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.023) 0:00:09.145 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.023) 0:00:09.168 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.056) 0:00:09.224 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.039) 0:00:09.264 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.216) 0:00:09.480 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.029) 0:00:09.509 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.091) 0:00:09.600 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.056) 0:00:09.657 ******* 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.030) 0:00:09.687 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830074.1643846, "block_size": 4096, "blocks": 8, "ctime": 1704830074.1643846, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25400, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704830074.1643846, "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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.147) 0:00:09.834 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.022) 0:00:09.857 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025745", "end": "2024-01-09 19:54:35.063137", "rc": 1, "start": "2024-01-09 19:54:35.037392" } 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.160) 0:00:10.018 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.022) 0:00:10.041 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003296", "end": "2024-01-09 19:54:35.225308", "rc": 0, "start": "2024-01-09 19:54:35.222012" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.191) 0:00:10.232 ******* 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.037) 0:00:10.270 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003353", "end": "2024-01-09 19:54:35.453939", "rc": 0, "start": "2024-01-09 19:54:35.450586" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.138) 0:00:10.409 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.028) 0:00:10.437 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.028) 0:00:10.465 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.057) 0:00:10.523 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.034) 0:00:10.557 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.038) 0:00:10.596 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.031) 0:00:10.628 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.043) 0:00:10.671 ******* 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.046318", "end": "2024-01-09 19:54:35.905772", "rc": 1, "start": "2024-01-09 19:54:35.859454" } 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_type4sn_hph9/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.215) 0:00:10.886 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.054) 0:00:10.941 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.027) 0:00:10.969 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.065) 0:00:11.035 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.093) 0:00:11.128 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.164) 0:00:11.293 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003467", "end": "2024-01-09 19:54:36.535208", "rc": 0, "start": "2024-01-09 19:54:36.531741" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.211) 0:00:11.504 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.027) 0:00:11.532 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.085) 0:00:11.617 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.060) 0:00:11.678 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007063", "end": "2024-01-09 19:54:36.860824", "rc": 1, "start": "2024-01-09 19:54:36.853761" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.137) 0:00:11.815 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.041) 0:00:11.857 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:54:37 +0000 (0:00:00.239) 0:00:12.096 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:54:37 +0000 (0:00:00.031) 0:00:12.128 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 19:54:37 +0000 (0:00:00.053) 0:00:12.182 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:54:37 +0000 (0:00:00.064) 0:00:12.246 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:54:37 +0000 (0:00:00.172) 0:00:12.418 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:54:37 +0000 (0:00:00.088) 0:00:12.507 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:54:37 +0000 (0:00:00.143) 0:00:12.650 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:54:37 +0000 (0:00:00.031) 0:00:12.682 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:54:38 +0000 (0:00:00.725) 0:00:13.407 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.966) 0:00:14.374 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.072) 0:00:14.447 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.039) 0:00:14.487 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.040) 0:00:14.528 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.074) 0:00:14.603 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.054) 0:00:14.657 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.026) 0:00:14.684 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.049) 0:00:14.733 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.031) 0:00:14.764 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.025) 0:00:14.790 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:54:40 +0000 (0:00:00.237) 0:00:15.027 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16982lwavskau/tmphoujih16" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:54:40 +0000 (0:00:00.219) 0:00:15.246 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:54:40 +0000 (0:00:00.242) 0:00:15.489 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:54:40 +0000 (0:00:00.020) 0:00:15.510 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:54:40 +0000 (0:00:00.024) 0:00:15.534 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:54:40 +0000 (0:00:00.023) 0:00:15.558 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:54:40 +0000 (0:00:00.022) 0:00:15.581 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 19:54:40 +0000 (0:00:00.143) 0:00:15.725 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:54:40 +0000 (0:00:00.027) 0:00:15.753 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:54:40 +0000 (0:00:00.047) 0:00:15.801 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:54:40 +0000 (0:00:00.083) 0:00:15.884 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.201) 0:00:16.086 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.041) 0:00:16.127 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.065) 0:00:16.193 ******* 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.028) 0:00:16.221 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830080.5322447, "block_size": 4096, "blocks": 8, "ctime": 1704830080.5322447, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25400, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704830080.5322447, "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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.144) 0:00:16.366 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.030) 0:00:16.397 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022314", "end": "2024-01-09 19:54:41.612797", "rc": 1, "start": "2024-01-09 19:54:41.590483" } 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.194) 0:00:16.591 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.072) 0:00:16.663 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003253", "end": "2024-01-09 19:54:41.894608", "rc": 0, "start": "2024-01-09 19:54:41.891355" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.189) 0:00:16.853 ******* 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.042) 0:00:16.895 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003361", "end": "2024-01-09 19:54:42.101120", "rc": 0, "start": "2024-01-09 19:54:42.097759" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.179) 0:00:17.075 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.041) 0:00:17.116 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.024) 0:00:17.141 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.035) 0:00:17.177 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.053) 0:00:17.230 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.033) 0:00:17.263 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.064) 0:00:17.327 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.061) 0:00:17.389 ******* 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.044995", "end": "2024-01-09 19:54:42.648183", "rc": 1, "start": "2024-01-09 19:54:42.603188" } 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_type4sn_hph9/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.215) 0:00:17.604 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.045) 0:00:17.650 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.028) 0:00:17.679 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.109) 0:00:17.789 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.036) 0:00:17.826 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.076) 0:00:17.902 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003237", "end": "2024-01-09 19:54:43.085722", "rc": 0, "start": "2024-01-09 19:54:43.082485" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.141) 0:00:18.044 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.030) 0:00:18.075 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.075) 0:00:18.150 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.096) 0:00:18.246 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.049) 0:00:18.295 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.128) 0:00:18.424 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.038) 0:00:18.463 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.031) 0:00:18.494 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.030) 0:00:18.525 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.687) 0:00:19.212 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.912) 0:00:20.124 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.049) 0:00:20.174 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.023) 0:00:20.197 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.025) 0:00:20.223 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.056) 0:00:20.280 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.021) 0:00:20.302 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.021) 0:00:20.323 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.027) 0:00:20.350 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.021) 0:00:20.371 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.020) 0:00:20.392 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:54:45 +0000 (0:00:00.228) 0:00:20.621 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16982lwavskau/tmpke7k3_ut" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.332) 0:00:20.953 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.277) 0:00:21.231 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.053) 0:00:21.284 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.026) 0:00:21.311 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.045) 0:00:21.357 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.035) 0:00:21.392 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.172) 0:00:21.565 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.068) 0:00:21.633 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.055) 0:00:21.688 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.044) 0:00:21.733 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.039) 0:00:21.772 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.026) 0:00:21.799 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.021) 0:00:21.820 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.021) 0:00:21.842 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:54:47 +0000 (0:00:00.701) 0:00:22.544 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.944) 0:00:23.489 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.044) 0:00:23.533 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.057) 0:00:23.591 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.043) 0:00:23.635 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.051) 0:00:23.686 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.029) 0:00:23.715 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.025) 0:00:23.741 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.024) 0:00:23.766 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.023) 0:00:23.790 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.021) 0:00:23.811 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.282) 0:00:24.094 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16982lwavskau/tmpefz3sgqy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.232) 0:00:24.327 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.506) 0:00:24.833 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.063) 0:00:24.897 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.057) 0:00:24.955 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.083) 0:00:25.039 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.113) 0:00:25.153 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.237) 0:00:25.390 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.056) 0:00:25.446 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.058) 0:00:25.505 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830089.7720416, "block_size": 4096, "blocks": 0, "ctime": 1704830089.7700417, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17619, "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": 1704830089.7700417, "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_type4sn_hph9/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.147) 0:00:25.652 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.025) 0:00:25.677 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.064) 0:00:25.742 ******* 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:54:50 +0000 (0:00:00.036) 0:00:25.778 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830089.5950456, "block_size": 4096, "blocks": 8, "ctime": 1704830086.2601187, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25399, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704830086.2601187, "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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.192) 0:00:25.971 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.053) 0:00:26.024 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023744", "end": "2024-01-09 19:54:51.247237", "rc": 1, "start": "2024-01-09 19:54:51.223493" } 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.186) 0:00:26.210 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.022) 0:00:26.232 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003453", "end": "2024-01-09 19:54:51.414982", "rc": 0, "start": "2024-01-09 19:54:51.411529" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.172) 0:00:26.405 ******* 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.035) 0:00:26.440 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003469", "end": "2024-01-09 19:54:51.660637", "rc": 0, "start": "2024-01-09 19:54:51.657168" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.176) 0:00:26.617 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.027) 0:00:26.645 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.025) 0:00:26.670 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.027) 0:00:26.697 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.025) 0:00:26.723 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.046) 0:00:26.769 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.045) 0:00:26.815 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.043) 0:00:26.858 ******* 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.049365", "end": "2024-01-09 19:54:52.096964", "rc": 0, "start": "2024-01-09 19:54:52.047599" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.210) 0:00:27.069 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.062) 0:00:27.131 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.027) 0:00:27.158 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.046) 0:00:27.204 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.077) 0:00:27.282 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.055) 0:00:27.337 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003472", "end": "2024-01-09 19:54:52.533610", "rc": 0, "start": "2024-01-09 19:54:52.530138" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.165) 0:00:27.502 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.032) 0:00:27.535 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.042) 0:00:27.577 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.058) 0:00:27.636 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.038) 0:00:27.674 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.054) 0:00:27.729 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.044) 0:00:27.773 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.029) 0:00:27.803 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.023) 0:00:27.827 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.793) 0:00:28.620 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.977) 0:00:29.597 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.036) 0:00:29.634 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.036) 0:00:29.671 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.033) 0:00:29.704 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.045) 0:00:29.750 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.022) 0:00:29.773 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.022) 0:00:29.795 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.031) 0:00:29.826 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.036) 0:00:29.863 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.030) 0:00:29.894 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.246) 0:00:30.140 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16982lwavskau/tmpce8ybd8g" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.238) 0:00:30.379 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.229) 0:00:30.608 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.033) 0:00:30.642 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.023) 0:00:30.666 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.023) 0:00:30.689 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.023) 0:00:30.713 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.127) 0:00:30.840 ******* 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_type4sn_hph9/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.026) 0:00:30.867 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.036) 0:00:30.903 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:54:56 +0000 (0:00:00.047) 0:00:30.950 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:54:56 +0000 (0:00:00.026) 0:00:30.977 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:54:56 +0000 (0:00:00.023) 0:00:31.000 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:54:56 +0000 (0:00:00.021) 0:00:31.022 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:54:56 +0000 (0:00:00.681) 0:00:31.703 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.916) 0:00:32.619 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.022) 0:00:32.642 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.022) 0:00:32.664 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.020) 0:00:32.685 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.045) 0:00:32.730 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.030) 0:00:32.761 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.042) 0:00:32.804 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.030) 0:00:32.834 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.029) 0:00:32.863 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:54:57 +0000 (0:00:00.050) 0:00:32.914 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.306) 0:00:33.221 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16982lwavskau/tmp1uzozpur" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.279) 0:00:33.500 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.465) 0:00:33.966 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.024) 0:00:33.990 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.027) 0:00:34.017 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.025) 0:00:34.043 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.026) 0:00:34.070 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.131) 0:00:34.201 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.045) 0:00:34.247 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.056) 0:00:34.304 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.041) 0:00:34.345 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.027) 0:00:34.373 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.021) 0:00:34.394 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.056) 0:00:34.450 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.742) 0:00:35.193 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:01 +0000 (0:00:00.918) 0:00:36.112 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:01 +0000 (0:00:00.022) 0:00:36.134 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:01 +0000 (0:00:00.020) 0:00:36.155 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:01 +0000 (0:00:00.021) 0:00:36.177 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:01 +0000 (0:00:00.043) 0:00:36.220 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:01 +0000 (0:00:00.022) 0:00:36.243 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:01 +0000 (0:00:00.022) 0:00:36.265 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:01 +0000 (0:00:00.024) 0:00:36.290 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:01 +0000 (0:00:00.048) 0:00:36.338 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:01 +0000 (0:00:00.021) 0:00:36.360 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:01 +0000 (0:00:00.226) 0:00:36.587 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16982lwavskau/tmpv32210y5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:01 +0000 (0:00:00.229) 0:00:36.816 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.273) 0:00:37.090 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.022) 0:00:37.113 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.023) 0:00:37.136 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.029) 0:00:37.166 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.022) 0:00:37.188 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.140) 0:00:37.329 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.044) 0:00:37.373 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.048) 0:00:37.422 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830098.94284, "block_size": 4096, "blocks": 0, "ctime": 1704830098.9418402, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17619, "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": 1704830098.9418402, "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_type4sn_hph9/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.167) 0:00:37.589 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.064) 0:00:37.653 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.038) 0:00:37.692 ******* 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.023) 0:00:37.715 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.144) 0:00:37.860 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:55:02 +0000 (0:00:00.025) 0:00:37.886 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022734", "end": "2024-01-09 19:55:03.104043", "rc": 1, "start": "2024-01-09 19:55:03.081309" } 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.202) 0:00:38.089 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.057) 0:00:38.146 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.046) 0:00:38.192 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.036) 0:00:38.228 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.033) 0:00:38.262 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.068) 0:00:38.330 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.035) 0:00:38.366 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.026) 0:00:38.392 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.057) 0:00:38.450 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.112) 0:00:38.563 ******* 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.051306", "end": "2024-01-09 19:55:03.870946", "rc": 0, "start": "2024-01-09 19:55:03.819640" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.314) 0:00:38.877 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.143) 0:00:39.021 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.043) 0:00:39.064 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.097) 0:00:39.162 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.054) 0:00:39.216 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.061) 0:00:39.278 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003255", "end": "2024-01-09 19:55:04.469002", "rc": 0, "start": "2024-01-09 19:55:04.465747" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.162) 0:00:39.441 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.049) 0:00:39.491 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.035) 0:00:39.526 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.107) 0:00:39.634 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.054) 0:00:39.689 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.057) 0:00:39.747 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.045) 0:00:39.792 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.052) 0:00:39.844 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.022) 0:00:39.867 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:05 +0000 (0:00:00.743) 0:00:40.610 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.964) 0:00:41.575 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.033) 0:00:41.608 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.047) 0:00:41.655 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.030) 0:00:41.686 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.087) 0:00:41.773 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.025) 0:00:41.799 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.043) 0:00:41.843 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:06 +0000 (0:00:00.063) 0:00:41.906 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:07 +0000 (0:00:00.024) 0:00:41.931 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:07 +0000 (0:00:00.043) 0:00:41.975 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:07 +0000 (0:00:00.280) 0:00:42.255 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16982lwavskau/tmpxadk1k6t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:07 +0000 (0:00:00.295) 0:00:42.550 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:07 +0000 (0:00:00.251) 0:00:42.802 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:07 +0000 (0:00:00.022) 0:00:42.824 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:07 +0000 (0:00:00.024) 0:00:42.848 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:07 +0000 (0:00:00.023) 0:00:42.872 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:07 +0000 (0:00:00.021) 0:00:42.894 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.131) 0:00:43.025 ******* 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_type4sn_hph9/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.023) 0:00:43.049 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.063) 0:00:43.112 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.055) 0:00:43.168 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.050) 0:00:43.219 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.070) 0:00:43.289 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.024) 0:00:43.314 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:09 +0000 (0:00:00.719) 0:00:44.033 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.981) 0:00:45.015 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.049) 0:00:45.065 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.058) 0:00:45.124 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.058) 0:00:45.182 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.074) 0:00:45.256 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.029) 0:00:45.286 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.027) 0:00:45.313 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.029) 0:00:45.343 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.025) 0:00:45.368 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.047) 0:00:45.416 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.385) 0:00:45.802 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16982lwavskau/tmpk87qyul9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.352) 0:00:46.154 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.594) 0:00:46.749 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.052) 0:00:46.801 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.060) 0:00:46.862 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.079) 0:00:46.941 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.063) 0:00:47.004 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.162) 0:00:47.167 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.039) 0:00:47.206 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.042) 0:00:47.249 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.033) 0:00:47.282 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.040) 0:00:47.323 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.042) 0:00:47.365 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:13 +0000 (0:00:00.695) 0:00:48.060 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:14 +0000 (0:00:00.924) 0:00:48.985 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:14 +0000 (0:00:00.057) 0:00:49.042 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:14 +0000 (0:00:00.022) 0:00:49.064 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:14 +0000 (0:00:00.027) 0:00:49.092 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:14 +0000 (0:00:00.061) 0:00:49.153 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:14 +0000 (0:00:00.032) 0:00:49.186 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:14 +0000 (0:00:00.028) 0:00:49.215 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:14 +0000 (0:00:00.035) 0:00:49.250 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:14 +0000 (0:00:00.022) 0:00:49.273 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:14 +0000 (0:00:00.020) 0:00:49.294 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:14 +0000 (0:00:00.264) 0:00:49.558 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16982lwavskau/tmp83dtvzdx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:14 +0000 (0:00:00.303) 0:00:49.862 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.264) 0:00:50.126 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.072) 0:00:50.199 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.052) 0:00:50.251 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.045) 0:00:50.297 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.031) 0:00:50.328 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.203) 0:00:50.531 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.068) 0:00:50.600 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.041) 0:00:50.642 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.062) 0:00:50.705 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.027) 0:00:50.732 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.022) 0:00:50.755 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.064) 0:00:50.819 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:16 +0000 (0:00:00.719) 0:00:51.539 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:17 +0000 (0:00:01.019) 0:00:52.558 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:17 +0000 (0:00:00.032) 0:00:52.591 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:17 +0000 (0:00:00.030) 0:00:52.622 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:17 +0000 (0:00:00.060) 0:00:52.683 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:17 +0000 (0:00:00.051) 0:00:52.734 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:17 +0000 (0:00:00.023) 0:00:52.757 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:17 +0000 (0:00:00.029) 0:00:52.786 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:17 +0000 (0:00:00.027) 0:00:52.814 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:17 +0000 (0:00:00.022) 0:00:52.837 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:17 +0000 (0:00:00.052) 0:00:52.889 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:18 +0000 (0:00:00.255) 0:00:53.145 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16982lwavskau/tmpv9v32qq0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:18 +0000 (0:00:00.276) 0:00:53.422 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:18 +0000 (0:00:00.272) 0:00:53.694 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:18 +0000 (0:00:00.027) 0:00:53.721 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:18 +0000 (0:00:00.044) 0:00:53.766 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:18 +0000 (0:00:00.056) 0:00:53.823 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:18 +0000 (0:00:00.039) 0:00:53.863 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.171) 0:00:54.034 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.095) 0:00:54.130 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.078) 0:00:54.208 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.045) 0:00:54.254 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.148) 0:00:54.402 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.022) 0:00:54.425 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022512", "end": "2024-01-09 19:55:19.641101", "rc": 1, "start": "2024-01-09 19:55:19.618589" } 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.197) 0:00:54.623 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.029) 0:00:54.652 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.037) 0:00:54.690 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.086) 0:00:54.777 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.086) 0:00:54.863 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.042) 0:00:54.905 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.029) 0:00:54.935 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.036) 0:00:54.972 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.025) 0:00:54.998 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.043) 0:00:55.041 ******* 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.050592", "end": "2024-01-09 19:55:20.281215", "rc": 0, "start": "2024-01-09 19:55:20.230623" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.199) 0:00:55.241 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.050) 0:00:55.292 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.032) 0:00:55.324 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.053) 0:00:55.378 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.052) 0:00:55.431 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.067) 0:00:55.499 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003448", "end": "2024-01-09 19:55:20.694195", "rc": 0, "start": "2024-01-09 19:55:20.690747" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.166) 0:00:55.665 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.032) 0:00:55.698 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.035) 0:00:55.733 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.051) 0:00:55.785 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.037) 0:00:55.823 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.060) 0:00:55.883 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.042) 0:00:55.926 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:21 +0000 (0:00:00.046) 0:00:55.972 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:21 +0000 (0:00:00.035) 0:00:56.008 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:21 +0000 (0:00:00.705) 0:00:56.713 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.940) 0:00:57.653 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.039) 0:00:57.692 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.030) 0:00:57.722 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.036) 0:00:57.759 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.063) 0:00:57.822 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.045) 0:00:57.867 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.026) 0:00:57.894 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:22 +0000 (0:00:00.025) 0:00:57.920 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:23 +0000 (0:00:00.022) 0:00:57.942 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:23 +0000 (0:00:00.021) 0:00:57.963 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:23 +0000 (0:00:00.226) 0:00:58.189 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16982lwavskau/tmp0cy65plm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:23 +0000 (0:00:00.241) 0:00:58.430 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:23 +0000 (0:00:00.231) 0:00:58.661 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:23 +0000 (0:00:00.023) 0:00:58.685 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:23 +0000 (0:00:00.045) 0:00:58.731 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:23 +0000 (0:00:00.053) 0:00:58.784 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:23 +0000 (0:00:00.058) 0:00:58.842 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:55:24 +0000 (0:00:00.193) 0:00:59.036 ******* 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_type4sn_hph9/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:55:24 +0000 (0:00:00.030) 0:00:59.067 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:24 +0000 (0:00:00.047) 0:00:59.114 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:24 +0000 (0:00:00.041) 0:00:59.155 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:24 +0000 (0:00:00.040) 0:00:59.195 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:24 +0000 (0:00:00.047) 0:00:59.243 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:24 +0000 (0:00:00.056) 0:00:59.299 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:25 +0000 (0:00:00.758) 0:01:00.058 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:26 +0000 (0:00:01.091) 0:01:01.149 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:26 +0000 (0:00:00.051) 0:01:01.201 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:26 +0000 (0:00:00.034) 0:01:01.235 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:26 +0000 (0:00:00.048) 0:01:01.284 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:26 +0000 (0:00:00.086) 0:01:01.370 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:26 +0000 (0:00:00.093) 0:01:01.464 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:26 +0000 (0:00:00.056) 0:01:01.520 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:26 +0000 (0:00:00.083) 0:01:01.604 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:26 +0000 (0:00:00.066) 0:01:01.670 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:26 +0000 (0:00:00.040) 0:01:01.711 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:27 +0000 (0:00:00.283) 0:01:01.994 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16982lwavskau/tmpq8kq1e3r" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:27 +0000 (0:00:00.353) 0:01:02.348 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:27 +0000 (0:00:00.549) 0:01:02.897 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:27 +0000 (0:00:00.026) 0:01:02.924 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.025) 0:01:02.949 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.042) 0:01:02.992 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.022) 0:01:03.014 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.159) 0:01:03.174 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.043) 0:01:03.217 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.050) 0:01:03.267 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.026) 0:01:03.294 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.043) 0:01:03.337 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.023) 0:01:03.360 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:29 +0000 (0:00:00.709) 0:01:04.070 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.966) 0:01:05.036 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.023) 0:01:05.059 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.023) 0:01:05.083 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.024) 0:01:05.108 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.045) 0:01:05.153 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.021) 0:01:05.175 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.024) 0:01:05.199 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.026) 0:01:05.225 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.023) 0:01:05.249 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.031) 0:01:05.281 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.235) 0:01:05.516 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16982lwavskau/tmpk68tub22" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.226) 0:01:05.743 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.342) 0:01:06.085 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.022) 0:01:06.108 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.048) 0:01:06.156 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.025) 0:01:06.182 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.023) 0:01:06.205 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.130) 0:01:06.335 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.040) 0:01:06.375 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.053) 0:01:06.428 ******* included: /WORKDIR/git-route_type4sn_hph9/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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.075) 0:01:06.503 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.053) 0:01:06.557 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.055) 0:01:06.612 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.037) 0:01:06.649 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:32 +0000 (0:00:00.724) 0:01:07.374 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:33 +0000 (0:00:00.982) 0:01:08.357 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:33 +0000 (0:00:00.073) 0:01:08.430 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:33 +0000 (0:00:00.054) 0:01:08.485 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:33 +0000 (0:00:00.053) 0:01:08.538 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:33 +0000 (0:00:00.054) 0:01:08.593 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:33 +0000 (0:00:00.023) 0:01:08.617 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:33 +0000 (0:00:00.032) 0:01:08.649 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:33 +0000 (0:00:00.029) 0:01:08.678 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:33 +0000 (0:00:00.036) 0:01:08.715 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:33 +0000 (0:00:00.030) 0:01:08.745 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:34 +0000 (0:00:00.255) 0:01:09.001 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16982lwavskau/tmp3rr7ao8z" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:34 +0000 (0:00:00.228) 0:01:09.229 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:34 +0000 (0:00:00.294) 0:01:09.523 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:34 +0000 (0:00:00.037) 0:01:09.560 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:34 +0000 (0:00:00.041) 0:01:09.602 ******* 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_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:34 +0000 (0:00:00.031) 0:01:09.633 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:34 +0000 (0:00:00.036) 0:01:09.670 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:55:34 +0000 (0:00:00.146) 0:01:09.816 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:55:34 +0000 (0:00:00.054) 0:01:09.871 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:55:34 +0000 (0:00:00.043) 0:01:09.915 ******* 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.022) 0:01:09.937 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.133) 0:01:10.070 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.026) 0:01:10.097 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022806", "end": "2024-01-09 19:55:35.299176", "rc": 1, "start": "2024-01-09 19:55:35.276370" } 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_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.158) 0:01:10.255 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.034) 0:01:10.290 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.025) 0:01:10.315 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.049) 0:01:10.364 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.061) 0:01:10.426 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.030) 0:01:10.457 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.050) 0:01:10.507 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.670594", "end": "2024-01-09 19:55:36.361173", "rc": 0, "start": "2024-01-09 19:55:35.690579" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.849) 0:01:11.356 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.048) 0:01:11.405 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.049) 0:01:11.455 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.048) 0:01:11.503 ******* 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_type4sn_hph9/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.027) 0:01:11.530 ******* included: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4sn_hph9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.050) 0:01:11.580 ******* 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.052407", "end": "2024-01-09 19:55:36.828992", "rc": 0, "start": "2024-01-09 19:55:36.776585" } 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 19:55:36 +0000 (0:00:00.216) 0:01:11.797 ******* =============================================================================== linux-system-roles.network : Install packages --------------------------- 2.43s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 2.12s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.42s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.38s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 1.33s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Enable network service --------------------- 1.26s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.22s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which packages are installed --------- 1.18s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.09s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_type4sn_hph9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---