# 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-bond_options_rewriteilkf95nx/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/tests_states_initscripts.yml:5 Wednesday 14 February 2024 21:31:03 +0000 (0:00:00.017) 0:00:00.017 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/tests_states_initscripts.yml:8 Wednesday 14 February 2024 21:31:04 +0000 (0:00:00.674) 0:00:00.691 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/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-bond_options_rewriteilkf95nx/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 21:31:04 +0000 (0:00:00.066) 0:00:00.758 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 21:31:04 +0000 (0:00:00.243) 0:00:01.002 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 21:31:05 +0000 (0:00:00.222) 0:00:01.224 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 21:31:05 +0000 (0:00:00.020) 0:00:01.245 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 21:31:05 +0000 (0:00:00.017) 0:00:01.262 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 21:31:05 +0000 (0:00:00.033) 0:00:01.295 **** 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-bond_options_rewriteilkf95nx/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 21:31:05 +0000 (0:00:00.202) 0:00:01.498 **** 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-bond_options_rewriteilkf95nx/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 21:31:05 +0000 (0:00:00.477) 0:00:01.975 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.196472", "end": "2024-02-14 21:31:06.076742", "rc": 0, "start": "2024-02-14 21:31:05.880270" } 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-bond_options_rewriteilkf95nx/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 21:31:06 +0000 (0:00:00.317) 0:00:02.292 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 21:31:06 +0000 (0:00:00.011) 0:00:02.303 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/tests_states_initscripts.yml:10 Wednesday 14 February 2024 21:31:06 +0000 (0:00:00.010) 0:00:02.314 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 21:31:06 +0000 (0:00:00.030) 0:00:02.344 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 21:31:06 +0000 (0:00:00.451) 0:00:02.796 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 21:31:06 +0000 (0:00:00.027) 0:00:02.823 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 21:31:06 +0000 (0:00:00.021) 0:00:02.844 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 21:31:06 +0000 (0:00:00.012) 0:00:02.856 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 21:31:06 +0000 (0:00:00.049) 0:00:02.906 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:31:06 +0000 (0:00:00.014) 0:00:02.921 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:31:06 +0000 (0:00:00.013) 0:00:02.935 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003542", "end": "2024-02-14 21:31:06.844250", "rc": 0, "start": "2024-02-14 21:31:06.840708" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:31:06 +0000 (0:00:00.122) 0:00:03.057 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:31:06 +0000 (0:00:00.012) 0:00:03.070 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 21:31:06 +0000 (0:00:00.012) 0:00:03.082 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 21:31:06 +0000 (0:00:00.021) 0:00:03.104 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012068", "end": "2024-02-14 21:31:07.021244", "rc": 1, "start": "2024-02-14 21:31:07.009176" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:31:07 +0000 (0:00:00.130) 0:00:03.235 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:31:07 +0000 (0:00:00.015) 0:00:03.250 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:31:07 +0000 (0:00:00.132) 0:00:03.383 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 21:31:07 +0000 (0:00:00.012) 0:00:03.396 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 21:31:07 +0000 (0:00:00.028) 0:00:03.424 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:31:07 +0000 (0:00:00.036) 0:00:03.460 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:31:07 +0000 (0:00:00.073) 0:00:03.534 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:31:07 +0000 (0:00:00.022) 0:00:03.556 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:31:07 +0000 (0:00:00.015) 0:00:03.571 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:31:07 +0000 (0:00:00.012) 0:00:03.584 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:31:08 +0000 (0:00:00.846) 0:00:04.430 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:31:09 +0000 (0:00:00.842) 0:00:05.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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:31:09 +0000 (0:00:00.033) 0:00:05.307 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:31:09 +0000 (0:00:00.021) 0:00:05.328 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:31:09 +0000 (0:00:00.029) 0:00:05.357 **** changed: [sut] => { "attempts": 1, "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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:31:11 +0000 (0:00:02.438) 0:00:07.795 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:31:11 +0000 (0:00:00.037) 0:00:07.833 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:31:11 +0000 (0:00:00.036) 0:00:07.870 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:31:11 +0000 (0:00:00.028) 0:00:07.898 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:31:11 +0000 (0:00:00.022) 0:00:07.921 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:31:11 +0000 (0:00:00.023) 0:00:07.944 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:31:12 +0000 (0:00:00.401) 0:00:08.346 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172152zj85ral/tmpm5rywocc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:31:12 +0000 (0:00:00.227) 0:00:08.573 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:31:12 +0000 (0:00:00.365) 0:00:08.939 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:31:12 +0000 (0:00:00.030) 0:00:08.969 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:31:12 +0000 (0:00:00.040) 0:00:09.010 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:31:12 +0000 (0:00:00.038) 0:00:09.049 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:31:12 +0000 (0:00:00.027) 0:00:09.076 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 21:31:13 +0000 (0:00:00.229) 0:00:09.306 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 21:31:13 +0000 (0:00:00.055) 0:00:09.362 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 21:31:13 +0000 (0:00:00.063) 0:00:09.426 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:31:13 +0000 (0:00:00.049) 0:00:09.475 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:31:13 +0000 (0:00:00.022) 0:00:09.498 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707946272.7029717, "block_size": 4096, "blocks": 8, "ctime": 1707946272.7029717, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416152, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707946272.7029717, "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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:31:13 +0000 (0:00:00.150) 0:00:09.649 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:31:13 +0000 (0:00:00.026) 0:00:09.675 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025441", "end": "2024-02-14 21:31:13.621313", "rc": 1, "start": "2024-02-14 21:31:13.595872" } 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:31:13 +0000 (0:00:00.167) 0:00:09.843 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:31:13 +0000 (0:00:00.022) 0:00:09.866 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003417", "end": "2024-02-14 21:31:13.777671", "rc": 0, "start": "2024-02-14 21:31:13.774254" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:31:13 +0000 (0:00:00.139) 0:00:10.006 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:31:13 +0000 (0:00:00.026) 0:00:10.033 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003428", "end": "2024-02-14 21:31:13.944119", "rc": 0, "start": "2024-02-14 21:31:13.940691" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:31:13 +0000 (0:00:00.136) 0:00:10.169 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 21:31:13 +0000 (0:00:00.030) 0:00:10.200 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 21:31:14 +0000 (0:00:00.039) 0:00:10.239 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 21:31:14 +0000 (0:00:00.063) 0:00:10.303 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 21:31:14 +0000 (0:00:00.049) 0:00:10.353 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 21:31:14 +0000 (0:00:00.031) 0:00:10.385 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 21:31:14 +0000 (0:00:00.052) 0:00:10.437 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 21:31:14 +0000 (0:00:00.048) 0:00:10.485 **** 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.045742", "end": "2024-02-14 21:31:14.452051", "rc": 1, "start": "2024-02-14 21:31:14.406309" } 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-bond_options_rewriteilkf95nx/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 21:31:14 +0000 (0:00:00.190) 0:00:10.676 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 21:31:14 +0000 (0:00:00.036) 0:00:10.712 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 21:31:14 +0000 (0:00:00.046) 0:00:10.759 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 21:31:14 +0000 (0:00:00.047) 0:00:10.806 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:31:14 +0000 (0:00:00.046) 0:00:10.853 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:31:14 +0000 (0:00:00.045) 0:00:10.899 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003395", "end": "2024-02-14 21:31:14.809687", "rc": 0, "start": "2024-02-14 21:31:14.806292" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:31:14 +0000 (0:00:00.135) 0:00:11.035 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:31:14 +0000 (0:00:00.022) 0:00:11.057 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 21:31:14 +0000 (0:00:00.022) 0:00:11.080 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 21:31:14 +0000 (0:00:00.048) 0:00:11.128 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007710", "end": "2024-02-14 21:31:15.050903", "rc": 1, "start": "2024-02-14 21:31:15.043193" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:31:15 +0000 (0:00:00.161) 0:00:11.289 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:31:15 +0000 (0:00:00.040) 0:00:11.330 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:31:15 +0000 (0:00:00.157) 0:00:11.487 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 21:31:15 +0000 (0:00:00.032) 0:00:11.520 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 21:31:15 +0000 (0:00:00.051) 0:00:11.572 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:31:15 +0000 (0:00:00.124) 0:00:11.697 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:31:15 +0000 (0:00:00.087) 0:00:11.784 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:31:15 +0000 (0:00:00.032) 0:00:11.816 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:31:15 +0000 (0:00:00.034) 0:00:11.851 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:31:15 +0000 (0:00:00.050) 0:00:11.902 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:31:16 +0000 (0:00:00.784) 0:00:12.687 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:31:17 +0000 (0:00:00.631) 0:00:13.318 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:31:17 +0000 (0:00:00.032) 0:00:13.350 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:31:17 +0000 (0:00:00.022) 0:00:13.372 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:31:17 +0000 (0:00:00.047) 0:00:13.420 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:31:17 +0000 (0:00:00.175) 0:00:13.595 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:31:17 +0000 (0:00:00.044) 0:00:13.640 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:31:17 +0000 (0:00:00.037) 0:00:13.677 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:31:17 +0000 (0:00:00.064) 0:00:13.742 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:31:17 +0000 (0:00:00.048) 0:00:13.790 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:31:17 +0000 (0:00:00.123) 0:00:13.914 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:31:17 +0000 (0:00:00.233) 0:00:14.147 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172152zj85ral/tmp6_owj9a2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:31:18 +0000 (0:00:00.242) 0:00:14.389 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:31:18 +0000 (0:00:00.237) 0:00:14.626 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:31:18 +0000 (0:00:00.050) 0:00:14.676 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:31:18 +0000 (0:00:00.037) 0:00:14.714 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:31:18 +0000 (0:00:00.034) 0:00:14.748 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:31:18 +0000 (0:00:00.025) 0:00:14.774 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 21:31:18 +0000 (0:00:00.141) 0:00:14.915 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 21:31:18 +0000 (0:00:00.058) 0:00:14.973 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 21:31:18 +0000 (0:00:00.158) 0:00:15.132 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:31:18 +0000 (0:00:00.056) 0:00:15.188 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 21:31:19 +0000 (0:00:00.173) 0:00:15.361 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 21:31:19 +0000 (0:00:00.044) 0:00:15.405 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:31:19 +0000 (0:00:00.059) 0:00:15.465 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:31:19 +0000 (0:00:00.028) 0:00:15.494 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707946278.3948278, "block_size": 4096, "blocks": 8, "ctime": 1707946278.3948278, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416152, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707946278.3948278, "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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:31:19 +0000 (0:00:00.181) 0:00:15.675 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:31:19 +0000 (0:00:00.037) 0:00:15.712 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022475", "end": "2024-02-14 21:31:19.651946", "rc": 1, "start": "2024-02-14 21:31:19.629471" } 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:31:19 +0000 (0:00:00.170) 0:00:15.883 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:31:19 +0000 (0:00:00.023) 0:00:15.906 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003457", "end": "2024-02-14 21:31:19.818144", "rc": 0, "start": "2024-02-14 21:31:19.814687" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:31:19 +0000 (0:00:00.137) 0:00:16.043 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:31:19 +0000 (0:00:00.042) 0:00:16.085 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003399", "end": "2024-02-14 21:31:19.999674", "rc": 0, "start": "2024-02-14 21:31:19.996275" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:31:20 +0000 (0:00:00.139) 0:00:16.225 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 21:31:20 +0000 (0:00:00.039) 0:00:16.264 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 21:31:20 +0000 (0:00:00.025) 0:00:16.289 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 21:31:20 +0000 (0:00:00.082) 0:00:16.372 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 21:31:20 +0000 (0:00:00.022) 0:00:16.395 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 21:31:20 +0000 (0:00:00.020) 0:00:16.415 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 21:31:20 +0000 (0:00:00.036) 0:00:16.451 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 21:31:20 +0000 (0:00:00.115) 0:00:16.566 **** 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.043930", "end": "2024-02-14 21:31:20.569519", "rc": 1, "start": "2024-02-14 21:31:20.525589" } 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-bond_options_rewriteilkf95nx/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 21:31:20 +0000 (0:00:00.259) 0:00:16.826 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 21:31:20 +0000 (0:00:00.060) 0:00:16.886 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 21:31:20 +0000 (0:00:00.027) 0:00:16.913 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 21:31:20 +0000 (0:00:00.050) 0:00:16.963 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:31:20 +0000 (0:00:00.039) 0:00:17.003 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:31:20 +0000 (0:00:00.061) 0:00:17.065 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003438", "end": "2024-02-14 21:31:21.019227", "rc": 0, "start": "2024-02-14 21:31:21.015789" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:31:21 +0000 (0:00:00.177) 0:00:17.243 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:31:21 +0000 (0:00:00.022) 0:00:17.265 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 21:31:21 +0000 (0:00:00.021) 0:00:17.287 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 21:31:21 +0000 (0:00:00.074) 0:00:17.361 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:31:21 +0000 (0:00:00.039) 0:00:17.400 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:31:21 +0000 (0:00:00.039) 0:00:17.440 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:31:21 +0000 (0:00:00.026) 0:00:17.466 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:31:21 +0000 (0:00:00.021) 0:00:17.488 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:31:21 +0000 (0:00:00.022) 0:00:17.510 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:31:22 +0000 (0:00:00.795) 0:00:18.305 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:31:22 +0000 (0:00:00.638) 0:00:18.944 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:31:22 +0000 (0:00:00.021) 0:00:18.966 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:31:22 +0000 (0:00:00.045) 0:00:19.011 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:31:22 +0000 (0:00:00.035) 0:00:19.046 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:31:22 +0000 (0:00:00.047) 0:00:19.094 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:31:22 +0000 (0:00:00.040) 0:00:19.135 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:31:22 +0000 (0:00:00.043) 0:00:19.178 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:31:23 +0000 (0:00:00.029) 0:00:19.208 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:31:23 +0000 (0:00:00.022) 0:00:19.231 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:31:23 +0000 (0:00:00.027) 0:00:19.258 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:31:23 +0000 (0:00:00.243) 0:00:19.501 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172152zj85ral/tmp0k2xs7sj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:31:23 +0000 (0:00:00.317) 0:00:19.819 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:31:23 +0000 (0:00:00.264) 0:00:20.083 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:31:23 +0000 (0:00:00.053) 0:00:20.136 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:31:23 +0000 (0:00:00.054) 0:00:20.191 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:31:24 +0000 (0:00:00.051) 0:00:20.243 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:31:24 +0000 (0:00:00.041) 0:00:20.284 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 21:31:24 +0000 (0:00:00.133) 0:00:20.418 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 21:31:24 +0000 (0:00:00.066) 0:00:20.484 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 21:31:24 +0000 (0:00:00.044) 0:00:20.529 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:31:24 +0000 (0:00:00.047) 0:00:20.576 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:31:24 +0000 (0:00:00.043) 0:00:20.620 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:31:24 +0000 (0:00:00.026) 0:00:20.646 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:31:24 +0000 (0:00:00.022) 0:00:20.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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:31:24 +0000 (0:00:00.022) 0:00:20.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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:31:25 +0000 (0:00:00.763) 0:00:21.455 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:31:25 +0000 (0:00:00.655) 0:00:22.111 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:31:25 +0000 (0:00:00.026) 0:00:22.137 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:31:25 +0000 (0:00:00.021) 0:00:22.159 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:31:25 +0000 (0:00:00.033) 0:00:22.193 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:31:26 +0000 (0:00:00.058) 0:00:22.252 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:31:26 +0000 (0:00:00.023) 0:00:22.275 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:31:26 +0000 (0:00:00.026) 0:00:22.301 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:31:26 +0000 (0:00:00.024) 0:00:22.326 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:31:26 +0000 (0:00:00.021) 0:00:22.348 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:31:26 +0000 (0:00:00.019) 0:00:22.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:31:26 +0000 (0:00:00.230) 0:00:22.598 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172152zj85ral/tmpxw0oen94" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:31:26 +0000 (0:00:00.243) 0:00:22.842 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:31:27 +0000 (0:00:00.515) 0:00:23.357 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:31:27 +0000 (0:00:00.026) 0:00:23.383 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:31:27 +0000 (0:00:00.045) 0:00:23.429 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:31:27 +0000 (0:00:00.023) 0:00:23.453 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:31:27 +0000 (0:00:00.058) 0:00:23.511 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 21:31:27 +0000 (0:00:00.130) 0:00:23.642 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 21:31:27 +0000 (0:00:00.041) 0:00:23.684 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:31:27 +0000 (0:00:00.037) 0:00:23.721 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707946287.0336094, "block_size": 4096, "blocks": 0, "ctime": 1707946287.0306096, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17631, "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": 1707946287.0306096, "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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 21:31:27 +0000 (0:00:00.148) 0:00:23.870 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 21:31:27 +0000 (0:00:00.037) 0:00:23.908 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:31:27 +0000 (0:00:00.056) 0:00:23.964 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:31:27 +0000 (0:00:00.039) 0:00:24.004 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707946286.8496141, "block_size": 4096, "blocks": 8, "ctime": 1707946283.84769, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4535613, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707946283.84769, "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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:31:28 +0000 (0:00:00.218) 0:00:24.222 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:31:28 +0000 (0:00:00.024) 0:00:24.247 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023459", "end": "2024-02-14 21:31:28.175713", "rc": 1, "start": "2024-02-14 21:31:28.152254" } 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:31:28 +0000 (0:00:00.152) 0:00:24.400 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:31:28 +0000 (0:00:00.021) 0:00:24.422 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003533", "end": "2024-02-14 21:31:28.333889", "rc": 0, "start": "2024-02-14 21:31:28.330356" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:31:28 +0000 (0:00:00.143) 0:00:24.565 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:31:28 +0000 (0:00:00.069) 0:00:24.634 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003366", "end": "2024-02-14 21:31:28.548600", "rc": 0, "start": "2024-02-14 21:31:28.545234" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:31:28 +0000 (0:00:00.154) 0:00:24.788 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 21:31:28 +0000 (0:00:00.082) 0:00:24.871 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 21:31:28 +0000 (0:00:00.053) 0:00:24.925 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 21:31:28 +0000 (0:00:00.027) 0:00:24.952 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 21:31:28 +0000 (0:00:00.025) 0:00:24.978 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 21:31:28 +0000 (0:00:00.070) 0:00:25.048 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 21:31:28 +0000 (0:00:00.044) 0:00:25.093 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 21:31:28 +0000 (0:00:00.066) 0:00:25.159 **** 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.052480", "end": "2024-02-14 21:31:29.119119", "rc": 0, "start": "2024-02-14 21:31:29.066639" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 21:31:29 +0000 (0:00:00.186) 0:00:25.346 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 21:31:29 +0000 (0:00:00.040) 0:00:25.387 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 21:31:29 +0000 (0:00:00.025) 0:00:25.412 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 21:31:29 +0000 (0:00:00.044) 0:00:25.457 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:31:29 +0000 (0:00:00.038) 0:00:25.495 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:31:29 +0000 (0:00:00.096) 0:00:25.591 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003538", "end": "2024-02-14 21:31:29.518947", "rc": 0, "start": "2024-02-14 21:31:29.515409" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:31:29 +0000 (0:00:00.170) 0:00:25.762 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:31:29 +0000 (0:00:00.024) 0:00:25.786 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 21:31:29 +0000 (0:00:00.037) 0:00:25.824 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 21:31:29 +0000 (0:00:00.095) 0:00:25.919 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:31:29 +0000 (0:00:00.054) 0:00:25.974 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:31:29 +0000 (0:00:00.058) 0:00:26.033 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:31:29 +0000 (0:00:00.026) 0:00:26.059 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:31:29 +0000 (0:00:00.022) 0:00:26.082 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:31:29 +0000 (0:00:00.034) 0:00:26.116 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:31:30 +0000 (0:00:00.849) 0:00:26.966 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:31:31 +0000 (0:00:00.730) 0:00:27.696 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:31:31 +0000 (0:00:00.033) 0:00:27.730 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:31:31 +0000 (0:00:00.042) 0:00:27.773 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:31:31 +0000 (0:00:00.051) 0:00:27.824 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:31:31 +0000 (0:00:00.065) 0:00:27.890 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:31:31 +0000 (0:00:00.036) 0:00:27.926 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:31:31 +0000 (0:00:00.029) 0:00:27.955 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:31:31 +0000 (0:00:00.027) 0:00:27.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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:31:31 +0000 (0:00:00.032) 0:00:28.016 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:31:31 +0000 (0:00:00.050) 0:00:28.066 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:31:32 +0000 (0:00:00.290) 0:00:28.357 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172152zj85ral/tmpfs564t66" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:31:32 +0000 (0:00:00.339) 0:00:28.696 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:31:32 +0000 (0:00:00.274) 0:00:28.971 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:31:32 +0000 (0:00:00.022) 0:00:28.994 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:31:32 +0000 (0:00:00.072) 0:00:29.066 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:31:32 +0000 (0:00:00.040) 0:00:29.107 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:31:32 +0000 (0:00:00.053) 0:00:29.160 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 21:31:33 +0000 (0:00:00.140) 0:00:29.300 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 21:31:33 +0000 (0:00:00.028) 0:00:29.329 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:31:33 +0000 (0:00:00.036) 0:00:29.365 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:31:33 +0000 (0:00:00.060) 0:00:29.426 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:31:33 +0000 (0:00:00.072) 0:00:29.498 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:31:33 +0000 (0:00:00.038) 0:00:29.537 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:31:33 +0000 (0:00:00.058) 0:00:29.595 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:31:34 +0000 (0:00:00.780) 0:00:30.376 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:31:34 +0000 (0:00:00.702) 0:00:31.079 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:31:34 +0000 (0:00:00.024) 0:00:31.103 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:31:34 +0000 (0:00:00.023) 0:00:31.126 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:31:34 +0000 (0:00:00.021) 0:00:31.148 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:31:34 +0000 (0:00:00.042) 0:00:31.190 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:31:35 +0000 (0:00:00.022) 0:00:31.212 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:31:35 +0000 (0:00:00.021) 0:00:31.234 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:31:35 +0000 (0:00:00.025) 0:00:31.259 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:31:35 +0000 (0:00:00.023) 0:00:31.282 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:31:35 +0000 (0:00:00.021) 0:00:31.304 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:31:35 +0000 (0:00:00.223) 0:00:31.527 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172152zj85ral/tmp05p0u__0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:31:35 +0000 (0:00:00.203) 0:00:31.731 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:31:36 +0000 (0:00:00.483) 0:00:32.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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:31:36 +0000 (0:00:00.020) 0:00:32.236 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:31:36 +0000 (0:00:00.056) 0:00:32.293 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:31:36 +0000 (0:00:00.026) 0:00:32.320 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:31:36 +0000 (0:00:00.027) 0:00:32.347 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 21:31:36 +0000 (0:00:00.191) 0:00:32.539 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 21:31:36 +0000 (0:00:00.048) 0:00:32.587 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:31:36 +0000 (0:00:00.040) 0:00:32.628 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:31:36 +0000 (0:00:00.061) 0:00:32.690 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:31:36 +0000 (0:00:00.034) 0:00:32.725 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:31:36 +0000 (0:00:00.037) 0:00:32.762 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:31:36 +0000 (0:00:00.052) 0:00:32.814 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:31:37 +0000 (0:00:00.776) 0:00:33.591 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:31:38 +0000 (0:00:00.676) 0:00:34.267 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:31:38 +0000 (0:00:00.028) 0:00:34.296 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:31:38 +0000 (0:00:00.025) 0:00:34.322 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:31:38 +0000 (0:00:00.031) 0:00:34.353 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:31:38 +0000 (0:00:00.047) 0:00:34.401 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:31:38 +0000 (0:00:00.021) 0:00:34.422 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:31:38 +0000 (0:00:00.021) 0:00:34.444 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:31:38 +0000 (0:00:00.024) 0:00:34.468 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:31:38 +0000 (0:00:00.020) 0:00:34.489 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:31:38 +0000 (0:00:00.021) 0:00:34.511 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:31:38 +0000 (0:00:00.232) 0:00:34.744 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172152zj85ral/tmpok6awaj1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:31:38 +0000 (0:00:00.237) 0:00:34.982 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:31:39 +0000 (0:00:00.251) 0:00:35.233 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:31:39 +0000 (0:00:00.021) 0:00:35.255 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:31:39 +0000 (0:00:00.058) 0:00:35.314 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:31:39 +0000 (0:00:00.023) 0:00:35.337 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:31:39 +0000 (0:00:00.030) 0:00:35.368 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 21:31:39 +0000 (0:00:00.154) 0:00:35.522 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 21:31:39 +0000 (0:00:00.046) 0:00:35.569 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 21:31:39 +0000 (0:00:00.039) 0:00:35.608 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707946295.919385, "block_size": 4096, "blocks": 0, "ctime": 1707946295.916385, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17631, "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": 1707946295.916385, "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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 21:31:39 +0000 (0:00:00.148) 0:00:35.756 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 21:31:39 +0000 (0:00:00.031) 0:00:35.788 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:31:39 +0000 (0:00:00.044) 0:00:35.833 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:31:39 +0000 (0:00:00.066) 0:00:35.899 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:31:39 +0000 (0:00:00.159) 0:00:36.059 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:31:39 +0000 (0:00:00.050) 0:00:36.110 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023301", "end": "2024-02-14 21:31:40.100869", "rc": 1, "start": "2024-02-14 21:31:40.077568" } 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:31:40 +0000 (0:00:00.218) 0:00:36.328 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:31:40 +0000 (0:00:00.025) 0:00:36.354 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:31:40 +0000 (0:00:00.030) 0:00:36.384 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:31:40 +0000 (0:00:00.064) 0:00:36.449 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:31:40 +0000 (0:00:00.023) 0:00:36.473 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 21:31:40 +0000 (0:00:00.042) 0:00:36.516 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 21:31:40 +0000 (0:00:00.045) 0:00:36.561 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 21:31:40 +0000 (0:00:00.039) 0:00:36.600 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 21:31:40 +0000 (0:00:00.035) 0:00:36.636 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 21:31:40 +0000 (0:00:00.041) 0:00:36.678 **** 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.050236", "end": "2024-02-14 21:31:40.640132", "rc": 0, "start": "2024-02-14 21:31:40.589896" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tests_states.yml:103 Wednesday 14 February 2024 21:31:40 +0000 (0:00:00.196) 0:00:36.875 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 21:31:40 +0000 (0:00:00.043) 0:00:36.918 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 21:31:40 +0000 (0:00:00.024) 0:00:36.942 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 21:31:40 +0000 (0:00:00.055) 0:00:36.998 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:31:40 +0000 (0:00:00.036) 0:00:37.034 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:31:40 +0000 (0:00:00.050) 0:00:37.084 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003551", "end": "2024-02-14 21:31:41.012644", "rc": 0, "start": "2024-02-14 21:31:41.009093" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:31:41 +0000 (0:00:00.187) 0:00:37.272 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:31:41 +0000 (0:00:00.024) 0:00:37.297 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 21:31:41 +0000 (0:00:00.024) 0:00:37.321 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 21:31:41 +0000 (0:00:00.093) 0:00:37.414 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:31:41 +0000 (0:00:00.059) 0:00:37.474 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:31:41 +0000 (0:00:00.050) 0:00:37.524 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:31:41 +0000 (0:00:00.037) 0:00:37.562 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:31:41 +0000 (0:00:00.037) 0:00:37.600 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:31:41 +0000 (0:00:00.022) 0:00:37.622 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:31:42 +0000 (0:00:00.808) 0:00:38.431 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:31:43 +0000 (0:00:00.774) 0:00:39.206 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:31:43 +0000 (0:00:00.023) 0:00:39.229 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:31:43 +0000 (0:00:00.031) 0:00:39.261 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:31:43 +0000 (0:00:00.033) 0:00:39.294 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:31:43 +0000 (0:00:00.048) 0:00:39.342 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:31:43 +0000 (0:00:00.027) 0:00:39.370 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:31:43 +0000 (0:00:00.048) 0:00:39.419 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:31:43 +0000 (0:00:00.035) 0:00:39.454 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:31:43 +0000 (0:00:00.022) 0:00:39.477 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:31:43 +0000 (0:00:00.033) 0:00:39.511 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:31:43 +0000 (0:00:00.263) 0:00:39.774 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172152zj85ral/tmpmjawa1xw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:31:43 +0000 (0:00:00.243) 0:00:40.017 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:31:44 +0000 (0:00:00.241) 0:00:40.259 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:31:44 +0000 (0:00:00.022) 0:00:40.282 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:31:44 +0000 (0:00:00.022) 0:00:40.305 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:31:44 +0000 (0:00:00.021) 0:00:40.326 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:31:44 +0000 (0:00:00.047) 0:00:40.374 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 21:31:44 +0000 (0:00:00.143) 0:00:40.518 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 21:31:44 +0000 (0:00:00.060) 0:00:40.579 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:31:44 +0000 (0:00:00.094) 0:00:40.674 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:31:44 +0000 (0:00:00.075) 0:00:40.749 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:31:44 +0000 (0:00:00.039) 0:00:40.788 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:31:44 +0000 (0:00:00.049) 0:00:40.838 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:31:44 +0000 (0:00:00.033) 0:00:40.872 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:31:45 +0000 (0:00:00.781) 0:00:41.653 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:31:46 +0000 (0:00:00.697) 0:00:42.350 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:31:46 +0000 (0:00:00.024) 0:00:42.375 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:31:46 +0000 (0:00:00.026) 0:00:42.401 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:31:46 +0000 (0:00:00.021) 0:00:42.423 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:31:46 +0000 (0:00:00.051) 0:00:42.474 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:31:46 +0000 (0:00:00.031) 0:00:42.505 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:31:46 +0000 (0:00:00.037) 0:00:42.542 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:31:46 +0000 (0:00:00.028) 0:00:42.570 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:31:46 +0000 (0:00:00.030) 0:00:42.601 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:31:46 +0000 (0:00:00.021) 0:00:42.623 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:31:46 +0000 (0:00:00.235) 0:00:42.859 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172152zj85ral/tmp90a1owaz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:31:46 +0000 (0:00:00.277) 0:00:43.136 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:31:47 +0000 (0:00:00.478) 0:00:43.615 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:31:47 +0000 (0:00:00.022) 0:00:43.637 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:31:47 +0000 (0:00:00.023) 0:00:43.660 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:31:47 +0000 (0:00:00.037) 0:00:43.698 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:31:47 +0000 (0:00:00.039) 0:00:43.738 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 21:31:47 +0000 (0:00:00.150) 0:00:43.888 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:31:47 +0000 (0:00:00.055) 0:00:43.943 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:31:47 +0000 (0:00:00.046) 0:00:43.990 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:31:47 +0000 (0:00:00.027) 0:00:44.017 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:31:47 +0000 (0:00:00.027) 0:00:44.045 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:31:47 +0000 (0:00:00.026) 0:00:44.071 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:31:48 +0000 (0:00:00.798) 0:00:44.869 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:31:49 +0000 (0:00:00.635) 0:00:45.505 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:31:49 +0000 (0:00:00.022) 0:00:45.528 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:31:49 +0000 (0:00:00.051) 0:00:45.579 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:31:49 +0000 (0:00:00.021) 0:00:45.601 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:31:49 +0000 (0:00:00.045) 0:00:45.646 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:31:49 +0000 (0:00:00.023) 0:00:45.670 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:31:49 +0000 (0:00:00.022) 0:00:45.692 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:31:49 +0000 (0:00:00.026) 0:00:45.719 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:31:49 +0000 (0:00:00.026) 0:00:45.745 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:31:49 +0000 (0:00:00.023) 0:00:45.768 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:31:49 +0000 (0:00:00.234) 0:00:46.003 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172152zj85ral/tmpawkene84" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:31:50 +0000 (0:00:00.303) 0:00:46.307 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:31:50 +0000 (0:00:00.255) 0:00:46.562 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:31:50 +0000 (0:00:00.030) 0:00:46.593 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:31:50 +0000 (0:00:00.027) 0:00:46.620 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:31:50 +0000 (0:00:00.026) 0:00:46.647 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:31:50 +0000 (0:00:00.021) 0:00:46.668 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 21:31:50 +0000 (0:00:00.134) 0:00:46.803 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 21:31:50 +0000 (0:00:00.103) 0:00:46.906 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:31:50 +0000 (0:00:00.051) 0:00:46.958 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:31:50 +0000 (0:00:00.107) 0:00:47.066 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:31:50 +0000 (0:00:00.030) 0:00:47.096 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:31:50 +0000 (0:00:00.023) 0:00:47.119 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:31:50 +0000 (0:00:00.051) 0:00:47.170 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:31:51 +0000 (0:00:00.788) 0:00:47.959 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:31:52 +0000 (0:00:00.641) 0:00:48.600 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:31:52 +0000 (0:00:00.069) 0:00:48.670 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:31:52 +0000 (0:00:00.040) 0:00:48.711 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:31:52 +0000 (0:00:00.029) 0:00:48.740 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:31:52 +0000 (0:00:00.046) 0:00:48.786 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:31:52 +0000 (0:00:00.025) 0:00:48.812 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:31:52 +0000 (0:00:00.024) 0:00:48.837 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:31:52 +0000 (0:00:00.028) 0:00:48.865 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:31:52 +0000 (0:00:00.045) 0:00:48.910 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:31:52 +0000 (0:00:00.096) 0:00:49.007 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:31:53 +0000 (0:00:00.350) 0:00:49.358 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172152zj85ral/tmpfl88g2a0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:31:53 +0000 (0:00:00.252) 0:00:49.610 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:31:53 +0000 (0:00:00.301) 0:00:49.912 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:31:53 +0000 (0:00:00.024) 0:00:49.936 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:31:53 +0000 (0:00:00.028) 0:00:49.965 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:31:53 +0000 (0:00:00.026) 0:00:49.992 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:31:53 +0000 (0:00:00.021) 0:00:50.014 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 21:31:53 +0000 (0:00:00.152) 0:00:50.167 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 21:31:54 +0000 (0:00:00.084) 0:00:50.251 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:31:54 +0000 (0:00:00.039) 0:00:50.290 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:31:54 +0000 (0:00:00.026) 0:00:50.316 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:31:54 +0000 (0:00:00.142) 0:00:50.459 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:31:54 +0000 (0:00:00.045) 0:00:50.504 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022576", "end": "2024-02-14 21:31:54.496932", "rc": 1, "start": "2024-02-14 21:31:54.474356" } 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:31:54 +0000 (0:00:00.255) 0:00:50.760 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:31:54 +0000 (0:00:00.053) 0:00:50.813 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:31:54 +0000 (0:00:00.030) 0:00:50.843 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:31:54 +0000 (0:00:00.029) 0:00:50.873 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:31:54 +0000 (0:00:00.024) 0:00:50.898 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 21:31:54 +0000 (0:00:00.023) 0:00:50.921 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 21:31:54 +0000 (0:00:00.031) 0:00:50.953 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 21:31:54 +0000 (0:00:00.038) 0:00:50.991 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 21:31:54 +0000 (0:00:00.033) 0:00:51.024 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 21:31:54 +0000 (0:00:00.051) 0:00:51.076 **** 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.048746", "end": "2024-02-14 21:31:55.033352", "rc": 0, "start": "2024-02-14 21:31:54.984606" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tests_states.yml:126 Wednesday 14 February 2024 21:31:55 +0000 (0:00:00.220) 0:00:51.296 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 21:31:55 +0000 (0:00:00.048) 0:00:51.345 **** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 21:31:55 +0000 (0:00:00.030) 0:00:51.375 **** 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", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 21:31:55 +0000 (0:00:00.072) 0:00:51.447 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 21:31:55 +0000 (0:00:00.038) 0:00:51.485 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 21:31:55 +0000 (0:00:00.047) 0:00:51.533 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003415", "end": "2024-02-14 21:31:55.443737", "rc": 0, "start": "2024-02-14 21:31:55.440322" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 21:31:55 +0000 (0:00:00.148) 0:00:51.682 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 21:31:55 +0000 (0:00:00.030) 0:00:51.712 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 21:31:55 +0000 (0:00:00.024) 0:00:51.737 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 21:31:55 +0000 (0:00:00.044) 0:00:51.781 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:31:55 +0000 (0:00:00.036) 0:00:51.818 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:31:55 +0000 (0:00:00.070) 0:00:51.888 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:31:55 +0000 (0:00:00.034) 0:00:51.922 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:31:55 +0000 (0:00:00.022) 0:00:51.945 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:31:55 +0000 (0:00:00.040) 0:00:51.985 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:31:56 +0000 (0:00:00.828) 0:00:52.814 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:31:57 +0000 (0:00:00.645) 0:00:53.459 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:31:57 +0000 (0:00:00.024) 0:00:53.484 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:31:57 +0000 (0:00:00.036) 0:00:53.520 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:31:57 +0000 (0:00:00.030) 0:00:53.551 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:31:57 +0000 (0:00:00.055) 0:00:53.606 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:31:57 +0000 (0:00:00.023) 0:00:53.630 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:31:57 +0000 (0:00:00.032) 0:00:53.662 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:31:57 +0000 (0:00:00.055) 0:00:53.718 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:31:57 +0000 (0:00:00.052) 0:00:53.770 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:31:57 +0000 (0:00:00.024) 0:00:53.795 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:31:57 +0000 (0:00:00.246) 0:00:54.041 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172152zj85ral/tmpe2tqzl0l" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:31:58 +0000 (0:00:00.241) 0:00:54.283 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:31:58 +0000 (0:00:00.272) 0:00:54.556 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:31:58 +0000 (0:00:00.037) 0:00:54.593 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:31:58 +0000 (0:00:00.036) 0:00:54.630 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:31:58 +0000 (0:00:00.036) 0:00:54.666 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:31:58 +0000 (0:00:00.031) 0:00:54.697 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 21:31:58 +0000 (0:00:00.143) 0:00:54.841 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 21:31:58 +0000 (0:00:00.023) 0:00:54.864 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:31:58 +0000 (0:00:00.055) 0:00:54.919 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:31:58 +0000 (0:00:00.048) 0:00:54.968 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:31:58 +0000 (0:00:00.084) 0:00:55.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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:31:58 +0000 (0:00:00.034) 0:00:55.087 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:31:58 +0000 (0:00:00.038) 0:00:55.125 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:31:59 +0000 (0:00:00.780) 0:00:55.906 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:32:00 +0000 (0:00:00.649) 0:00:56.556 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:32:00 +0000 (0:00:00.059) 0:00:56.615 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:32:00 +0000 (0:00:00.049) 0:00:56.665 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:32:00 +0000 (0:00:00.022) 0:00:56.687 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:32:00 +0000 (0:00:00.047) 0:00:56.735 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:32:00 +0000 (0:00:00.093) 0:00:56.829 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:32:00 +0000 (0:00:00.039) 0:00:56.869 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:32:00 +0000 (0:00:00.027) 0:00:56.896 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:32:00 +0000 (0:00:00.083) 0:00:56.980 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:32:00 +0000 (0:00:00.042) 0:00:57.022 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:32:01 +0000 (0:00:00.241) 0:00:57.264 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172152zj85ral/tmp86rawefd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:32:01 +0000 (0:00:00.399) 0:00:57.663 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:32:01 +0000 (0:00:00.503) 0:00:58.167 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:32:02 +0000 (0:00:00.046) 0:00:58.214 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:32:02 +0000 (0:00:00.045) 0:00:58.259 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:32:02 +0000 (0:00:00.061) 0:00:58.321 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:32:02 +0000 (0:00:00.033) 0:00:58.354 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 21:32:02 +0000 (0:00:00.129) 0:00:58.484 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:32:02 +0000 (0:00:00.037) 0:00:58.521 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:32:02 +0000 (0:00:00.041) 0:00:58.563 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:32:02 +0000 (0:00:00.026) 0:00:58.589 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:32:02 +0000 (0:00:00.021) 0:00:58.611 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:32:02 +0000 (0:00:00.048) 0:00:58.660 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:32:03 +0000 (0:00:00.769) 0:00:59.429 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:32:03 +0000 (0:00:00.637) 0:01:00.067 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:32:03 +0000 (0:00:00.023) 0:01:00.090 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:32:03 +0000 (0:00:00.024) 0:01:00.115 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:32:03 +0000 (0:00:00.026) 0:01:00.141 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:32:03 +0000 (0:00:00.046) 0:01:00.188 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:32:04 +0000 (0:00:00.024) 0:01:00.213 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:32:04 +0000 (0:00:00.021) 0:01:00.234 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:32:04 +0000 (0:00:00.026) 0:01:00.260 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:32:04 +0000 (0:00:00.041) 0:01:00.301 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:32:04 +0000 (0:00:00.056) 0:01:00.358 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:32:04 +0000 (0:00:00.270) 0:01:00.628 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172152zj85ral/tmpwh_b3fll" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:32:04 +0000 (0:00:00.239) 0:01:00.868 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:32:04 +0000 (0:00:00.267) 0:01:01.136 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:32:04 +0000 (0:00:00.031) 0:01:01.168 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:32:05 +0000 (0:00:00.054) 0:01:01.222 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:32:05 +0000 (0:00:00.025) 0:01:01.248 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:32:05 +0000 (0:00:00.023) 0:01:01.271 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 21:32:05 +0000 (0:00:00.148) 0:01:01.419 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 21:32:05 +0000 (0:00:00.061) 0:01:01.481 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 21:32:05 +0000 (0:00:00.059) 0:01:01.541 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 21:32:05 +0000 (0:00:00.053) 0:01:01.594 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 21:32:05 +0000 (0:00:00.028) 0:01:01.623 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 21:32:05 +0000 (0:00:00.065) 0:01:01.688 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 21:32:05 +0000 (0:00:00.024) 0:01:01.712 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 21:32:06 +0000 (0:00:00.795) 0:01:02.507 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 21:32:06 +0000 (0:00:00.667) 0:01:03.175 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 21:32:06 +0000 (0:00:00.024) 0:01:03.199 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 21:32:07 +0000 (0:00:00.022) 0:01:03.221 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 21:32:07 +0000 (0:00:00.026) 0:01:03.248 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 21:32:07 +0000 (0:00:00.074) 0:01:03.322 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 21:32:07 +0000 (0:00:00.054) 0:01:03.376 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 21:32:07 +0000 (0:00:00.040) 0:01:03.417 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 21:32:07 +0000 (0:00:00.029) 0:01:03.446 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 21:32:07 +0000 (0:00:00.086) 0:01:03.532 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 21:32:07 +0000 (0:00:00.061) 0:01:03.594 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 21:32:07 +0000 (0:00:00.252) 0:01:03.846 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172152zj85ral/tmpzyqnd2si" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 21:32:07 +0000 (0:00:00.278) 0:01:04.125 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 21:32:08 +0000 (0:00:00.265) 0:01:04.391 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 21:32:08 +0000 (0:00:00.034) 0:01:04.425 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 21:32:08 +0000 (0:00:00.022) 0:01:04.448 **** 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-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 21:32:08 +0000 (0:00:00.024) 0:01:04.472 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 21:32:08 +0000 (0:00:00.021) 0:01:04.493 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 21:32:08 +0000 (0:00:00.127) 0:01:04.620 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 21:32:08 +0000 (0:00:00.046) 0:01:04.667 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 21:32:08 +0000 (0:00:00.040) 0:01:04.708 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 21:32:08 +0000 (0:00:00.035) 0:01:04.743 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 21:32:08 +0000 (0:00:00.141) 0:01:04.884 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 21:32:08 +0000 (0:00:00.021) 0:01:04.906 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023074", "end": "2024-02-14 21:32:08.852037", "rc": 1, "start": "2024-02-14 21:32:08.828963" } 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 21:32:08 +0000 (0:00:00.182) 0:01:05.088 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 21:32:08 +0000 (0:00:00.032) 0:01:05.121 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 21:32:08 +0000 (0:00:00.031) 0:01:05.152 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 21:32:09 +0000 (0:00:00.069) 0:01:05.222 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 21:32:09 +0000 (0:00:00.038) 0:01:05.260 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 21:32:09 +0000 (0:00:00.084) 0:01:05.344 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 21:32:09 +0000 (0:00:00.052) 0:01:05.397 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.400767", "end": "2024-02-14 21:32:09.740658", "rc": 0, "start": "2024-02-14 21:32:09.339891" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 21:32:09 +0000 (0:00:00.569) 0:01:05.966 **** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 21:32:09 +0000 (0:00:00.022) 0:01:05.989 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 21:32:09 +0000 (0:00:00.023) 0:01:06.012 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 21:32:09 +0000 (0:00:00.026) 0:01:06.038 **** 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-bond_options_rewriteilkf95nx/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 21:32:09 +0000 (0:00:00.026) 0:01:06.064 **** included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 21:32:09 +0000 (0:00:00.045) 0:01:06.110 **** 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.048911", "end": "2024-02-14 21:32:10.067118", "rc": 0, "start": "2024-02-14 21:32:10.018207" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 21:32:10 +0000 (0:00:00.190) 0:01:06.301 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007719", "end": "2024-02-14 21:32:10.213799", "rc": 0, "start": "2024-02-14 21:32:10.206080" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:f6:f8:4c:d6:89 brd ff:ff:ff:ff:ff:ff inet 10.31.11.107/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 2750sec preferred_lft 2750sec inet6 fe80::10f6:f8ff:fe4c:d689/64 scope link valid_lft forever preferred_lft forever 13: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 1e:c8:0f:d2:ce:68 brd ff:ff:ff:ff:ff:ff 43: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 12:4c:ca:75:3d:d4 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.107 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-bond_options_rewriteilkf95nx/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 21:32:10 +0000 (0:00:00.166) 0:01:06.467 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=337 changed=14 unreachable=0 failed=0 skipped=225 rescued=0 ignored=10 Wednesday 14 February 2024 21:32:10 +0000 (0:00:00.018) 0:01:06.485 **** =============================================================================== linux-system-roles.network : Install packages --------------------------- 2.66s /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 1.98s /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.44s /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Configure networking connection profiles --- 1.42s /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.37s /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.12s /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Enable network service --------------------- 0.93s /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Enable network service --------------------- 0.87s /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Check which services are running ----------- 0.85s /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.85s /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.84s /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 0.84s /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 0.83s /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.81s /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.80s /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.80s /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.80s /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Re-test connectivity ----------------------- 0.79s /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/main.yml:158 linux-system-roles.network : Check which services are running ----------- 0.79s /WORKDIR/git-bond_options_rewriteilkf95nx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.78s /WORKDIR/git-bond_options_rewriteilkf95nx/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. ---^---^---^---^---^---