# 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-wifi_fixm9hpocm6/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/tests_states_initscripts.yml:4 Friday 22 December 2023 00:05:47 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/tests_states_initscripts.yml:8 Friday 22 December 2023 00:05:47 +0000 (0:00:00.490) 0:00:00.502 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/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-wifi_fixm9hpocm6/tests/tasks/el_repo_setup.yml:3 Friday 22 December 2023 00:05:47 +0000 (0:00:00.021) 0:00:00.523 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/tasks/el_repo_setup.yml:19 Friday 22 December 2023 00:05:47 +0000 (0:00:00.206) 0:00:00.730 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/tasks/el_repo_setup.yml:24 Friday 22 December 2023 00:05:48 +0000 (0:00:00.186) 0:00:00.916 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/tasks/el_repo_setup.yml:28 Friday 22 December 2023 00:05:48 +0000 (0:00:00.019) 0:00:00.936 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/tasks/el_repo_setup.yml:53 Friday 22 December 2023 00:05:48 +0000 (0:00:00.017) 0:00:00.953 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/tasks/enable_epel.yml:8 Friday 22 December 2023 00:05:48 +0000 (0:00:00.030) 0:00:00.984 ******* 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-wifi_fixm9hpocm6/tests/tasks/enable_epel.yml:24 Friday 22 December 2023 00:05:48 +0000 (0:00:00.181) 0:00:01.165 ******* 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-wifi_fixm9hpocm6/tests/tasks/enable_epel.yml:30 Friday 22 December 2023 00:05:48 +0000 (0:00:00.442) 0:00:01.607 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.171577", "end": "2023-12-22 00:05:49.027097", "rc": 0, "start": "2023-12-22 00:05:48.855520" } 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-wifi_fixm9hpocm6/tests/tasks/enable_epel.yml:35 Friday 22 December 2023 00:05:49 +0000 (0:00:00.291) 0:00:01.898 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/tasks/enable_epel.yml:40 Friday 22 December 2023 00:05:49 +0000 (0:00:00.010) 0:00:01.909 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/tests_states_initscripts.yml:10 Friday 22 December 2023 00:05:49 +0000 (0:00:00.009) 0:00:01.919 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tests_states.yml:3 Friday 22 December 2023 00:05:49 +0000 (0:00:00.009) 0:00:01.928 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tests_states.yml:11 Friday 22 December 2023 00:05:49 +0000 (0:00:00.358) 0:00:02.287 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tests_states.yml:22 Friday 22 December 2023 00:05:49 +0000 (0:00:00.010) 0:00:02.298 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:05:49 +0000 (0:00:00.016) 0:00:02.314 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:05:49 +0000 (0:00:00.010) 0:00:02.325 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:05:49 +0000 (0:00:00.034) 0:00:02.359 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:05:49 +0000 (0:00:00.016) 0:00:02.375 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:05:49 +0000 (0:00:00.014) 0:00:02.389 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003106", "end": "2023-12-22 00:05:49.640126", "rc": 0, "start": "2023-12-22 00:05:49.637020" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:05:49 +0000 (0:00:00.122) 0:00:02.511 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:05:49 +0000 (0:00:00.013) 0:00:02.524 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:05:49 +0000 (0:00:00.016) 0:00:02.541 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/delete_interface.yml:3 Friday 22 December 2023 00:05:49 +0000 (0:00:00.021) 0:00:02.562 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010462", "end": "2023-12-22 00:05:49.821855", "rc": 1, "start": "2023-12-22 00:05:49.811393" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 22 December 2023 00:05:49 +0000 (0:00:00.128) 0:00:02.691 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:05:49 +0000 (0:00:00.015) 0:00:02.706 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 22 December 2023 00:05:49 +0000 (0:00:00.129) 0:00:02.835 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:05:49 +0000 (0:00:00.013) 0:00:02.849 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 22 December 2023 00:05:50 +0000 (0:00:00.018) 0:00:02.867 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:05:50 +0000 (0:00:00.033) 0:00:02.901 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:05:50 +0000 (0:00:00.069) 0:00:02.970 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:05:50 +0000 (0:00:00.012) 0:00:02.982 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:05:50 +0000 (0:00:00.012) 0:00:02.995 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:05:50 +0000 (0:00:00.011) 0:00:03.006 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:05:50 +0000 (0:00:00.773) 0:00:03.780 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:05:51 +0000 (0:00:01.058) 0:00:04.838 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:05:52 +0000 (0:00:00.022) 0:00:04.860 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:05:52 +0000 (0:00:00.021) 0:00:04.881 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:05:52 +0000 (0:00:00.021) 0:00:04.903 ******* 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: d2lzkl7pfhq30w.cloudfront.net\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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:05:54 +0000 (0:00:02.302) 0:00:07.205 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:05:54 +0000 (0:00:00.033) 0:00:07.239 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:05:54 +0000 (0:00:00.033) 0:00:07.272 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:05:54 +0000 (0:00:00.031) 0:00:07.304 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:05:54 +0000 (0:00:00.064) 0:00:07.368 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:05:54 +0000 (0:00:00.023) 0:00:07.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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:05:54 +0000 (0:00:00.363) 0:00:07.755 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16781rlauqhoi/tmpehd50htq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:05:55 +0000 (0:00:00.231) 0:00:07.987 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:05:55 +0000 (0:00:00.347) 0:00:08.334 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:05:55 +0000 (0:00:00.021) 0:00:08.356 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:05:55 +0000 (0:00:00.021) 0:00:08.378 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:05:55 +0000 (0:00:00.024) 0:00:08.402 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:05:55 +0000 (0:00:00.022) 0:00:08.424 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 22 December 2023 00:05:55 +0000 (0:00:00.219) 0:00:08.644 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:05:55 +0000 (0:00:00.026) 0:00:08.670 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 22 December 2023 00:05:55 +0000 (0:00:00.049) 0:00:08.720 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:05:55 +0000 (0:00:00.040) 0:00:08.761 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:05:55 +0000 (0:00:00.055) 0:00:08.816 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703203555.4488177, "block_size": 4096, "blocks": 8, "ctime": 1703203555.4488177, "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": 1703203555.4488177, "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-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:05:56 +0000 (0:00:00.146) 0:00:08.963 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:05:56 +0000 (0:00:00.022) 0:00:08.985 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022311", "end": "2023-12-22 00:05:56.257033", "rc": 1, "start": "2023-12-22 00:05:56.234722" } 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-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:05:56 +0000 (0:00:00.151) 0:00:09.136 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:05:56 +0000 (0:00:00.023) 0:00:09.160 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003280", "end": "2023-12-22 00:05:56.414657", "rc": 0, "start": "2023-12-22 00:05:56.411377" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:05:56 +0000 (0:00:00.142) 0:00:09.303 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:05:56 +0000 (0:00:00.026) 0:00:09.330 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003322", "end": "2023-12-22 00:05:56.586005", "rc": 0, "start": "2023-12-22 00:05:56.582683" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:05:56 +0000 (0:00:00.142) 0:00:09.473 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 22 December 2023 00:05:56 +0000 (0:00:00.027) 0:00:09.500 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 22 December 2023 00:05:56 +0000 (0:00:00.027) 0:00:09.527 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 22 December 2023 00:05:56 +0000 (0:00:00.030) 0:00:09.558 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:05:56 +0000 (0:00:00.025) 0:00:09.583 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:05:56 +0000 (0:00:00.027) 0:00:09.610 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:05:56 +0000 (0:00:00.039) 0:00:09.650 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:05:56 +0000 (0:00:00.058) 0:00:09.708 ******* 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.042632", "end": "2023-12-22 00:05:57.005246", "rc": 1, "start": "2023-12-22 00:05:56.962614" } 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-wifi_fixm9hpocm6/tests/playbooks/tests_states.yml:45 Friday 22 December 2023 00:05:57 +0000 (0:00:00.214) 0:00:09.923 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:05:57 +0000 (0:00:00.044) 0:00:09.967 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:05:57 +0000 (0:00:00.025) 0:00:09.992 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:05:57 +0000 (0:00:00.053) 0:00:10.046 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:05:57 +0000 (0:00:00.048) 0:00:10.095 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:05:57 +0000 (0:00:00.044) 0:00:10.140 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003538", "end": "2023-12-22 00:05:57.401246", "rc": 0, "start": "2023-12-22 00:05:57.397708" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:05:57 +0000 (0:00:00.143) 0:00:10.283 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:05:57 +0000 (0:00:00.028) 0:00:10.312 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:05:57 +0000 (0:00:00.022) 0:00:10.334 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/delete_interface.yml:3 Friday 22 December 2023 00:05:57 +0000 (0:00:00.040) 0:00:10.375 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006892", "end": "2023-12-22 00:05:57.636309", "rc": 1, "start": "2023-12-22 00:05:57.629417" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 22 December 2023 00:05:57 +0000 (0:00:00.144) 0:00:10.520 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:05:57 +0000 (0:00:00.035) 0:00:10.556 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 22 December 2023 00:05:57 +0000 (0:00:00.180) 0:00:10.736 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:05:57 +0000 (0:00:00.060) 0:00:10.797 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 22 December 2023 00:05:57 +0000 (0:00:00.045) 0:00:10.842 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:05:58 +0000 (0:00:00.067) 0:00:10.910 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:05:58 +0000 (0:00:00.052) 0:00:10.963 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:05:58 +0000 (0:00:00.028) 0:00:10.991 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:05:58 +0000 (0:00:00.022) 0:00:11.013 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:05:58 +0000 (0:00:00.022) 0:00:11.036 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:05:58 +0000 (0:00:00.730) 0:00:11.766 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:05:59 +0000 (0:00:00.932) 0:00:12.699 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:05:59 +0000 (0:00:00.025) 0:00:12.724 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:05:59 +0000 (0:00:00.020) 0:00:12.745 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:05:59 +0000 (0:00:00.022) 0:00:12.768 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:05:59 +0000 (0:00:00.042) 0:00:12.810 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:05:59 +0000 (0:00:00.021) 0:00:12.832 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:05:59 +0000 (0:00:00.021) 0:00:12.854 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:06:00 +0000 (0:00:00.027) 0:00:12.881 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:06:00 +0000 (0:00:00.021) 0:00:12.902 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:06:00 +0000 (0:00:00.020) 0:00:12.923 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:06:00 +0000 (0:00:00.222) 0:00:13.145 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16781rlauqhoi/tmp1nawpg34" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:06:00 +0000 (0:00:00.216) 0:00:13.362 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:06:00 +0000 (0:00:00.284) 0:00:13.647 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:06:00 +0000 (0:00:00.034) 0:00:13.682 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:06:00 +0000 (0:00:00.048) 0:00:13.731 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:06:00 +0000 (0:00:00.036) 0:00:13.767 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:06:00 +0000 (0:00:00.033) 0:00:13.801 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 22 December 2023 00:06:01 +0000 (0:00:00.133) 0:00:13.934 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:06:01 +0000 (0:00:00.025) 0:00:13.960 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 22 December 2023 00:06:01 +0000 (0:00:00.053) 0:00:14.013 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:06:01 +0000 (0:00:00.037) 0:00:14.051 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 22 December 2023 00:06:01 +0000 (0:00:00.132) 0:00:14.184 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 22 December 2023 00:06:01 +0000 (0:00:00.025) 0:00:14.209 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:06:01 +0000 (0:00:00.037) 0:00:14.246 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:06:01 +0000 (0:00:00.021) 0:00:14.268 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703203560.738817, "block_size": 4096, "blocks": 8, "ctime": 1703203560.738817, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25405, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703203560.738817, "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-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:06:01 +0000 (0:00:00.129) 0:00:14.398 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:06:01 +0000 (0:00:00.047) 0:00:14.445 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020551", "end": "2023-12-22 00:06:01.716548", "rc": 1, "start": "2023-12-22 00:06:01.695997" } 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-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:06:01 +0000 (0:00:00.152) 0:00:14.598 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:06:01 +0000 (0:00:00.025) 0:00:14.623 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003433", "end": "2023-12-22 00:06:01.881152", "rc": 0, "start": "2023-12-22 00:06:01.877719" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:06:01 +0000 (0:00:00.152) 0:00:14.776 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:06:01 +0000 (0:00:00.069) 0:00:14.846 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003362", "end": "2023-12-22 00:06:02.112642", "rc": 0, "start": "2023-12-22 00:06:02.109280" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:06:02 +0000 (0:00:00.153) 0:00:15.000 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 22 December 2023 00:06:02 +0000 (0:00:00.027) 0:00:15.028 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 22 December 2023 00:06:02 +0000 (0:00:00.023) 0:00:15.052 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 22 December 2023 00:06:02 +0000 (0:00:00.023) 0:00:15.075 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:06:02 +0000 (0:00:00.022) 0:00:15.097 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:06:02 +0000 (0:00:00.024) 0:00:15.122 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:06:02 +0000 (0:00:00.022) 0:00:15.144 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:06:02 +0000 (0:00:00.039) 0:00:15.184 ******* 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.039968", "end": "2023-12-22 00:06:02.474266", "rc": 1, "start": "2023-12-22 00:06:02.434298" } 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-wifi_fixm9hpocm6/tests/playbooks/tests_states.yml:65 Friday 22 December 2023 00:06:02 +0000 (0:00:00.170) 0:00:15.354 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:06:02 +0000 (0:00:00.035) 0:00:15.389 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:06:02 +0000 (0:00:00.047) 0:00:15.436 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:06:02 +0000 (0:00:00.053) 0:00:15.490 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:06:02 +0000 (0:00:00.038) 0:00:15.528 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:06:02 +0000 (0:00:00.034) 0:00:15.563 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003156", "end": "2023-12-22 00:06:02.819738", "rc": 0, "start": "2023-12-22 00:06:02.816582" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:06:02 +0000 (0:00:00.137) 0:00:15.701 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:06:02 +0000 (0:00:00.024) 0:00:15.725 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:06:02 +0000 (0:00:00.025) 0:00:15.751 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 22 December 2023 00:06:02 +0000 (0:00:00.041) 0:00:15.792 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:06:02 +0000 (0:00:00.036) 0:00:15.828 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:06:03 +0000 (0:00:00.043) 0:00:15.871 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:06:03 +0000 (0:00:00.025) 0:00:15.897 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:06:03 +0000 (0:00:00.021) 0:00:15.918 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:06:03 +0000 (0:00:00.020) 0:00:15.939 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:06:03 +0000 (0:00:00.699) 0:00:16.638 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:06:04 +0000 (0:00:00.898) 0:00:17.537 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:06:04 +0000 (0:00:00.022) 0:00:17.560 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:06:04 +0000 (0:00:00.021) 0:00:17.581 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:06:04 +0000 (0:00:00.021) 0:00:17.602 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:06:04 +0000 (0:00:00.043) 0:00:17.646 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:06:04 +0000 (0:00:00.021) 0:00:17.667 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:06:04 +0000 (0:00:00.021) 0:00:17.688 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:06:04 +0000 (0:00:00.028) 0:00:17.717 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:06:04 +0000 (0:00:00.046) 0:00:17.763 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:06:04 +0000 (0:00:00.025) 0:00:17.789 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:06:05 +0000 (0:00:00.228) 0:00:18.018 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16781rlauqhoi/tmpm5twa_24" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:06:05 +0000 (0:00:00.212) 0:00:18.231 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:06:05 +0000 (0:00:00.223) 0:00:18.454 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:06:05 +0000 (0:00:00.020) 0:00:18.475 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:06:05 +0000 (0:00:00.023) 0:00:18.498 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:06:05 +0000 (0:00:00.022) 0:00:18.520 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:06:05 +0000 (0:00:00.020) 0:00:18.541 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 22 December 2023 00:06:05 +0000 (0:00:00.133) 0:00:18.674 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:06:05 +0000 (0:00:00.025) 0:00:18.699 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/activate_profile.yml:3 Friday 22 December 2023 00:06:05 +0000 (0:00:00.043) 0:00:18.743 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:06:05 +0000 (0:00:00.038) 0:00:18.781 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:06:05 +0000 (0:00:00.062) 0:00:18.844 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:06:06 +0000 (0:00:00.026) 0:00:18.870 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:06:06 +0000 (0:00:00.021) 0:00:18.892 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:06:06 +0000 (0:00:00.024) 0:00:18.917 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:06:06 +0000 (0:00:00.687) 0:00:19.605 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:06:07 +0000 (0:00:00.939) 0:00:20.544 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:06:07 +0000 (0:00:00.023) 0:00:20.567 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:06:07 +0000 (0:00:00.020) 0:00:20.588 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:06:07 +0000 (0:00:00.043) 0:00:20.631 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:06:07 +0000 (0:00:00.043) 0:00:20.675 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:06:07 +0000 (0:00:00.021) 0:00:20.697 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:06:07 +0000 (0:00:00.021) 0:00:20.718 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:06:07 +0000 (0:00:00.024) 0:00:20.743 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:06:07 +0000 (0:00:00.024) 0:00:20.767 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:06:07 +0000 (0:00:00.020) 0:00:20.788 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:06:08 +0000 (0:00:00.226) 0:00:21.014 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16781rlauqhoi/tmp396g5kp_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:06:08 +0000 (0:00:00.223) 0:00:21.238 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:06:08 +0000 (0:00:00.480) 0:00:21.718 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:06:08 +0000 (0:00:00.026) 0:00:21.745 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:06:08 +0000 (0:00:00.044) 0:00:21.790 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:06:08 +0000 (0:00:00.022) 0:00:21.812 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:06:08 +0000 (0:00:00.020) 0:00:21.832 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:06:09 +0000 (0:00:00.182) 0:00:22.015 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_device_present.yml:3 Friday 22 December 2023 00:06:09 +0000 (0:00:00.070) 0:00:22.086 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:06:09 +0000 (0:00:00.035) 0:00:22.121 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703203568.7488158, "block_size": 4096, "blocks": 0, "ctime": 1703203568.7478158, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17657, "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": 1703203568.7478158, "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-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_device_present.yml:5 Friday 22 December 2023 00:06:09 +0000 (0:00:00.135) 0:00:22.257 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 22 December 2023 00:06:09 +0000 (0:00:00.024) 0:00:22.282 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:06:09 +0000 (0:00:00.037) 0:00:22.319 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:06:09 +0000 (0:00:00.020) 0:00:22.340 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703203568.575816, "block_size": 4096, "blocks": 8, "ctime": 1703203565.5698164, "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": 1703203565.5698164, "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-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:06:09 +0000 (0:00:00.131) 0:00:22.472 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:06:09 +0000 (0:00:00.022) 0:00:22.494 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021104", "end": "2023-12-22 00:06:09.763457", "rc": 1, "start": "2023-12-22 00:06:09.742353" } 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-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:06:09 +0000 (0:00:00.151) 0:00:22.646 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:06:09 +0000 (0:00:00.022) 0:00:22.669 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003180", "end": "2023-12-22 00:06:09.932245", "rc": 0, "start": "2023-12-22 00:06:09.929065" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:06:09 +0000 (0:00:00.145) 0:00:22.814 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:06:09 +0000 (0:00:00.038) 0:00:22.853 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003302", "end": "2023-12-22 00:06:10.114718", "rc": 0, "start": "2023-12-22 00:06:10.111416" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:06:10 +0000 (0:00:00.169) 0:00:23.023 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 22 December 2023 00:06:10 +0000 (0:00:00.027) 0:00:23.050 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 22 December 2023 00:06:10 +0000 (0:00:00.023) 0:00:23.074 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 22 December 2023 00:06:10 +0000 (0:00:00.028) 0:00:23.102 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:06:10 +0000 (0:00:00.041) 0:00:23.144 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:06:10 +0000 (0:00:00.022) 0:00:23.166 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:06:10 +0000 (0:00:00.028) 0:00:23.194 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:06:10 +0000 (0:00:00.046) 0:00:23.241 ******* 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.048061", "end": "2023-12-22 00:06:10.561425", "rc": 0, "start": "2023-12-22 00:06:10.513364" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tests_states.yml:83 Friday 22 December 2023 00:06:10 +0000 (0:00:00.202) 0:00:23.443 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:06:10 +0000 (0:00:00.037) 0:00:23.481 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:06:10 +0000 (0:00:00.024) 0:00:23.506 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:06:10 +0000 (0:00:00.052) 0:00:23.558 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:06:10 +0000 (0:00:00.038) 0:00:23.597 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:06:10 +0000 (0:00:00.040) 0:00:23.637 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004560", "end": "2023-12-22 00:06:11.894073", "rc": 0, "start": "2023-12-22 00:06:10.889513" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:06:11 +0000 (0:00:01.138) 0:00:24.776 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:06:11 +0000 (0:00:00.022) 0:00:24.798 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:06:11 +0000 (0:00:00.021) 0:00:24.819 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 22 December 2023 00:06:12 +0000 (0:00:00.039) 0:00:24.859 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:06:12 +0000 (0:00:00.035) 0:00:24.895 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:06:12 +0000 (0:00:00.041) 0:00:24.937 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:06:12 +0000 (0:00:00.033) 0:00:24.970 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:06:12 +0000 (0:00:00.029) 0:00:24.999 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:06:12 +0000 (0:00:00.021) 0:00:25.020 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:06:12 +0000 (0:00:00.688) 0:00:25.709 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:06:13 +0000 (0:00:00.901) 0:00:26.610 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:06:13 +0000 (0:00:00.024) 0:00:26.635 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:06:13 +0000 (0:00:00.021) 0:00:26.656 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:06:13 +0000 (0:00:00.021) 0:00:26.678 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:06:13 +0000 (0:00:00.044) 0:00:26.722 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:06:13 +0000 (0:00:00.022) 0:00:26.744 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:06:13 +0000 (0:00:00.020) 0:00:26.765 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:06:13 +0000 (0:00:00.025) 0:00:26.791 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:06:13 +0000 (0:00:00.021) 0:00:26.812 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:06:13 +0000 (0:00:00.019) 0:00:26.832 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:06:14 +0000 (0:00:00.219) 0:00:27.051 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16781rlauqhoi/tmp7cbr9jd5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:06:14 +0000 (0:00:00.207) 0:00:27.258 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:06:14 +0000 (0:00:00.222) 0:00:27.481 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:06:14 +0000 (0:00:00.021) 0:00:27.502 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:06:14 +0000 (0:00:00.022) 0:00:27.524 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:06:14 +0000 (0:00:00.022) 0:00:27.547 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:06:14 +0000 (0:00:00.028) 0:00:27.575 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 22 December 2023 00:06:14 +0000 (0:00:00.126) 0:00:27.702 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/activate_profile.yml:3 Friday 22 December 2023 00:06:14 +0000 (0:00:00.023) 0:00:27.726 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:06:14 +0000 (0:00:00.034) 0:00:27.760 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:06:14 +0000 (0:00:00.039) 0:00:27.799 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:06:14 +0000 (0:00:00.027) 0:00:27.826 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:06:14 +0000 (0:00:00.021) 0:00:27.848 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:06:15 +0000 (0:00:00.021) 0:00:27.869 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:06:15 +0000 (0:00:00.700) 0:00:28.570 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:06:16 +0000 (0:00:00.903) 0:00:29.474 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:06:16 +0000 (0:00:00.023) 0:00:29.497 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:06:16 +0000 (0:00:00.030) 0:00:29.527 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:06:16 +0000 (0:00:00.026) 0:00:29.554 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:06:16 +0000 (0:00:00.056) 0:00:29.610 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:06:16 +0000 (0:00:00.022) 0:00:29.632 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:06:16 +0000 (0:00:00.021) 0:00:29.654 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:06:16 +0000 (0:00:00.024) 0:00:29.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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:06:16 +0000 (0:00:00.044) 0:00:29.723 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:06:16 +0000 (0:00:00.023) 0:00:29.746 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:06:17 +0000 (0:00:00.222) 0:00:29.968 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16781rlauqhoi/tmp0cyjn7c9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:06:17 +0000 (0:00:00.213) 0:00:30.181 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:06:17 +0000 (0:00:00.457) 0:00:30.639 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:06:17 +0000 (0:00:00.020) 0:00:30.660 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:06:17 +0000 (0:00:00.025) 0:00:30.685 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:06:17 +0000 (0:00:00.023) 0:00:30.708 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:06:17 +0000 (0:00:00.022) 0:00:30.730 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:06:17 +0000 (0:00:00.125) 0:00:30.856 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/remove_profile.yml:3 Friday 22 December 2023 00:06:18 +0000 (0:00:00.042) 0:00:30.898 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:06:18 +0000 (0:00:00.039) 0:00:30.938 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:06:18 +0000 (0:00:00.065) 0:00:31.003 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:06:18 +0000 (0:00:00.025) 0:00:31.029 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:06:18 +0000 (0:00:00.022) 0:00:31.052 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:06:18 +0000 (0:00:00.020) 0:00:31.073 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:06:18 +0000 (0:00:00.677) 0:00:31.750 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:06:19 +0000 (0:00:00.901) 0:00:32.652 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:06:19 +0000 (0:00:00.026) 0:00:32.678 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:06:19 +0000 (0:00:00.035) 0:00:32.714 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:06:19 +0000 (0:00:00.052) 0:00:32.766 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:06:19 +0000 (0:00:00.046) 0:00:32.813 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:06:19 +0000 (0:00:00.023) 0:00:32.837 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:06:20 +0000 (0:00:00.022) 0:00:32.859 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:06:20 +0000 (0:00:00.024) 0:00:32.884 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:06:20 +0000 (0:00:00.022) 0:00:32.906 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:06:20 +0000 (0:00:00.021) 0:00:32.928 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:06:20 +0000 (0:00:00.225) 0:00:33.153 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16781rlauqhoi/tmp9abv8zzd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:06:20 +0000 (0:00:00.216) 0:00:33.369 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:06:20 +0000 (0:00:00.227) 0:00:33.596 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:06:20 +0000 (0:00:00.021) 0:00:33.618 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:06:20 +0000 (0:00:00.023) 0:00:33.641 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:06:20 +0000 (0:00:00.022) 0:00:33.664 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:06:20 +0000 (0:00:00.021) 0:00:33.685 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:06:20 +0000 (0:00:00.128) 0:00:33.814 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_device_present.yml:3 Friday 22 December 2023 00:06:21 +0000 (0:00:00.067) 0:00:33.882 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:06:21 +0000 (0:00:00.034) 0:00:33.917 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703203577.6918147, "block_size": 4096, "blocks": 0, "ctime": 1703203577.6908147, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17657, "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": 1703203577.6908147, "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-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_device_present.yml:5 Friday 22 December 2023 00:06:21 +0000 (0:00:00.132) 0:00:34.049 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 22 December 2023 00:06:21 +0000 (0:00:00.023) 0:00:34.073 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:06:21 +0000 (0:00:00.035) 0:00:34.109 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:06:21 +0000 (0:00:00.021) 0:00:34.130 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:06:21 +0000 (0:00:00.130) 0:00:34.261 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:06:21 +0000 (0:00:00.020) 0:00:34.282 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021260", "end": "2023-12-22 00:06:21.550725", "rc": 1, "start": "2023-12-22 00:06:21.529465" } 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-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:06:21 +0000 (0:00:00.148) 0:00:34.430 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:06:21 +0000 (0:00:00.022) 0:00:34.453 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:06:21 +0000 (0:00:00.022) 0:00:34.476 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:06:21 +0000 (0:00:00.028) 0:00:34.505 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:06:21 +0000 (0:00:00.029) 0:00:34.534 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 22 December 2023 00:06:21 +0000 (0:00:00.024) 0:00:34.559 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:06:21 +0000 (0:00:00.052) 0:00:34.612 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:06:21 +0000 (0:00:00.023) 0:00:34.635 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:06:21 +0000 (0:00:00.023) 0:00:34.659 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:06:21 +0000 (0:00:00.041) 0:00:34.701 ******* 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.044653", "end": "2023-12-22 00:06:21.995387", "rc": 0, "start": "2023-12-22 00:06:21.950734" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tests_states.yml:103 Friday 22 December 2023 00:06:22 +0000 (0:00:00.176) 0:00:34.877 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:06:22 +0000 (0:00:00.035) 0:00:34.913 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:06:22 +0000 (0:00:00.022) 0:00:34.936 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:06:22 +0000 (0:00:00.046) 0:00:34.982 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:06:22 +0000 (0:00:00.036) 0:00:35.019 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:06:22 +0000 (0:00:00.033) 0:00:35.053 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003128", "end": "2023-12-22 00:06:22.304579", "rc": 0, "start": "2023-12-22 00:06:22.301451" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:06:22 +0000 (0:00:00.132) 0:00:35.185 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:06:22 +0000 (0:00:00.021) 0:00:35.207 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:06:22 +0000 (0:00:00.020) 0:00:35.228 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 22 December 2023 00:06:22 +0000 (0:00:00.067) 0:00:35.295 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:06:22 +0000 (0:00:00.036) 0:00:35.332 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:06:22 +0000 (0:00:00.040) 0:00:35.373 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:06:22 +0000 (0:00:00.030) 0:00:35.403 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:06:22 +0000 (0:00:00.023) 0:00:35.427 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:06:22 +0000 (0:00:00.021) 0:00:35.449 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:06:23 +0000 (0:00:00.675) 0:00:36.124 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:06:24 +0000 (0:00:00.921) 0:00:37.046 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:06:24 +0000 (0:00:00.022) 0:00:37.068 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:06:24 +0000 (0:00:00.021) 0:00:37.090 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:06:24 +0000 (0:00:00.021) 0:00:37.111 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:06:24 +0000 (0:00:00.041) 0:00:37.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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:06:24 +0000 (0:00:00.021) 0:00:37.174 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:06:24 +0000 (0:00:00.020) 0:00:37.194 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:06:24 +0000 (0:00:00.025) 0:00:37.220 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:06:24 +0000 (0:00:00.021) 0:00:37.241 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:06:24 +0000 (0:00:00.020) 0:00:37.262 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:06:24 +0000 (0:00:00.223) 0:00:37.485 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16781rlauqhoi/tmp0bmve4d6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:06:24 +0000 (0:00:00.231) 0:00:37.717 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:06:25 +0000 (0:00:00.224) 0:00:37.941 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:06:25 +0000 (0:00:00.020) 0:00:37.962 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:06:25 +0000 (0:00:00.021) 0:00:37.984 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:06:25 +0000 (0:00:00.021) 0:00:38.005 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:06:25 +0000 (0:00:00.046) 0:00:38.052 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 22 December 2023 00:06:25 +0000 (0:00:00.130) 0:00:38.183 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/activate_profile.yml:3 Friday 22 December 2023 00:06:25 +0000 (0:00:00.023) 0:00:38.206 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:06:25 +0000 (0:00:00.035) 0:00:38.242 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:06:25 +0000 (0:00:00.040) 0:00:38.283 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:06:25 +0000 (0:00:00.032) 0:00:38.316 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:06:25 +0000 (0:00:00.021) 0:00:38.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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:06:25 +0000 (0:00:00.021) 0:00:38.359 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:06:26 +0000 (0:00:00.679) 0:00:39.039 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:06:27 +0000 (0:00:00.902) 0:00:39.941 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:06:27 +0000 (0:00:00.022) 0:00:39.964 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:06:27 +0000 (0:00:00.022) 0:00:39.986 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:06:27 +0000 (0:00:00.020) 0:00:40.007 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:06:27 +0000 (0:00:00.045) 0:00:40.053 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:06:27 +0000 (0:00:00.022) 0:00:40.075 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:06:27 +0000 (0:00:00.020) 0:00:40.096 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:06:27 +0000 (0:00:00.025) 0:00:40.121 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:06:27 +0000 (0:00:00.022) 0:00:40.143 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:06:27 +0000 (0:00:00.021) 0:00:40.165 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:06:27 +0000 (0:00:00.223) 0:00:40.389 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16781rlauqhoi/tmp8v58w9tc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:06:27 +0000 (0:00:00.211) 0:00:40.600 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:06:28 +0000 (0:00:00.510) 0:00:41.111 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:06:28 +0000 (0:00:00.022) 0:00:41.133 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:06:28 +0000 (0:00:00.024) 0:00:41.158 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:06:28 +0000 (0:00:00.024) 0:00:41.182 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:06:28 +0000 (0:00:00.022) 0:00:41.205 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/remove_profile.yml:3 Friday 22 December 2023 00:06:28 +0000 (0:00:00.125) 0:00:41.330 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:06:28 +0000 (0:00:00.036) 0:00:41.367 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:06:28 +0000 (0:00:00.042) 0:00:41.409 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:06:28 +0000 (0:00:00.028) 0:00:41.437 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:06:28 +0000 (0:00:00.023) 0:00:41.461 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:06:28 +0000 (0:00:00.021) 0:00:41.482 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:06:29 +0000 (0:00:00.674) 0:00:42.157 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:06:30 +0000 (0:00:00.931) 0:00:43.088 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:06:30 +0000 (0:00:00.023) 0:00:43.111 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:06:30 +0000 (0:00:00.021) 0:00:43.133 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:06:30 +0000 (0:00:00.021) 0:00:43.154 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:06:30 +0000 (0:00:00.043) 0:00:43.198 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:06:30 +0000 (0:00:00.021) 0:00:43.220 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:06:30 +0000 (0:00:00.021) 0:00:43.241 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:06:30 +0000 (0:00:00.024) 0:00:43.266 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:06:30 +0000 (0:00:00.020) 0:00:43.287 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:06:30 +0000 (0:00:00.021) 0:00:43.308 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:06:30 +0000 (0:00:00.226) 0:00:43.535 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16781rlauqhoi/tmpor1ajwzp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:06:30 +0000 (0:00:00.238) 0:00:43.774 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:06:31 +0000 (0:00:00.228) 0:00:44.002 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:06:31 +0000 (0:00:00.021) 0:00:44.023 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:06:31 +0000 (0:00:00.022) 0:00:44.046 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:06:31 +0000 (0:00:00.024) 0:00:44.071 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:06:31 +0000 (0:00:00.021) 0:00:44.092 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:06:31 +0000 (0:00:00.127) 0:00:44.220 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 22 December 2023 00:06:31 +0000 (0:00:00.040) 0:00:44.260 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:06:31 +0000 (0:00:00.040) 0:00:44.301 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:06:31 +0000 (0:00:00.038) 0:00:44.339 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:06:31 +0000 (0:00:00.026) 0:00:44.366 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:06:31 +0000 (0:00:00.020) 0:00:44.387 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:06:31 +0000 (0:00:00.021) 0:00:44.408 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:06:32 +0000 (0:00:00.681) 0:00:45.089 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:06:33 +0000 (0:00:00.944) 0:00:46.033 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:06:33 +0000 (0:00:00.036) 0:00:46.069 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:06:33 +0000 (0:00:00.030) 0:00:46.100 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:06:33 +0000 (0:00:00.030) 0:00:46.131 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:06:33 +0000 (0:00:00.057) 0:00:46.189 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:06:33 +0000 (0:00:00.056) 0:00:46.245 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:06:33 +0000 (0:00:00.028) 0:00:46.274 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:06:33 +0000 (0:00:00.033) 0:00:46.307 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:06:33 +0000 (0:00:00.024) 0:00:46.332 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:06:33 +0000 (0:00:00.047) 0:00:46.380 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:06:33 +0000 (0:00:00.285) 0:00:46.665 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16781rlauqhoi/tmpoty5ol2b" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:06:34 +0000 (0:00:00.236) 0:00:46.901 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:06:34 +0000 (0:00:00.240) 0:00:47.141 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:06:34 +0000 (0:00:00.025) 0:00:47.167 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:06:34 +0000 (0:00:00.026) 0:00:47.194 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:06:34 +0000 (0:00:00.030) 0:00:47.225 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:06:34 +0000 (0:00:00.023) 0:00:47.249 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:06:34 +0000 (0:00:00.132) 0:00:47.381 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 22 December 2023 00:06:34 +0000 (0:00:00.052) 0:00:47.434 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:06:34 +0000 (0:00:00.037) 0:00:47.472 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:06:34 +0000 (0:00:00.021) 0:00:47.493 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:06:34 +0000 (0:00:00.133) 0:00:47.627 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:06:34 +0000 (0:00:00.025) 0:00:47.652 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020958", "end": "2023-12-22 00:06:34.923747", "rc": 1, "start": "2023-12-22 00:06:34.902789" } 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-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:06:34 +0000 (0:00:00.177) 0:00:47.830 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:06:34 +0000 (0:00:00.022) 0:00:47.853 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:06:35 +0000 (0:00:00.023) 0:00:47.876 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:06:35 +0000 (0:00:00.022) 0:00:47.898 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:06:35 +0000 (0:00:00.024) 0:00:47.923 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 22 December 2023 00:06:35 +0000 (0:00:00.024) 0:00:47.947 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:06:35 +0000 (0:00:00.025) 0:00:47.973 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:06:35 +0000 (0:00:00.026) 0:00:48.000 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:06:35 +0000 (0:00:00.024) 0:00:48.024 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:06:35 +0000 (0:00:00.042) 0:00:48.067 ******* 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.045332", "end": "2023-12-22 00:06:35.371415", "rc": 0, "start": "2023-12-22 00:06:35.326083" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tests_states.yml:126 Friday 22 December 2023 00:06:35 +0000 (0:00:00.187) 0:00:48.254 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/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-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:06:35 +0000 (0:00:00.038) 0:00:48.293 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:06:35 +0000 (0:00:00.025) 0:00:48.318 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:06:35 +0000 (0:00:00.051) 0:00:48.369 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:06:35 +0000 (0:00:00.034) 0:00:48.404 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:06:35 +0000 (0:00:00.080) 0:00:48.485 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004474", "end": "2023-12-22 00:06:36.759330", "rc": 0, "start": "2023-12-22 00:06:35.754856" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:06:36 +0000 (0:00:01.190) 0:00:49.676 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:06:36 +0000 (0:00:00.030) 0:00:49.706 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:06:36 +0000 (0:00:00.031) 0:00:49.737 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 22 December 2023 00:06:36 +0000 (0:00:00.090) 0:00:49.828 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:06:37 +0000 (0:00:00.050) 0:00:49.879 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:06:37 +0000 (0:00:00.103) 0:00:49.982 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:06:37 +0000 (0:00:00.043) 0:00:50.025 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:06:37 +0000 (0:00:00.035) 0:00:50.061 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:06:37 +0000 (0:00:00.036) 0:00:50.098 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:06:37 +0000 (0:00:00.746) 0:00:50.844 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:06:38 +0000 (0:00:00.958) 0:00:51.803 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:06:38 +0000 (0:00:00.032) 0:00:51.836 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:06:39 +0000 (0:00:00.033) 0:00:51.869 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:06:39 +0000 (0:00:00.059) 0:00:51.928 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:06:39 +0000 (0:00:00.081) 0:00:52.009 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:06:39 +0000 (0:00:00.027) 0:00:52.037 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:06:39 +0000 (0:00:00.025) 0:00:52.063 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:06:39 +0000 (0:00:00.025) 0:00:52.088 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:06:39 +0000 (0:00:00.035) 0:00:52.123 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:06:39 +0000 (0:00:00.059) 0:00:52.183 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:06:39 +0000 (0:00:00.232) 0:00:52.415 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16781rlauqhoi/tmpr0lu1mx3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:06:39 +0000 (0:00:00.219) 0:00:52.635 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:06:40 +0000 (0:00:00.249) 0:00:52.884 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:06:40 +0000 (0:00:00.032) 0:00:52.917 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:06:40 +0000 (0:00:00.025) 0:00:52.943 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:06:40 +0000 (0:00:00.035) 0:00:52.979 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:06:40 +0000 (0:00:00.023) 0:00:53.002 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 22 December 2023 00:06:40 +0000 (0:00:00.139) 0:00:53.142 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/activate_profile.yml:3 Friday 22 December 2023 00:06:40 +0000 (0:00:00.029) 0:00:53.171 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:06:40 +0000 (0:00:00.045) 0:00:53.217 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:06:40 +0000 (0:00:00.044) 0:00:53.261 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:06:40 +0000 (0:00:00.050) 0:00:53.311 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:06:40 +0000 (0:00:00.056) 0:00:53.367 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:06:40 +0000 (0:00:00.022) 0:00:53.390 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:06:41 +0000 (0:00:00.713) 0:00:54.103 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:06:42 +0000 (0:00:00.914) 0:00:55.018 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:06:42 +0000 (0:00:00.030) 0:00:55.048 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:06:42 +0000 (0:00:00.021) 0:00:55.069 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:06:42 +0000 (0:00:00.021) 0:00:55.090 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:06:42 +0000 (0:00:00.046) 0:00:55.137 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:06:42 +0000 (0:00:00.029) 0:00:55.167 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:06:42 +0000 (0:00:00.026) 0:00:55.194 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:06:42 +0000 (0:00:00.033) 0:00:55.227 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:06:42 +0000 (0:00:00.023) 0:00:55.251 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:06:42 +0000 (0:00:00.047) 0:00:55.298 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:06:42 +0000 (0:00:00.229) 0:00:55.528 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16781rlauqhoi/tmpptm1rvvu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:06:42 +0000 (0:00:00.208) 0:00:55.736 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:06:43 +0000 (0:00:00.459) 0:00:56.195 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:06:43 +0000 (0:00:00.023) 0:00:56.219 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:06:43 +0000 (0:00:00.023) 0:00:56.242 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:06:43 +0000 (0:00:00.026) 0:00:56.268 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:06:43 +0000 (0:00:00.021) 0:00:56.290 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 22 December 2023 00:06:43 +0000 (0:00:00.140) 0:00:56.431 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:06:43 +0000 (0:00:00.042) 0:00:56.473 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:06:43 +0000 (0:00:00.039) 0:00:56.512 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:06:43 +0000 (0:00:00.025) 0:00:56.537 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:06:43 +0000 (0:00:00.045) 0:00:56.582 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:06:43 +0000 (0:00:00.021) 0:00:56.604 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:06:44 +0000 (0:00:00.676) 0:00:57.280 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:06:45 +0000 (0:00:00.929) 0:00:58.210 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:06:45 +0000 (0:00:00.024) 0:00:58.235 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:06:45 +0000 (0:00:00.021) 0:00:58.257 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:06:45 +0000 (0:00:00.021) 0:00:58.278 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:06:45 +0000 (0:00:00.042) 0:00:58.321 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:06:45 +0000 (0:00:00.021) 0:00:58.342 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:06:45 +0000 (0:00:00.020) 0:00:58.363 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:06:45 +0000 (0:00:00.046) 0:00:58.409 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:06:45 +0000 (0:00:00.023) 0:00:58.432 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:06:45 +0000 (0:00:00.020) 0:00:58.453 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:06:45 +0000 (0:00:00.227) 0:00:58.681 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16781rlauqhoi/tmpgztalnkz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:06:46 +0000 (0:00:00.235) 0:00:58.916 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:06:46 +0000 (0:00:00.251) 0:00:59.168 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:06:46 +0000 (0:00:00.022) 0:00:59.190 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:06:46 +0000 (0:00:00.030) 0:00:59.220 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:06:46 +0000 (0:00:00.025) 0:00:59.246 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:06:46 +0000 (0:00:00.028) 0:00:59.275 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:06:46 +0000 (0:00:00.178) 0:00:59.453 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 22 December 2023 00:06:46 +0000 (0:00:00.055) 0:00:59.508 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:06:46 +0000 (0:00:00.036) 0:00:59.544 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:06:46 +0000 (0:00:00.080) 0:00:59.625 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:06:46 +0000 (0:00:00.031) 0:00:59.656 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:06:46 +0000 (0:00:00.024) 0:00:59.680 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:06:46 +0000 (0:00:00.045) 0:00:59.726 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:06:47 +0000 (0:00:00.736) 0:01:00.462 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:06:48 +0000 (0:00:00.909) 0:01:01.372 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:06:48 +0000 (0:00:00.022) 0:01:01.394 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:06:48 +0000 (0:00:00.020) 0:01:01.415 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:06:48 +0000 (0:00:00.043) 0:01:01.459 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:06:48 +0000 (0:00:00.042) 0:01:01.501 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:06:48 +0000 (0:00:00.020) 0:01:01.522 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:06:48 +0000 (0:00:00.019) 0:01:01.542 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:06:48 +0000 (0:00:00.025) 0:01:01.567 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:06:48 +0000 (0:00:00.021) 0:01:01.589 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:06:48 +0000 (0:00:00.020) 0:01:01.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:06:48 +0000 (0:00:00.221) 0:01:01.831 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16781rlauqhoi/tmpp9s8aqsk" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:06:49 +0000 (0:00:00.219) 0:01:02.050 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:06:49 +0000 (0:00:00.231) 0:01:02.282 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:06:49 +0000 (0:00:00.026) 0:01:02.308 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:06:49 +0000 (0:00:00.023) 0:01:02.332 ******* 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-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:06:49 +0000 (0:00:00.023) 0:01:02.355 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:06:49 +0000 (0:00:00.021) 0:01:02.377 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:06:49 +0000 (0:00:00.156) 0:01:02.533 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 22 December 2023 00:06:49 +0000 (0:00:00.087) 0:01:02.621 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:06:49 +0000 (0:00:00.041) 0:01:02.663 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:06:49 +0000 (0:00:00.038) 0:01:02.701 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:06:49 +0000 (0:00:00.142) 0:01:02.844 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:06:50 +0000 (0:00:00.020) 0:01:02.865 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020695", "end": "2023-12-22 00:06:50.135053", "rc": 1, "start": "2023-12-22 00:06:50.114358" } 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-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:06:50 +0000 (0:00:00.150) 0:01:03.015 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:06:50 +0000 (0:00:00.022) 0:01:03.038 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:06:50 +0000 (0:00:00.022) 0:01:03.060 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:06:50 +0000 (0:00:00.023) 0:01:03.084 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:06:50 +0000 (0:00:00.024) 0:01:03.108 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 22 December 2023 00:06:50 +0000 (0:00:00.025) 0:01:03.134 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 22 December 2023 00:06:50 +0000 (0:00:00.043) 0:01:03.177 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.670020", "end": "2023-12-22 00:06:51.119697", "rc": 0, "start": "2023-12-22 00:06:50.449677" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 22 December 2023 00:06:51 +0000 (0:00:00.824) 0:01:04.002 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 22 December 2023 00:06:51 +0000 (0:00:00.023) 0:01:04.025 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:06:51 +0000 (0:00:00.056) 0:01:04.082 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:06:51 +0000 (0:00:00.026) 0:01:04.108 ******* 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-wifi_fixm9hpocm6/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:06:51 +0000 (0:00:00.022) 0:01:04.130 ******* included: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:06:51 +0000 (0:00:00.042) 0:01:04.172 ******* 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.045302", "end": "2023-12-22 00:06:51.473390", "rc": 0, "start": "2023-12-22 00:06:51.428088" } 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 Friday 22 December 2023 00:06:51 +0000 (0:00:00.170) 0:01:04.343 ******* =============================================================================== linux-system-roles.network : Install packages --------------------------- 2.51s /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 1.91s /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.27s /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 1.27s /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.19s /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-wifi_fixm9hpocm6/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.10s /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which packages are installed --------- 1.06s /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable network service --------------------- 0.90s /WORKDIR/git-wifi_fixm9hpocm6/tests/roles/linux-system-roles.network/tasks/main.yml:105 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---