# 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_fix592usdno/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/tests_states_initscripts.yml:4 Friday 22 December 2023 00:17:36 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-wifi_fix592usdno/tests/tests_states_initscripts.yml:8 Friday 22 December 2023 00:17:37 +0000 (0:00:00.539) 0:00:00.551 ******* included: /WORKDIR/git-wifi_fix592usdno/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_fix592usdno/tests/tasks/el_repo_setup.yml:3 Friday 22 December 2023 00:17:37 +0000 (0:00:00.022) 0:00:00.574 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/tasks/el_repo_setup.yml:19 Friday 22 December 2023 00:17:37 +0000 (0:00:00.232) 0:00:00.806 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/tasks/el_repo_setup.yml:24 Friday 22 December 2023 00:17:37 +0000 (0:00:00.195) 0:00:01.002 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/tasks/el_repo_setup.yml:28 Friday 22 December 2023 00:17:37 +0000 (0:00:00.020) 0:00:01.022 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/tasks/el_repo_setup.yml:53 Friday 22 December 2023 00:17:37 +0000 (0:00:00.017) 0:00:01.040 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/tasks/enable_epel.yml:8 Friday 22 December 2023 00:17:37 +0000 (0:00:00.030) 0:00:01.070 ******* 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_fix592usdno/tests/tasks/enable_epel.yml:24 Friday 22 December 2023 00:17:37 +0000 (0:00:00.184) 0:00:01.255 ******* 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_fix592usdno/tests/tasks/enable_epel.yml:30 Friday 22 December 2023 00:17:38 +0000 (0:00:00.451) 0:00:01.706 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.195276", "end": "2023-12-22 00:17:38.711666", "rc": 0, "start": "2023-12-22 00:17:38.516390" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/tasks/enable_epel.yml:35 Friday 22 December 2023 00:17:38 +0000 (0:00:00.318) 0:00:02.025 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/tasks/enable_epel.yml:40 Friday 22 December 2023 00:17:38 +0000 (0:00:00.010) 0:00:02.036 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/tests_states_initscripts.yml:10 Friday 22 December 2023 00:17:38 +0000 (0:00:00.009) 0:00:02.046 ******* 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_fix592usdno/tests/playbooks/tests_states.yml:3 Friday 22 December 2023 00:17:38 +0000 (0:00:00.009) 0:00:02.055 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tests_states.yml:11 Friday 22 December 2023 00:17:39 +0000 (0:00:00.411) 0:00:02.467 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tests_states.yml:22 Friday 22 December 2023 00:17:39 +0000 (0:00:00.011) 0:00:02.478 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:17:39 +0000 (0:00:00.016) 0:00:02.495 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:17:39 +0000 (0:00:00.011) 0:00:02.506 ******* 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_fix592usdno/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:17:39 +0000 (0:00:00.035) 0:00:02.541 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:17:39 +0000 (0:00:00.015) 0:00:02.557 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:17:39 +0000 (0:00:00.013) 0:00:02.571 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003857", "end": "2023-12-22 00:17:39.382683", "rc": 0, "start": "2023-12-22 00:17:39.378826" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:17:39 +0000 (0:00:00.125) 0:00:02.696 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:17:39 +0000 (0:00:00.012) 0:00:02.709 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:17:39 +0000 (0:00:00.011) 0:00:02.720 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/delete_interface.yml:3 Friday 22 December 2023 00:17:39 +0000 (0:00:00.021) 0:00:02.742 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010920", "end": "2023-12-22 00:17:39.559632", "rc": 1, "start": "2023-12-22 00:17:39.548712" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 22 December 2023 00:17:39 +0000 (0:00:00.129) 0:00:02.872 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:17:39 +0000 (0:00:00.015) 0:00:02.887 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 22 December 2023 00:17:39 +0000 (0:00:00.119) 0:00:03.006 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:17:39 +0000 (0:00:00.012) 0:00:03.019 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 22 December 2023 00:17:39 +0000 (0:00:00.018) 0:00:03.038 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:17:39 +0000 (0:00:00.032) 0:00:03.070 ******* included: /WORKDIR/git-wifi_fix592usdno/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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:17:39 +0000 (0:00:00.069) 0:00:03.140 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:17:39 +0000 (0:00:00.012) 0:00:03.152 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:17:39 +0000 (0:00:00.011) 0:00:03.164 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:17:39 +0000 (0:00:00.010) 0:00:03.174 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:17:40 +0000 (0:00:00.823) 0:00:03.998 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:17:41 +0000 (0:00:00.797) 0:00:04.796 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:17:41 +0000 (0:00:00.021) 0:00:04.817 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:17:41 +0000 (0:00:00.019) 0:00:04.837 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:17:41 +0000 (0:00:00.020) 0:00:04.858 ******* changed: [sut] => { "changed": true, "changes": { "installed": [ "bridge-utils" ] }, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7_9.1.x86_64 providing dhclient is already installed", "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 rhel-Server 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:17:43 +0000 (0:00:02.175) 0:00:07.033 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:17:43 +0000 (0:00:00.020) 0:00:07.054 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:17:43 +0000 (0:00:00.020) 0:00:07.074 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:17:43 +0000 (0:00:00.023) 0:00:07.097 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:17:43 +0000 (0:00:00.034) 0:00:07.132 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:17:43 +0000 (0:00:00.020) 0:00:07.153 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:17:44 +0000 (0:00:00.368) 0:00:07.522 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16805_bpqgmu_/tmpzuu7dz_3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:17:44 +0000 (0:00:00.212) 0:00:07.735 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:17:44 +0000 (0:00:00.339) 0:00:08.074 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:17:44 +0000 (0:00:00.021) 0:00:08.096 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:17:44 +0000 (0:00:00.021) 0:00:08.117 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:17:44 +0000 (0:00:00.021) 0:00:08.139 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:17:44 +0000 (0:00:00.020) 0:00:08.159 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 22 December 2023 00:17:45 +0000 (0:00:00.202) 0:00:08.362 ******* 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_fix592usdno/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:17:45 +0000 (0:00:00.021) 0:00:08.383 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 22 December 2023 00:17:45 +0000 (0:00:00.037) 0:00:08.421 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:17:45 +0000 (0:00:00.057) 0:00:08.479 ******* 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_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:17:45 +0000 (0:00:00.021) 0:00:08.500 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703204264.7489226, "block_size": 4096, "blocks": 8, "ctime": 1703204264.7489226, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427533, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703204264.7489226, "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_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:17:45 +0000 (0:00:00.132) 0:00:08.633 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:17:45 +0000 (0:00:00.023) 0:00:08.656 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025617", "end": "2023-12-22 00:17:45.490941", "rc": 1, "start": "2023-12-22 00:17:45.465324" } 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_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:17:45 +0000 (0:00:00.157) 0:00:08.814 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:17:45 +0000 (0:00:00.021) 0:00:08.836 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003369", "end": "2023-12-22 00:17:45.650890", "rc": 0, "start": "2023-12-22 00:17:45.647521" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:17:45 +0000 (0:00:00.139) 0:00:08.975 ******* 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_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:17:45 +0000 (0:00:00.025) 0:00:09.001 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003470", "end": "2023-12-22 00:17:45.814524", "rc": 0, "start": "2023-12-22 00:17:45.811054" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:17:45 +0000 (0:00:00.138) 0:00:09.139 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 22 December 2023 00:17:45 +0000 (0:00:00.025) 0:00:09.165 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 22 December 2023 00:17:45 +0000 (0:00:00.022) 0:00:09.188 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 22 December 2023 00:17:45 +0000 (0:00:00.022) 0:00:09.210 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:17:45 +0000 (0:00:00.021) 0:00:09.232 ******* 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_fix592usdno/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:17:45 +0000 (0:00:00.023) 0:00:09.255 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:17:45 +0000 (0:00:00.021) 0:00:09.276 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:17:46 +0000 (0:00:00.037) 0:00:09.314 ******* 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.045608", "end": "2023-12-22 00:17:46.166828", "rc": 1, "start": "2023-12-22 00:17:46.121220" } 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_fix592usdno/tests/playbooks/tests_states.yml:45 Friday 22 December 2023 00:17:46 +0000 (0:00:00.178) 0:00:09.492 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:17:46 +0000 (0:00:00.038) 0:00:09.530 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:17:46 +0000 (0:00:00.022) 0:00:09.553 ******* 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_fix592usdno/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:17:46 +0000 (0:00:00.047) 0:00:09.601 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:17:46 +0000 (0:00:00.039) 0:00:09.640 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:17:46 +0000 (0:00:00.032) 0:00:09.673 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003880", "end": "2023-12-22 00:17:46.486861", "rc": 0, "start": "2023-12-22 00:17:46.482981" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:17:46 +0000 (0:00:00.137) 0:00:09.810 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:17:46 +0000 (0:00:00.022) 0:00:09.833 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:17:46 +0000 (0:00:00.020) 0:00:09.853 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/delete_interface.yml:3 Friday 22 December 2023 00:17:46 +0000 (0:00:00.039) 0:00:09.892 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007329", "end": "2023-12-22 00:17:46.707536", "rc": 1, "start": "2023-12-22 00:17:46.700207" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 22 December 2023 00:17:46 +0000 (0:00:00.137) 0:00:10.030 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:17:46 +0000 (0:00:00.034) 0:00:10.064 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 22 December 2023 00:17:46 +0000 (0:00:00.131) 0:00:10.196 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:17:46 +0000 (0:00:00.023) 0:00:10.219 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 22 December 2023 00:17:46 +0000 (0:00:00.037) 0:00:10.257 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:17:46 +0000 (0:00:00.039) 0:00:10.296 ******* included: /WORKDIR/git-wifi_fix592usdno/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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:17:47 +0000 (0:00:00.039) 0:00:10.336 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:17:47 +0000 (0:00:00.029) 0:00:10.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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:17:47 +0000 (0:00:00.022) 0:00:10.389 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:17:47 +0000 (0:00:00.021) 0:00:10.410 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:17:47 +0000 (0:00:00.762) 0:00:11.172 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:17:48 +0000 (0:00:00.667) 0:00:11.840 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:17:48 +0000 (0:00:00.022) 0:00:11.863 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:17:48 +0000 (0:00:00.020) 0:00:11.883 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:17:48 +0000 (0:00:00.021) 0:00:11.905 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:17:48 +0000 (0:00:00.043) 0:00:11.949 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:17:48 +0000 (0:00:00.020) 0:00:11.970 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:17:48 +0000 (0:00:00.020) 0:00:11.991 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:17:48 +0000 (0:00:00.023) 0:00:12.014 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:17:48 +0000 (0:00:00.021) 0:00:12.036 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:17:48 +0000 (0:00:00.020) 0:00:12.056 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:17:48 +0000 (0:00:00.225) 0:00:12.282 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16805_bpqgmu_/tmpu2xr6c_n" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:17:49 +0000 (0:00:00.219) 0:00:12.501 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:17:49 +0000 (0:00:00.275) 0:00:12.776 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:17:49 +0000 (0:00:00.020) 0:00:12.797 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:17:49 +0000 (0:00:00.022) 0:00:12.820 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:17:49 +0000 (0:00:00.021) 0:00:12.841 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:17:49 +0000 (0:00:00.020) 0:00:12.862 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 22 December 2023 00:17:49 +0000 (0:00:00.132) 0:00:12.994 ******* 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_fix592usdno/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:17:49 +0000 (0:00:00.022) 0:00:13.017 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 22 December 2023 00:17:49 +0000 (0:00:00.044) 0:00:13.061 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:17:49 +0000 (0:00:00.034) 0:00:13.095 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 22 December 2023 00:17:49 +0000 (0:00:00.137) 0:00:13.233 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 22 December 2023 00:17:49 +0000 (0:00:00.022) 0:00:13.255 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:17:49 +0000 (0:00:00.036) 0:00:13.292 ******* 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_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:17:50 +0000 (0:00:00.022) 0:00:13.314 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703204269.4298153, "block_size": 4096, "blocks": 8, "ctime": 1703204269.4298153, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427533, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703204269.4298153, "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_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:17:50 +0000 (0:00:00.134) 0:00:13.449 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:17:50 +0000 (0:00:00.022) 0:00:13.472 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022540", "end": "2023-12-22 00:17:50.303714", "rc": 1, "start": "2023-12-22 00:17:50.281174" } 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_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:17:50 +0000 (0:00:00.153) 0:00:13.625 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:17:50 +0000 (0:00:00.024) 0:00:13.649 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003355", "end": "2023-12-22 00:17:50.463528", "rc": 0, "start": "2023-12-22 00:17:50.460173" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:17:50 +0000 (0:00:00.139) 0:00:13.789 ******* 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_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:17:50 +0000 (0:00:00.025) 0:00:13.814 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003348", "end": "2023-12-22 00:17:50.627611", "rc": 0, "start": "2023-12-22 00:17:50.624263" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:17:50 +0000 (0:00:00.137) 0:00:13.951 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 22 December 2023 00:17:50 +0000 (0:00:00.025) 0:00:13.977 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 22 December 2023 00:17:50 +0000 (0:00:00.023) 0:00:14.000 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 22 December 2023 00:17:50 +0000 (0:00:00.022) 0:00:14.022 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:17:50 +0000 (0:00:00.021) 0:00:14.044 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:17:50 +0000 (0:00:00.018) 0:00:14.063 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:17:50 +0000 (0:00:00.022) 0:00:14.085 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:17:50 +0000 (0:00:00.038) 0:00:14.123 ******* 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.044507", "end": "2023-12-22 00:17:50.975400", "rc": 1, "start": "2023-12-22 00:17:50.930893" } 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_fix592usdno/tests/playbooks/tests_states.yml:65 Friday 22 December 2023 00:17:50 +0000 (0:00:00.174) 0:00:14.297 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:17:51 +0000 (0:00:00.035) 0:00:14.333 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:17:51 +0000 (0:00:00.044) 0:00:14.377 ******* 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_fix592usdno/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:17:51 +0000 (0:00:00.046) 0:00:14.423 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:17:51 +0000 (0:00:00.034) 0:00:14.458 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:17:51 +0000 (0:00:00.032) 0:00:14.491 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004589", "end": "2023-12-22 00:17:52.303466", "rc": 0, "start": "2023-12-22 00:17:51.298877" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:17:52 +0000 (0:00:01.136) 0:00:15.628 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:17:52 +0000 (0:00:00.021) 0:00:15.649 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:17:52 +0000 (0:00:00.021) 0:00:15.670 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 22 December 2023 00:17:52 +0000 (0:00:00.036) 0:00:15.707 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:17:52 +0000 (0:00:00.035) 0:00:15.742 ******* included: /WORKDIR/git-wifi_fix592usdno/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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:17:52 +0000 (0:00:00.064) 0:00:15.807 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:17:52 +0000 (0:00:00.028) 0:00:15.835 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:17:52 +0000 (0:00:00.022) 0:00:15.857 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:17:52 +0000 (0:00:00.020) 0:00:15.878 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:17:53 +0000 (0:00:00.759) 0:00:16.637 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:17:53 +0000 (0:00:00.635) 0:00:17.273 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:17:53 +0000 (0:00:00.021) 0:00:17.295 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:17:54 +0000 (0:00:00.021) 0:00:17.317 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:17:54 +0000 (0:00:00.020) 0:00:17.338 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:17:54 +0000 (0:00:00.069) 0:00:17.408 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:17:54 +0000 (0:00:00.020) 0:00:17.429 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:17:54 +0000 (0:00:00.021) 0:00:17.450 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:17:54 +0000 (0:00:00.024) 0:00:17.474 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:17:54 +0000 (0:00:00.020) 0:00:17.494 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:17:54 +0000 (0:00:00.021) 0:00:17.516 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:17:54 +0000 (0:00:00.224) 0:00:17.740 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16805_bpqgmu_/tmprm7jq5ek" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:17:54 +0000 (0:00:00.243) 0:00:17.984 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:17:54 +0000 (0:00:00.231) 0:00:18.215 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:17:54 +0000 (0:00:00.021) 0:00:18.236 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:17:54 +0000 (0:00:00.022) 0:00:18.259 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:17:54 +0000 (0:00:00.023) 0:00:18.282 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:17:55 +0000 (0:00:00.021) 0:00:18.303 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 22 December 2023 00:17:55 +0000 (0:00:00.138) 0:00:18.442 ******* 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_fix592usdno/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:17:55 +0000 (0:00:00.024) 0:00:18.467 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/activate_profile.yml:3 Friday 22 December 2023 00:17:55 +0000 (0:00:00.070) 0:00:18.537 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:17:55 +0000 (0:00:00.041) 0:00:18.579 ******* included: /WORKDIR/git-wifi_fix592usdno/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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:17:55 +0000 (0:00:00.043) 0:00:18.623 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:17:55 +0000 (0:00:00.025) 0:00:18.648 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:17:55 +0000 (0:00:00.021) 0:00:18.669 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:17:55 +0000 (0:00:00.021) 0:00:18.691 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:17:56 +0000 (0:00:00.742) 0:00:19.433 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:17:56 +0000 (0:00:00.663) 0:00:20.096 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:17:56 +0000 (0:00:00.024) 0:00:20.121 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:17:56 +0000 (0:00:00.021) 0:00:20.142 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:17:56 +0000 (0:00:00.021) 0:00:20.164 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:17:56 +0000 (0:00:00.042) 0:00:20.206 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:17:56 +0000 (0:00:00.022) 0:00:20.229 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:17:56 +0000 (0:00:00.020) 0:00:20.250 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:17:56 +0000 (0:00:00.027) 0:00:20.277 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:17:56 +0000 (0:00:00.021) 0:00:20.298 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:17:57 +0000 (0:00:00.020) 0:00:20.319 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:17:57 +0000 (0:00:00.230) 0:00:20.549 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16805_bpqgmu_/tmpj5qhg9lc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:17:57 +0000 (0:00:00.208) 0:00:20.758 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:17:57 +0000 (0:00:00.466) 0:00:21.224 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:17:57 +0000 (0:00:00.020) 0:00:21.245 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:17:57 +0000 (0:00:00.021) 0:00:21.267 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:17:58 +0000 (0:00:00.050) 0:00:21.317 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:17:58 +0000 (0:00:00.021) 0:00:21.338 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:17:58 +0000 (0:00:00.126) 0:00:21.465 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_present.yml:3 Friday 22 December 2023 00:17:58 +0000 (0:00:00.042) 0:00:21.508 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:17:58 +0000 (0:00:00.035) 0:00:21.543 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703204277.8276231, "block_size": 4096, "blocks": 0, "ctime": 1703204277.8266232, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17613, "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": 1703204277.8266232, "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_fix592usdno/tests/playbooks/tasks/assert_device_present.yml:5 Friday 22 December 2023 00:17:58 +0000 (0:00:00.136) 0:00:21.679 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 22 December 2023 00:17:58 +0000 (0:00:00.022) 0:00:21.702 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:17:58 +0000 (0:00:00.037) 0:00:21.739 ******* 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_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:17:58 +0000 (0:00:00.023) 0:00:21.762 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703204277.6526272, "block_size": 4096, "blocks": 8, "ctime": 1703204274.8886905, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427533, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703204274.8886905, "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_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:17:58 +0000 (0:00:00.132) 0:00:21.895 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:17:58 +0000 (0:00:00.021) 0:00:21.916 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022025", "end": "2023-12-22 00:17:58.743994", "rc": 1, "start": "2023-12-22 00:17:58.721969" } 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_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:17:58 +0000 (0:00:00.151) 0:00:22.068 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:17:58 +0000 (0:00:00.022) 0:00:22.090 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003406", "end": "2023-12-22 00:17:58.903171", "rc": 0, "start": "2023-12-22 00:17:58.899765" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:17:58 +0000 (0:00:00.160) 0:00:22.251 ******* 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_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:17:58 +0000 (0:00:00.026) 0:00:22.277 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003442", "end": "2023-12-22 00:17:59.089329", "rc": 0, "start": "2023-12-22 00:17:59.085887" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:17:59 +0000 (0:00:00.137) 0:00:22.414 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 22 December 2023 00:17:59 +0000 (0:00:00.028) 0:00:22.442 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 22 December 2023 00:17:59 +0000 (0:00:00.034) 0:00:22.477 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 22 December 2023 00:17:59 +0000 (0:00:00.036) 0:00:22.513 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:17:59 +0000 (0:00:00.022) 0:00:22.536 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:17:59 +0000 (0:00:00.019) 0:00:22.555 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:17:59 +0000 (0:00:00.022) 0:00:22.577 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:17:59 +0000 (0:00:00.038) 0:00:22.616 ******* 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.049964", "end": "2023-12-22 00:17:59.474717", "rc": 0, "start": "2023-12-22 00:17:59.424753" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tests_states.yml:83 Friday 22 December 2023 00:17:59 +0000 (0:00:00.182) 0:00:22.799 ******* included: /WORKDIR/git-wifi_fix592usdno/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_fix592usdno/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:17:59 +0000 (0:00:00.035) 0:00:22.834 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:17:59 +0000 (0:00:00.020) 0:00:22.854 ******* 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_fix592usdno/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:17:59 +0000 (0:00:00.043) 0:00:22.898 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:17:59 +0000 (0:00:00.056) 0:00:22.955 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:17:59 +0000 (0:00:00.032) 0:00:22.987 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003413", "end": "2023-12-22 00:17:59.804328", "rc": 0, "start": "2023-12-22 00:17:59.800915" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:17:59 +0000 (0:00:00.140) 0:00:23.128 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:17:59 +0000 (0:00:00.023) 0:00:23.152 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:17:59 +0000 (0:00:00.022) 0:00:23.175 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 22 December 2023 00:17:59 +0000 (0:00:00.041) 0:00:23.216 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:17:59 +0000 (0:00:00.036) 0:00:23.253 ******* included: /WORKDIR/git-wifi_fix592usdno/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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:17:59 +0000 (0:00:00.039) 0:00:23.293 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:00 +0000 (0:00:00.025) 0:00:23.318 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:00 +0000 (0:00:00.024) 0:00:23.342 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:00 +0000 (0:00:00.024) 0:00:23.367 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:00 +0000 (0:00:00.777) 0:00:24.144 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:01 +0000 (0:00:00.641) 0:00:24.786 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:01 +0000 (0:00:00.024) 0:00:24.811 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:01 +0000 (0:00:00.022) 0:00:24.833 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:01 +0000 (0:00:00.035) 0:00:24.868 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:01 +0000 (0:00:00.047) 0:00:24.916 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:01 +0000 (0:00:00.021) 0:00:24.937 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:01 +0000 (0:00:00.020) 0:00:24.958 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:01 +0000 (0:00:00.024) 0:00:24.983 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:01 +0000 (0:00:00.022) 0:00:25.005 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:01 +0000 (0:00:00.021) 0:00:25.026 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:01 +0000 (0:00:00.233) 0:00:25.260 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16805_bpqgmu_/tmp_tqgnp_k" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:02 +0000 (0:00:00.220) 0:00:25.481 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:02 +0000 (0:00:00.240) 0:00:25.721 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:02 +0000 (0:00:00.021) 0:00:25.742 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:02 +0000 (0:00:00.021) 0:00:25.764 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:02 +0000 (0:00:00.021) 0:00:25.785 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:02 +0000 (0:00:00.020) 0:00:25.806 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 22 December 2023 00:18:02 +0000 (0:00:00.128) 0:00:25.935 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/activate_profile.yml:3 Friday 22 December 2023 00:18:02 +0000 (0:00:00.023) 0:00:25.958 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:02 +0000 (0:00:00.037) 0:00:25.995 ******* included: /WORKDIR/git-wifi_fix592usdno/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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:02 +0000 (0:00:00.040) 0:00:26.036 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:02 +0000 (0:00:00.025) 0:00:26.062 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:02 +0000 (0:00:00.021) 0:00:26.083 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:02 +0000 (0:00:00.020) 0:00:26.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 : Check which packages are installed] ********* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:03 +0000 (0:00:00.750) 0:00:26.854 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:04 +0000 (0:00:00.644) 0:00:27.499 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:04 +0000 (0:00:00.022) 0:00:27.521 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:04 +0000 (0:00:00.023) 0:00:27.545 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:04 +0000 (0:00:00.021) 0:00:27.567 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:04 +0000 (0:00:00.045) 0:00:27.612 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:04 +0000 (0:00:00.021) 0:00:27.633 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:04 +0000 (0:00:00.021) 0:00:27.655 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:04 +0000 (0:00:00.025) 0:00:27.680 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:04 +0000 (0:00:00.022) 0:00:27.703 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:04 +0000 (0:00:00.021) 0:00:27.724 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:04 +0000 (0:00:00.254) 0:00:27.979 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16805_bpqgmu_/tmpkjc_y91n" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:04 +0000 (0:00:00.230) 0:00:28.209 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:05 +0000 (0:00:00.467) 0:00:28.677 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:05 +0000 (0:00:00.020) 0:00:28.698 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:05 +0000 (0:00:00.022) 0:00:28.720 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:05 +0000 (0:00:00.022) 0:00:28.742 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:05 +0000 (0:00:00.020) 0:00:28.763 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:18:05 +0000 (0:00:00.136) 0:00:28.900 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/remove_profile.yml:3 Friday 22 December 2023 00:18:05 +0000 (0:00:00.038) 0:00:28.938 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:05 +0000 (0:00:00.049) 0:00:28.988 ******* included: /WORKDIR/git-wifi_fix592usdno/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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:05 +0000 (0:00:00.038) 0:00:29.026 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:05 +0000 (0:00:00.050) 0:00:29.077 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:05 +0000 (0:00:00.021) 0:00:29.098 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:05 +0000 (0:00:00.021) 0:00:29.120 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:06 +0000 (0:00:00.754) 0:00:29.874 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:07 +0000 (0:00:00.639) 0:00:30.514 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:07 +0000 (0:00:00.022) 0:00:30.537 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:07 +0000 (0:00:00.020) 0:00:30.557 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:07 +0000 (0:00:00.021) 0:00:30.578 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:07 +0000 (0:00:00.043) 0:00:30.621 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:07 +0000 (0:00:00.021) 0:00:30.643 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:07 +0000 (0:00:00.044) 0:00:30.687 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:07 +0000 (0:00:00.024) 0:00:30.712 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:07 +0000 (0:00:00.021) 0:00:30.734 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:07 +0000 (0:00:00.020) 0:00:30.754 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:07 +0000 (0:00:00.226) 0:00:30.980 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16805_bpqgmu_/tmp5hkcwjzc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:07 +0000 (0:00:00.216) 0:00:31.197 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:08 +0000 (0:00:00.230) 0:00:31.427 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:08 +0000 (0:00:00.021) 0:00:31.449 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:08 +0000 (0:00:00.022) 0:00:31.471 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:08 +0000 (0:00:00.022) 0:00:31.494 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:08 +0000 (0:00:00.019) 0:00:31.513 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:18:08 +0000 (0:00:00.130) 0:00:31.643 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_device_present.yml:3 Friday 22 December 2023 00:18:08 +0000 (0:00:00.041) 0:00:31.685 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 22 December 2023 00:18:08 +0000 (0:00:00.035) 0:00:31.720 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703204285.2834525, "block_size": 4096, "blocks": 0, "ctime": 1703204285.2824526, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17613, "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": 1703204285.2824526, "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_fix592usdno/tests/playbooks/tasks/assert_device_present.yml:5 Friday 22 December 2023 00:18:08 +0000 (0:00:00.137) 0:00:31.858 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 22 December 2023 00:18:08 +0000 (0:00:00.024) 0:00:31.882 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:18:08 +0000 (0:00:00.036) 0:00:31.919 ******* 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_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:18:08 +0000 (0:00:00.021) 0:00:31.941 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:18:08 +0000 (0:00:00.131) 0:00:32.072 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:18:08 +0000 (0:00:00.020) 0:00:32.093 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022429", "end": "2023-12-22 00:18:08.923964", "rc": 1, "start": "2023-12-22 00:18:08.901535" } 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_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:18:08 +0000 (0:00:00.154) 0:00:32.248 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:18:08 +0000 (0:00:00.022) 0:00:32.270 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:18:08 +0000 (0:00:00.023) 0:00:32.294 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:18:09 +0000 (0:00:00.022) 0:00:32.316 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:18:09 +0000 (0:00:00.021) 0:00:32.338 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 22 December 2023 00:18:09 +0000 (0:00:00.020) 0:00:32.359 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:18:09 +0000 (0:00:00.022) 0:00:32.381 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:18:09 +0000 (0:00:00.019) 0:00:32.400 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:18:09 +0000 (0:00:00.024) 0:00:32.425 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:18:09 +0000 (0:00:00.069) 0:00:32.494 ******* 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.049252", "end": "2023-12-22 00:18:09.352699", "rc": 0, "start": "2023-12-22 00:18:09.303447" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tests_states.yml:103 Friday 22 December 2023 00:18:09 +0000 (0:00:00.182) 0:00:32.677 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:18:09 +0000 (0:00:00.036) 0:00:32.714 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:18:09 +0000 (0:00:00.021) 0:00:32.736 ******* 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_fix592usdno/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:18:09 +0000 (0:00:00.049) 0:00:32.785 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:18:09 +0000 (0:00:00.034) 0:00:32.819 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:18:09 +0000 (0:00:00.035) 0:00:32.855 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003404", "end": "2023-12-22 00:18:09.670216", "rc": 0, "start": "2023-12-22 00:18:09.666812" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:18:09 +0000 (0:00:00.138) 0:00:32.994 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:18:09 +0000 (0:00:00.022) 0:00:33.016 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:18:09 +0000 (0:00:00.021) 0:00:33.038 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 22 December 2023 00:18:09 +0000 (0:00:00.044) 0:00:33.082 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:09 +0000 (0:00:00.034) 0:00:33.116 ******* included: /WORKDIR/git-wifi_fix592usdno/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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:09 +0000 (0:00:00.065) 0:00:33.182 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:09 +0000 (0:00:00.026) 0:00:33.208 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:09 +0000 (0:00:00.020) 0:00:33.229 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:09 +0000 (0:00:00.020) 0:00:33.250 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:10 +0000 (0:00:00.748) 0:00:33.999 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:11 +0000 (0:00:00.638) 0:00:34.637 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:11 +0000 (0:00:00.022) 0:00:34.660 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:11 +0000 (0:00:00.020) 0:00:34.680 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:11 +0000 (0:00:00.021) 0:00:34.701 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:11 +0000 (0:00:00.069) 0:00:34.771 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:11 +0000 (0:00:00.023) 0:00:34.794 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:11 +0000 (0:00:00.022) 0:00:34.816 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:11 +0000 (0:00:00.023) 0:00:34.840 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:11 +0000 (0:00:00.023) 0:00:34.864 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:11 +0000 (0:00:00.020) 0:00:34.885 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:11 +0000 (0:00:00.223) 0:00:35.109 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16805_bpqgmu_/tmpmakhc_gu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:12 +0000 (0:00:00.211) 0:00:35.321 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:12 +0000 (0:00:00.225) 0:00:35.547 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:12 +0000 (0:00:00.020) 0:00:35.568 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:12 +0000 (0:00:00.022) 0:00:35.590 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:12 +0000 (0:00:00.022) 0:00:35.612 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:12 +0000 (0:00:00.020) 0:00:35.632 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 22 December 2023 00:18:12 +0000 (0:00:00.127) 0:00:35.760 ******* 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_fix592usdno/tests/playbooks/tasks/activate_profile.yml:3 Friday 22 December 2023 00:18:12 +0000 (0:00:00.022) 0:00:35.783 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:12 +0000 (0:00:00.057) 0:00:35.840 ******* included: /WORKDIR/git-wifi_fix592usdno/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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:12 +0000 (0:00:00.039) 0:00:35.879 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:12 +0000 (0:00:00.025) 0:00:35.905 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:12 +0000 (0:00:00.019) 0:00:35.925 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:12 +0000 (0:00:00.020) 0:00:35.946 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:13 +0000 (0:00:00.737) 0:00:36.683 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:14 +0000 (0:00:00.633) 0:00:37.317 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:14 +0000 (0:00:00.022) 0:00:37.340 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:14 +0000 (0:00:00.020) 0:00:37.360 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:14 +0000 (0:00:00.043) 0:00:37.404 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:14 +0000 (0:00:00.042) 0:00:37.447 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:14 +0000 (0:00:00.021) 0:00:37.468 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:14 +0000 (0:00:00.021) 0:00:37.489 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:14 +0000 (0:00:00.023) 0:00:37.513 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:14 +0000 (0:00:00.021) 0:00:37.534 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:14 +0000 (0:00:00.020) 0:00:37.555 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:14 +0000 (0:00:00.223) 0:00:37.778 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16805_bpqgmu_/tmpe3r1k_sh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:14 +0000 (0:00:00.207) 0:00:37.986 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:15 +0000 (0:00:00.465) 0:00:38.451 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:15 +0000 (0:00:00.021) 0:00:38.473 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:15 +0000 (0:00:00.022) 0:00:38.495 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:15 +0000 (0:00:00.021) 0:00:38.517 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:15 +0000 (0:00:00.022) 0:00:38.539 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/remove_profile.yml:3 Friday 22 December 2023 00:18:15 +0000 (0:00:00.154) 0:00:38.694 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:15 +0000 (0:00:00.038) 0:00:38.733 ******* included: /WORKDIR/git-wifi_fix592usdno/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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:15 +0000 (0:00:00.038) 0:00:38.772 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:15 +0000 (0:00:00.025) 0:00:38.797 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:15 +0000 (0:00:00.020) 0:00:38.818 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:15 +0000 (0:00:00.021) 0:00:38.839 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:16 +0000 (0:00:00.742) 0:00:39.582 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:16 +0000 (0:00:00.643) 0:00:40.225 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:16 +0000 (0:00:00.056) 0:00:40.281 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:17 +0000 (0:00:00.024) 0:00:40.305 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:17 +0000 (0:00:00.035) 0:00:40.341 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:17 +0000 (0:00:00.044) 0:00:40.385 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:17 +0000 (0:00:00.024) 0:00:40.410 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:17 +0000 (0:00:00.023) 0:00:40.434 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:17 +0000 (0:00:00.037) 0:00:40.471 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:17 +0000 (0:00:00.023) 0:00:40.495 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:17 +0000 (0:00:00.032) 0:00:40.528 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:17 +0000 (0:00:00.228) 0:00:40.756 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16805_bpqgmu_/tmpu1t1rgmd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:17 +0000 (0:00:00.213) 0:00:40.970 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:17 +0000 (0:00:00.228) 0:00:41.199 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:17 +0000 (0:00:00.020) 0:00:41.219 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:17 +0000 (0:00:00.022) 0:00:41.242 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:17 +0000 (0:00:00.023) 0:00:41.266 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:17 +0000 (0:00:00.020) 0:00:41.287 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:18:18 +0000 (0:00:00.152) 0:00:41.439 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 22 December 2023 00:18:18 +0000 (0:00:00.038) 0:00:41.478 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:18 +0000 (0:00:00.040) 0:00:41.518 ******* included: /WORKDIR/git-wifi_fix592usdno/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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:18 +0000 (0:00:00.040) 0:00:41.558 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:18 +0000 (0:00:00.026) 0:00:41.585 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:18 +0000 (0:00:00.024) 0:00:41.610 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:18 +0000 (0:00:00.021) 0:00:41.631 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:19 +0000 (0:00:00.745) 0:00:42.377 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:19 +0000 (0:00:00.662) 0:00:43.039 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:19 +0000 (0:00:00.026) 0:00:43.065 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:19 +0000 (0:00:00.021) 0:00:43.087 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:19 +0000 (0:00:00.022) 0:00:43.110 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:19 +0000 (0:00:00.043) 0:00:43.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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:19 +0000 (0:00:00.021) 0:00:43.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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:19 +0000 (0:00:00.021) 0:00:43.196 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:19 +0000 (0:00:00.025) 0:00:43.221 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:19 +0000 (0:00:00.021) 0:00:43.242 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:19 +0000 (0:00:00.020) 0:00:43.263 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:20 +0000 (0:00:00.227) 0:00:43.491 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16805_bpqgmu_/tmpy34awype" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:20 +0000 (0:00:00.219) 0:00:43.710 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:20 +0000 (0:00:00.224) 0:00:43.934 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:20 +0000 (0:00:00.022) 0:00:43.957 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:20 +0000 (0:00:00.046) 0:00:44.003 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:20 +0000 (0:00:00.022) 0:00:44.026 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:20 +0000 (0:00:00.021) 0:00:44.047 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:18:20 +0000 (0:00:00.126) 0:00:44.174 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 22 December 2023 00:18:20 +0000 (0:00:00.038) 0:00:44.212 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:18:20 +0000 (0:00:00.035) 0:00:44.247 ******* 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_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:18:20 +0000 (0:00:00.021) 0:00:44.269 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:18:21 +0000 (0:00:00.132) 0:00:44.401 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:18:21 +0000 (0:00:00.020) 0:00:44.422 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022164", "end": "2023-12-22 00:18:21.250648", "rc": 1, "start": "2023-12-22 00:18:21.228484" } 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_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:18:21 +0000 (0:00:00.153) 0:00:44.575 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:18:21 +0000 (0:00:00.024) 0:00:44.599 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:18:21 +0000 (0:00:00.037) 0:00:44.637 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:18:21 +0000 (0:00:00.025) 0:00:44.663 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:18:21 +0000 (0:00:00.026) 0:00:44.689 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 22 December 2023 00:18:21 +0000 (0:00:00.025) 0:00:44.715 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:18:21 +0000 (0:00:00.057) 0:00:44.772 ******* 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_fix592usdno/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:18:21 +0000 (0:00:00.025) 0:00:44.797 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:18:21 +0000 (0:00:00.022) 0:00:44.819 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:18:21 +0000 (0:00:00.038) 0:00:44.858 ******* ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.048031", "end": "2023-12-22 00:18:21.714731", "rc": 0, "start": "2023-12-22 00:18:21.666700" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tests_states.yml:126 Friday 22 December 2023 00:18:21 +0000 (0:00:00.182) 0:00:45.041 ******* included: /WORKDIR/git-wifi_fix592usdno/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_fix592usdno/tests/playbooks/tasks/run_test.yml:5 Friday 22 December 2023 00:18:21 +0000 (0:00:00.037) 0:00:45.078 ******* 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_fix592usdno/tests/playbooks/tasks/run_test.yml:9 Friday 22 December 2023 00:18:21 +0000 (0:00:00.023) 0:00:45.102 ******* 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_fix592usdno/tests/playbooks/tasks/run_test.yml:21 Friday 22 December 2023 00:18:21 +0000 (0:00:00.045) 0:00:45.147 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:3 Friday 22 December 2023 00:18:21 +0000 (0:00:00.034) 0:00:45.181 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 22 December 2023 00:18:21 +0000 (0:00:00.032) 0:00:45.214 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003450", "end": "2023-12-22 00:18:22.024908", "rc": 0, "start": "2023-12-22 00:18:22.021458" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 22 December 2023 00:18:22 +0000 (0:00:00.137) 0:00:45.352 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/show_interfaces.yml:5 Friday 22 December 2023 00:18:22 +0000 (0:00:00.030) 0:00:45.382 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:24 Friday 22 December 2023 00:18:22 +0000 (0:00:00.022) 0:00:45.405 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 22 December 2023 00:18:22 +0000 (0:00:00.082) 0:00:45.488 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:22 +0000 (0:00:00.037) 0:00:45.526 ******* included: /WORKDIR/git-wifi_fix592usdno/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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:22 +0000 (0:00:00.040) 0:00:45.566 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:22 +0000 (0:00:00.038) 0:00:45.604 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:22 +0000 (0:00:00.023) 0:00:45.628 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:22 +0000 (0:00:00.023) 0:00:45.652 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:23 +0000 (0:00:00.750) 0:00:46.402 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:23 +0000 (0:00:00.666) 0:00:47.069 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:23 +0000 (0:00:00.030) 0:00:47.099 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:23 +0000 (0:00:00.025) 0:00:47.125 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:23 +0000 (0:00:00.028) 0:00:47.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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:23 +0000 (0:00:00.045) 0:00:47.199 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:23 +0000 (0:00:00.021) 0:00:47.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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:23 +0000 (0:00:00.021) 0:00:47.242 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:23 +0000 (0:00:00.036) 0:00:47.278 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:24 +0000 (0:00:00.033) 0:00:47.311 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:24 +0000 (0:00:00.026) 0:00:47.337 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:24 +0000 (0:00:00.224) 0:00:47.562 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16805_bpqgmu_/tmpdif4x9of" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:24 +0000 (0:00:00.219) 0:00:47.782 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:24 +0000 (0:00:00.222) 0:00:48.004 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:24 +0000 (0:00:00.022) 0:00:48.027 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:24 +0000 (0:00:00.021) 0:00:48.049 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:24 +0000 (0:00:00.021) 0:00:48.071 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:24 +0000 (0:00:00.020) 0:00:48.091 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 22 December 2023 00:18:24 +0000 (0:00:00.136) 0:00:48.227 ******* 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_fix592usdno/tests/playbooks/tasks/activate_profile.yml:3 Friday 22 December 2023 00:18:24 +0000 (0:00:00.024) 0:00:48.251 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:24 +0000 (0:00:00.035) 0:00:48.287 ******* included: /WORKDIR/git-wifi_fix592usdno/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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:25 +0000 (0:00:00.040) 0:00:48.327 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:25 +0000 (0:00:00.026) 0:00:48.354 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:25 +0000 (0:00:00.021) 0:00:48.375 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:25 +0000 (0:00:00.020) 0:00:48.396 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:25 +0000 (0:00:00.744) 0:00:49.140 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:26 +0000 (0:00:00.661) 0:00:49.801 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:26 +0000 (0:00:00.022) 0:00:49.824 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:26 +0000 (0:00:00.021) 0:00:49.845 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:26 +0000 (0:00:00.021) 0:00:49.867 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:26 +0000 (0:00:00.043) 0:00:49.910 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:26 +0000 (0:00:00.020) 0:00:49.931 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:26 +0000 (0:00:00.021) 0:00:49.952 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:26 +0000 (0:00:00.024) 0:00:49.976 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:26 +0000 (0:00:00.021) 0:00:49.997 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:26 +0000 (0:00:00.021) 0:00:50.019 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:26 +0000 (0:00:00.226) 0:00:50.245 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16805_bpqgmu_/tmp56qq3923" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:27 +0000 (0:00:00.213) 0:00:50.458 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:27 +0000 (0:00:00.459) 0:00:50.917 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:27 +0000 (0:00:00.020) 0:00:50.938 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:27 +0000 (0:00:00.053) 0:00:50.991 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:27 +0000 (0:00:00.023) 0:00:51.015 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:27 +0000 (0:00:00.021) 0:00:51.036 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 22 December 2023 00:18:27 +0000 (0:00:00.130) 0:00:51.167 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:27 +0000 (0:00:00.036) 0:00:51.203 ******* included: /WORKDIR/git-wifi_fix592usdno/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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:27 +0000 (0:00:00.042) 0:00:51.245 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:27 +0000 (0:00:00.031) 0:00:51.276 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:28 +0000 (0:00:00.024) 0:00:51.301 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:28 +0000 (0:00:00.023) 0:00:51.324 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:28 +0000 (0:00:00.758) 0:00:52.082 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:29 +0000 (0:00:00.683) 0:00:52.765 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:29 +0000 (0:00:00.022) 0:00:52.788 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:29 +0000 (0:00:00.021) 0:00:52.809 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:29 +0000 (0:00:00.021) 0:00:52.830 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:29 +0000 (0:00:00.043) 0:00:52.874 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:29 +0000 (0:00:00.021) 0:00:52.895 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:29 +0000 (0:00:00.021) 0:00:52.916 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:29 +0000 (0:00:00.023) 0:00:52.940 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:29 +0000 (0:00:00.020) 0:00:52.961 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:29 +0000 (0:00:00.021) 0:00:52.982 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:29 +0000 (0:00:00.225) 0:00:53.207 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16805_bpqgmu_/tmpbpjntqtn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:30 +0000 (0:00:00.228) 0:00:53.436 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:30 +0000 (0:00:00.234) 0:00:53.670 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:30 +0000 (0:00:00.021) 0:00:53.692 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:30 +0000 (0:00:00.050) 0:00:53.742 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:30 +0000 (0:00:00.022) 0:00:53.765 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:30 +0000 (0:00:00.021) 0:00:53.787 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:30 Friday 22 December 2023 00:18:30 +0000 (0:00:00.127) 0:00:53.914 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 22 December 2023 00:18:30 +0000 (0:00:00.038) 0:00:53.953 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 22 December 2023 00:18:30 +0000 (0:00:00.034) 0:00:53.988 ******* included: /WORKDIR/git-wifi_fix592usdno/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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 22 December 2023 00:18:30 +0000 (0:00:00.039) 0:00:54.027 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 22 December 2023 00:18:30 +0000 (0:00:00.025) 0:00:54.052 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 22 December 2023 00:18:30 +0000 (0:00:00.020) 0:00:54.073 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 22 December 2023 00:18:30 +0000 (0:00:00.020) 0:00:54.094 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 22 December 2023 00:18:31 +0000 (0:00:00.741) 0:00:54.836 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 22 December 2023 00:18:32 +0000 (0:00:00.666) 0:00:55.502 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 22 December 2023 00:18:32 +0000 (0:00:00.023) 0:00:55.526 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 22 December 2023 00:18:32 +0000 (0:00:00.020) 0:00:55.547 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 22 December 2023 00:18:32 +0000 (0:00:00.023) 0:00:55.570 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 22 December 2023 00:18:32 +0000 (0:00:00.044) 0:00:55.614 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 22 December 2023 00:18:32 +0000 (0:00:00.020) 0:00:55.635 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 22 December 2023 00:18:32 +0000 (0:00:00.022) 0:00:55.657 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 22 December 2023 00:18:32 +0000 (0:00:00.026) 0:00:55.683 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 22 December 2023 00:18:32 +0000 (0:00:00.022) 0:00:55.705 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 22 December 2023 00:18:32 +0000 (0:00:00.019) 0:00:55.725 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 22 December 2023 00:18:32 +0000 (0:00:00.229) 0:00:55.954 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-16805_bpqgmu_/tmp05b_sgnq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 22 December 2023 00:18:32 +0000 (0:00:00.231) 0:00:56.185 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 22 December 2023 00:18:33 +0000 (0:00:00.237) 0:00:56.423 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 22 December 2023 00:18:33 +0000 (0:00:00.029) 0:00:56.452 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 22 December 2023 00:18:33 +0000 (0:00:00.024) 0:00:56.476 ******* 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_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 22 December 2023 00:18:33 +0000 (0:00:00.025) 0:00:56.501 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 22 December 2023 00:18:33 +0000 (0:00:00.051) 0:00:56.553 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:36 Friday 22 December 2023 00:18:33 +0000 (0:00:00.136) 0:00:56.689 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 22 December 2023 00:18:33 +0000 (0:00:00.042) 0:00:56.731 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 22 December 2023 00:18:33 +0000 (0:00:00.036) 0:00:56.768 ******* 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_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 22 December 2023 00:18:33 +0000 (0:00:00.027) 0:00:56.795 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 22 December 2023 00:18:33 +0000 (0:00:00.132) 0:00:56.927 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 22 December 2023 00:18:33 +0000 (0:00:00.020) 0:00:56.947 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022097", "end": "2023-12-22 00:18:33.776977", "rc": 1, "start": "2023-12-22 00:18:33.754880" } 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_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 22 December 2023 00:18:33 +0000 (0:00:00.151) 0:00:57.099 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 22 December 2023 00:18:33 +0000 (0:00:00.022) 0:00:57.122 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 22 December 2023 00:18:33 +0000 (0:00:00.022) 0:00:57.144 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 22 December 2023 00:18:33 +0000 (0:00:00.054) 0:00:57.199 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 22 December 2023 00:18:33 +0000 (0:00:00.022) 0:00:57.221 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 22 December 2023 00:18:33 +0000 (0:00:00.023) 0:00:57.245 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 22 December 2023 00:18:33 +0000 (0:00:00.023) 0:00:57.269 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.404311", "end": "2023-12-22 00:18:34.479613", "rc": 0, "start": "2023-12-22 00:18:34.075302" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 22 December 2023 00:18:34 +0000 (0:00:00.535) 0:00:57.804 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 22 December 2023 00:18:34 +0000 (0:00:00.021) 0:00:57.826 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/run_test.yml:42 Friday 22 December 2023 00:18:34 +0000 (0:00:00.021) 0:00:57.847 ******* 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_fix592usdno/tests/playbooks/tasks/run_test.yml:47 Friday 22 December 2023 00:18:34 +0000 (0:00:00.024) 0:00:57.871 ******* 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_fix592usdno/tests/playbooks/tasks/run_test.yml:66 Friday 22 December 2023 00:18:34 +0000 (0:00:00.021) 0:00:57.893 ******* included: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 22 December 2023 00:18:34 +0000 (0:00:00.039) 0:00:57.933 ******* 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.049824", "end": "2023-12-22 00:18:34.794739", "rc": 0, "start": "2023-12-22 00:18:34.744915" } 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:18:34 +0000 (0:00:00.173) 0:00:58.106 ******* =============================================================================== linux-system-roles.network : Install packages --------------------------- 2.41s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 1.86s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.28s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 1.26s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-wifi_fix592usdno/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.11s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 0.93s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.86s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.80s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.75s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-wifi_fix592usdno/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---