# 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_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/tests_states_initscripts.yml:5 Wednesday 14 February 2024 02:40:27 +0000 (0:00:00.012) 0:00:00.012 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/tests_states_initscripts.yml:8 Wednesday 14 February 2024 02:40:28 +0000 (0:00:00.718) 0:00:00.731 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 02:40:28 +0000 (0:00:00.037) 0:00:00.768 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 02:40:28 +0000 (0:00:00.225) 0:00:00.994 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 02:40:28 +0000 (0:00:00.192) 0:00:01.187 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 02:40:28 +0000 (0:00:00.021) 0:00:01.208 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 02:40:28 +0000 (0:00:00.017) 0:00:01.226 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 02:40:28 +0000 (0:00:00.031) 0:00:01.257 **** 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_rewrite2kjqp0w_/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 02:40:28 +0000 (0:00:00.195) 0:00:01.452 **** 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_rewrite2kjqp0w_/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 02:40:29 +0000 (0:00:00.487) 0:00:01.939 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.193059", "end": "2024-02-14 02:40:29.565556", "rc": 0, "start": "2024-02-14 02:40:29.372497" } 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_rewrite2kjqp0w_/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 02:40:29 +0000 (0:00:00.357) 0:00:02.296 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 02:40:29 +0000 (0:00:00.019) 0:00:02.315 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/tests_states_initscripts.yml:10 Wednesday 14 February 2024 02:40:29 +0000 (0:00:00.018) 0:00:02.334 **** 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_rewrite2kjqp0w_/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 02:40:29 +0000 (0:00:00.070) 0:00:02.405 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 02:40:30 +0000 (0:00:00.436) 0:00:02.842 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 02:40:30 +0000 (0:00:00.010) 0:00:02.853 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:40:30 +0000 (0:00:00.016) 0:00:02.869 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:40:30 +0000 (0:00:00.010) 0:00:02.880 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:40:30 +0000 (0:00:00.037) 0:00:02.918 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:40:30 +0000 (0:00:00.026) 0:00:02.945 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:40:30 +0000 (0:00:00.015) 0:00:02.960 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004765", "end": "2024-02-14 02:40:31.382576", "rc": 0, "start": "2024-02-14 02:40:30.377811" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:40:31 +0000 (0:00:01.141) 0:00:04.102 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:40:31 +0000 (0:00:00.017) 0:00:04.119 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:40:31 +0000 (0:00:00.033) 0:00:04.152 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 02:40:31 +0000 (0:00:00.034) 0:00:04.187 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010857", "end": "2024-02-14 02:40:31.603417", "rc": 1, "start": "2024-02-14 02:40:31.592560" } 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_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:40:31 +0000 (0:00:00.149) 0:00:04.336 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:40:31 +0000 (0:00:00.020) 0:00:04.357 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:40:31 +0000 (0:00:00.121) 0:00:04.478 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:40:31 +0000 (0:00:00.012) 0:00:04.490 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:40:31 +0000 (0:00:00.018) 0:00:04.509 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:40:31 +0000 (0:00:00.035) 0:00:04.545 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:40:31 +0000 (0:00:00.082) 0:00:04.627 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:40:31 +0000 (0:00:00.014) 0:00:04.642 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:40:31 +0000 (0:00:00.036) 0:00:04.679 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:40:32 +0000 (0:00:00.029) 0:00:04.708 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:40:32 +0000 (0:00:00.880) 0:00:05.588 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:40:33 +0000 (0:00:00.850) 0:00:06.439 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:40:33 +0000 (0:00:00.036) 0:00:06.475 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:40:33 +0000 (0:00:00.033) 0:00:06.509 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:40:33 +0000 (0:00:00.023) 0:00:06.532 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:40:36 +0000 (0:00:02.784) 0:00:09.317 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:40:36 +0000 (0:00:00.027) 0:00:09.344 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:40:36 +0000 (0:00:00.036) 0:00:09.380 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:40:36 +0000 (0:00:00.035) 0:00:09.416 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:40:36 +0000 (0:00:00.047) 0:00:09.463 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:40:36 +0000 (0:00:00.027) 0:00:09.490 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:40:37 +0000 (0:00:00.474) 0:00:09.965 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17370iuuzh8dj/tmptmyekfqo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:40:37 +0000 (0:00:00.280) 0:00:10.245 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:40:38 +0000 (0:00:00.489) 0:00:10.735 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:40:38 +0000 (0:00:00.029) 0:00:10.764 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:40:38 +0000 (0:00:00.065) 0:00:10.830 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:40:38 +0000 (0:00:00.071) 0:00:10.901 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:40:38 +0000 (0:00:00.059) 0:00:10.960 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:40:38 +0000 (0:00:00.498) 0:00:11.459 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:40:38 +0000 (0:00:00.057) 0:00:11.517 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:40:38 +0000 (0:00:00.078) 0:00:11.595 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:40:38 +0000 (0:00:00.038) 0:00:11.634 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:40:38 +0000 (0:00:00.021) 0:00:11.656 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878437.9721763, "block_size": 4096, "blocks": 8, "ctime": 1707878437.9721763, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416150, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707878437.9721763, "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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:40:39 +0000 (0:00:00.209) 0:00:11.865 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:40:39 +0000 (0:00:00.047) 0:00:11.913 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024301", "end": "2024-02-14 02:40:39.346905", "rc": 1, "start": "2024-02-14 02:40:39.322604" } 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:40:39 +0000 (0:00:00.159) 0:00:12.073 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:40:39 +0000 (0:00:00.024) 0:00:12.097 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003550", "end": "2024-02-14 02:40:39.528829", "rc": 0, "start": "2024-02-14 02:40:39.525279" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:40:39 +0000 (0:00:00.159) 0:00:12.256 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:40:39 +0000 (0:00:00.027) 0:00:12.284 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003471", "end": "2024-02-14 02:40:39.697467", "rc": 0, "start": "2024-02-14 02:40:39.693996" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:40:39 +0000 (0:00:00.157) 0:00:12.441 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:40:39 +0000 (0:00:00.028) 0:00:12.470 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:40:39 +0000 (0:00:00.022) 0:00:12.492 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:40:39 +0000 (0:00:00.024) 0:00:12.517 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:40:39 +0000 (0:00:00.029) 0:00:12.546 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:40:39 +0000 (0:00:00.030) 0:00:12.576 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:40:39 +0000 (0:00:00.029) 0:00:12.605 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:40:39 +0000 (0:00:00.060) 0:00:12.666 **** 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.043734", "end": "2024-02-14 02:40:40.128771", "rc": 1, "start": "2024-02-14 02:40:40.085037" } 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_rewrite2kjqp0w_/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.214) 0:00:12.881 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.080) 0:00:12.961 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.024) 0:00:12.986 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.067) 0:00:13.053 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.045) 0:00:13.099 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.037) 0:00:13.136 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003483", "end": "2024-02-14 02:40:40.554226", "rc": 0, "start": "2024-02-14 02:40:40.550743" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.158) 0:00:13.295 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.033) 0:00:13.328 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.031) 0:00:13.360 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.048) 0:00:13.408 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007471", "end": "2024-02-14 02:40:40.822897", "rc": 1, "start": "2024-02-14 02:40:40.815426" } 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_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.139) 0:00:13.547 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:40:40 +0000 (0:00:00.036) 0:00:13.584 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:40:41 +0000 (0:00:00.166) 0:00:13.751 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:40:41 +0000 (0:00:00.025) 0:00:13.777 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 02:40:41 +0000 (0:00:00.070) 0:00:13.847 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:40:41 +0000 (0:00:00.041) 0:00:13.888 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:40:41 +0000 (0:00:00.045) 0:00:13.933 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:40:41 +0000 (0:00:00.027) 0:00:13.960 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:40:41 +0000 (0:00:00.022) 0:00:13.983 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:40:41 +0000 (0:00:00.022) 0:00:14.006 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:40:42 +0000 (0:00:00.768) 0:00:14.775 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:40:42 +0000 (0:00:00.770) 0:00:15.546 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:40:42 +0000 (0:00:00.044) 0:00:15.590 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:40:42 +0000 (0:00:00.025) 0:00:15.615 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:40:42 +0000 (0:00:00.026) 0:00:15.642 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.059) 0:00:15.701 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.025) 0:00:15.726 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.047) 0:00:15.774 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.039) 0:00:15.814 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.044) 0:00:15.858 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.049) 0:00:15.908 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.253) 0:00:16.162 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17370iuuzh8dj/tmpijpv803p" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.246) 0:00:16.409 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:40:43 +0000 (0:00:00.262) 0:00:16.671 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.039) 0:00:16.710 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.052) 0:00:16.763 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.032) 0:00:16.795 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.033) 0:00:16.828 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.165) 0:00:16.994 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.025) 0:00:17.020 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.067) 0:00:17.087 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.075) 0:00:17.163 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.155) 0:00:17.318 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.064) 0:00:17.382 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.070) 0:00:17.453 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.025) 0:00:17.478 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878443.9261687, "block_size": 4096, "blocks": 8, "ctime": 1707878443.9261687, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416150, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707878443.9261687, "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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.156) 0:00:17.634 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:40:44 +0000 (0:00:00.024) 0:00:17.658 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021663", "end": "2024-02-14 02:40:45.089765", "rc": 1, "start": "2024-02-14 02:40:45.068102" } 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.164) 0:00:17.822 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.040) 0:00:17.863 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003546", "end": "2024-02-14 02:40:45.289957", "rc": 0, "start": "2024-02-14 02:40:45.286411" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.180) 0:00:18.044 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.035) 0:00:18.079 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003509", "end": "2024-02-14 02:40:45.506199", "rc": 0, "start": "2024-02-14 02:40:45.502690" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.190) 0:00:18.269 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.030) 0:00:18.300 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.031) 0:00:18.332 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.029) 0:00:18.362 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.025) 0:00:18.388 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.021) 0:00:18.409 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.022) 0:00:18.431 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.039) 0:00:18.471 **** 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.044450", "end": "2024-02-14 02:40:45.924227", "rc": 1, "start": "2024-02-14 02:40:45.879777" } 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_rewrite2kjqp0w_/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.178) 0:00:18.649 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:40:45 +0000 (0:00:00.035) 0:00:18.684 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:40:46 +0000 (0:00:00.022) 0:00:18.707 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:40:46 +0000 (0:00:00.046) 0:00:18.753 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:40:46 +0000 (0:00:00.061) 0:00:18.815 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:40:46 +0000 (0:00:00.042) 0:00:18.857 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003583", "end": "2024-02-14 02:40:46.267002", "rc": 0, "start": "2024-02-14 02:40:46.263419" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:40:46 +0000 (0:00:00.148) 0:00:19.005 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:40:46 +0000 (0:00:00.025) 0:00:19.030 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:40:46 +0000 (0:00:00.023) 0:00:19.053 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:40:46 +0000 (0:00:00.057) 0:00:19.110 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:40:46 +0000 (0:00:00.053) 0:00:19.164 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:40:46 +0000 (0:00:00.051) 0:00:19.216 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:40:46 +0000 (0:00:00.063) 0:00:19.279 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:40:46 +0000 (0:00:00.032) 0:00:19.311 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:40:46 +0000 (0:00:00.036) 0:00:19.348 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:40:47 +0000 (0:00:00.806) 0:00:20.154 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.827) 0:00:20.981 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.026) 0:00:21.007 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.041) 0:00:21.049 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.036) 0:00:21.085 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.082) 0:00:21.168 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.033) 0:00:21.201 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.022) 0:00:21.224 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.051) 0:00:21.275 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.037) 0:00:21.313 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.024) 0:00:21.337 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:40:48 +0000 (0:00:00.232) 0:00:21.570 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17370iuuzh8dj/tmpzb5u7_a_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:40:49 +0000 (0:00:00.237) 0:00:21.807 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:40:49 +0000 (0:00:00.250) 0:00:22.058 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:40:49 +0000 (0:00:00.046) 0:00:22.105 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:40:49 +0000 (0:00:00.035) 0:00:22.140 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:40:49 +0000 (0:00:00.085) 0:00:22.226 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:40:49 +0000 (0:00:00.025) 0:00:22.251 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:40:49 +0000 (0:00:00.135) 0:00:22.387 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:40:49 +0000 (0:00:00.022) 0:00:22.409 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 02:40:49 +0000 (0:00:00.050) 0:00:22.460 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:40:49 +0000 (0:00:00.042) 0:00:22.503 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:40:49 +0000 (0:00:00.038) 0:00:22.542 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:40:49 +0000 (0:00:00.025) 0:00:22.568 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:40:49 +0000 (0:00:00.020) 0:00:22.589 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:40:49 +0000 (0:00:00.021) 0:00:22.610 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:40:50 +0000 (0:00:00.790) 0:00:23.401 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.739) 0:00:24.141 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.046) 0:00:24.187 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.049) 0:00:24.236 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.027) 0:00:24.263 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.102) 0:00:24.366 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.023) 0:00:24.390 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.021) 0:00:24.411 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.026) 0:00:24.438 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.029) 0:00:24.467 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:40:51 +0000 (0:00:00.023) 0:00:24.491 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.264) 0:00:24.755 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17370iuuzh8dj/tmpm7qk43c3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.292) 0:00:25.048 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.586) 0:00:25.635 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.026) 0:00:25.661 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:40:52 +0000 (0:00:00.031) 0:00:25.693 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:40:53 +0000 (0:00:00.033) 0:00:25.727 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:40:53 +0000 (0:00:00.025) 0:00:25.752 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:40:53 +0000 (0:00:00.159) 0:00:25.911 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:40:53 +0000 (0:00:00.065) 0:00:25.976 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:40:53 +0000 (0:00:00.141) 0:00:26.118 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878452.8001568, "block_size": 4096, "blocks": 0, "ctime": 1707878452.7971568, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17512, "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": 1707878452.7971568, "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_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:40:53 +0000 (0:00:00.263) 0:00:26.381 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:40:53 +0000 (0:00:00.028) 0:00:26.410 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:40:53 +0000 (0:00:00.041) 0:00:26.451 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:40:53 +0000 (0:00:00.031) 0:00:26.482 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878452.6211572, "block_size": 4096, "blocks": 8, "ctime": 1707878449.3151615, "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": 1707878449.3151615, "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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:40:53 +0000 (0:00:00.142) 0:00:26.625 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:40:53 +0000 (0:00:00.047) 0:00:26.673 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022558", "end": "2024-02-14 02:40:54.133354", "rc": 1, "start": "2024-02-14 02:40:54.110796" } 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:40:54 +0000 (0:00:00.215) 0:00:26.888 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:40:54 +0000 (0:00:00.148) 0:00:27.036 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003868", "end": "2024-02-14 02:40:54.467663", "rc": 0, "start": "2024-02-14 02:40:54.463795" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:40:54 +0000 (0:00:00.237) 0:00:27.274 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:40:54 +0000 (0:00:00.067) 0:00:27.342 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003414", "end": "2024-02-14 02:40:54.760504", "rc": 0, "start": "2024-02-14 02:40:54.757090" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:40:54 +0000 (0:00:00.156) 0:00:27.498 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:40:54 +0000 (0:00:00.063) 0:00:27.562 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:40:54 +0000 (0:00:00.060) 0:00:27.623 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:40:54 +0000 (0:00:00.056) 0:00:27.679 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:40:55 +0000 (0:00:00.035) 0:00:27.715 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:40:55 +0000 (0:00:00.033) 0:00:27.748 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:40:55 +0000 (0:00:00.030) 0:00:27.779 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:40:55 +0000 (0:00:00.052) 0:00:27.832 **** 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.054634", "end": "2024-02-14 02:40:55.353854", "rc": 0, "start": "2024-02-14 02:40:55.299220" } 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_rewrite2kjqp0w_/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 02:40:55 +0000 (0:00:00.318) 0:00:28.151 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:40:55 +0000 (0:00:00.065) 0:00:28.216 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:40:55 +0000 (0:00:00.097) 0:00:28.313 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:40:55 +0000 (0:00:00.127) 0:00:28.441 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:40:55 +0000 (0:00:00.113) 0:00:28.554 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:40:55 +0000 (0:00:00.051) 0:00:28.606 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003442", "end": "2024-02-14 02:40:56.073004", "rc": 0, "start": "2024-02-14 02:40:56.069562" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.197) 0:00:28.803 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.033) 0:00:28.837 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.060) 0:00:28.897 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.066) 0:00:28.964 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.051) 0:00:29.015 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.085) 0:00:29.101 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.036) 0:00:29.138 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.053) 0:00:29.191 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:40:56 +0000 (0:00:00.022) 0:00:29.214 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:40:57 +0000 (0:00:00.819) 0:00:30.033 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:40:58 +0000 (0:00:00.700) 0:00:30.733 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:40:58 +0000 (0:00:00.024) 0:00:30.758 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:40:58 +0000 (0:00:00.025) 0:00:30.784 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:40:58 +0000 (0:00:00.022) 0:00:30.806 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:40:58 +0000 (0:00:00.056) 0:00:30.862 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:40:58 +0000 (0:00:00.031) 0:00:30.894 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:40:58 +0000 (0:00:00.042) 0:00:30.936 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:40:58 +0000 (0:00:00.038) 0:00:30.975 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:40:58 +0000 (0:00:00.041) 0:00:31.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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:40:58 +0000 (0:00:00.025) 0:00:31.041 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:40:58 +0000 (0:00:00.327) 0:00:31.369 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17370iuuzh8dj/tmpvagkswk6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:40:59 +0000 (0:00:00.419) 0:00:31.789 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:40:59 +0000 (0:00:00.456) 0:00:32.246 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:40:59 +0000 (0:00:00.121) 0:00:32.368 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:40:59 +0000 (0:00:00.086) 0:00:32.454 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:40:59 +0000 (0:00:00.069) 0:00:32.524 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:40:59 +0000 (0:00:00.045) 0:00:32.570 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:41:00 +0000 (0:00:00.166) 0:00:32.737 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 02:41:00 +0000 (0:00:00.027) 0:00:32.764 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:41:00 +0000 (0:00:00.044) 0:00:32.808 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:41:00 +0000 (0:00:00.088) 0:00:32.897 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:41:00 +0000 (0:00:00.064) 0:00:32.962 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:41:00 +0000 (0:00:00.036) 0:00:32.999 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:41:00 +0000 (0:00:00.024) 0:00:33.023 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:41:01 +0000 (0:00:00.791) 0:00:33.815 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.935) 0:00:34.751 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.047) 0:00:34.798 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.047) 0:00:34.846 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.040) 0:00:34.886 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.055) 0:00:34.942 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.026) 0:00:34.968 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.027) 0:00:34.996 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.029) 0:00:35.026 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.028) 0:00:35.054 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.030) 0:00:35.085 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.269) 0:00:35.355 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17370iuuzh8dj/tmpne046lyi" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:41:02 +0000 (0:00:00.232) 0:00:35.587 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:41:03 +0000 (0:00:00.553) 0:00:36.140 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:41:03 +0000 (0:00:00.028) 0:00:36.169 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:41:03 +0000 (0:00:00.025) 0:00:36.195 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:41:03 +0000 (0:00:00.085) 0:00:36.280 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:41:03 +0000 (0:00:00.039) 0:00:36.320 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:41:03 +0000 (0:00:00.142) 0:00:36.462 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 02:41:03 +0000 (0:00:00.089) 0:00:36.552 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:41:03 +0000 (0:00:00.050) 0:00:36.603 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:41:03 +0000 (0:00:00.068) 0:00:36.671 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:41:04 +0000 (0:00:00.081) 0:00:36.753 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:41:04 +0000 (0:00:00.119) 0:00:36.873 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:41:04 +0000 (0:00:00.055) 0:00:36.928 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:41:05 +0000 (0:00:00.859) 0:00:37.788 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:41:05 +0000 (0:00:00.830) 0:00:38.618 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:41:05 +0000 (0:00:00.024) 0:00:38.643 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:41:05 +0000 (0:00:00.041) 0:00:38.684 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:41:06 +0000 (0:00:00.024) 0:00:38.709 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:41:06 +0000 (0:00:00.067) 0:00:38.776 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:41:06 +0000 (0:00:00.039) 0:00:38.816 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:41:06 +0000 (0:00:00.053) 0:00:38.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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:41:06 +0000 (0:00:00.029) 0:00:38.899 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:41:06 +0000 (0:00:00.024) 0:00:38.923 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:41:06 +0000 (0:00:00.031) 0:00:38.955 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:41:06 +0000 (0:00:00.255) 0:00:39.210 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17370iuuzh8dj/tmpkjq1wntw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:41:06 +0000 (0:00:00.255) 0:00:39.466 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.265) 0:00:39.732 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.043) 0:00:39.775 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.045) 0:00:39.821 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.040) 0:00:39.861 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.035) 0:00:39.896 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.137) 0:00:40.033 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.054) 0:00:40.088 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.037) 0:00:40.125 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878463.3411431, "block_size": 4096, "blocks": 0, "ctime": 1707878463.338143, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17512, "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": 1707878463.338143, "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_rewrite2kjqp0w_/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.146) 0:00:40.272 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.026) 0:00:40.298 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.036) 0:00:40.335 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.021) 0:00:40.356 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.148) 0:00:40.504 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:41:07 +0000 (0:00:00.030) 0:00:40.535 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022494", "end": "2024-02-14 02:41:07.965864", "rc": 1, "start": "2024-02-14 02:41:07.943370" } 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.181) 0:00:40.716 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.063) 0:00:40.780 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.070) 0:00:40.850 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.031) 0:00:40.882 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.032) 0:00:40.914 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.092) 0:00:41.006 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.026) 0:00:41.033 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.020) 0:00:41.054 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.023) 0:00:41.077 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.040) 0:00:41.118 **** 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.048861", "end": "2024-02-14 02:41:08.572831", "rc": 0, "start": "2024-02-14 02:41:08.523970" } 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_rewrite2kjqp0w_/tests/playbooks/tests_states.yml:103 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.181) 0:00:41.299 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.036) 0:00:41.335 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.022) 0:00:41.358 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.047) 0:00:41.405 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.035) 0:00:41.440 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:41:08 +0000 (0:00:00.036) 0:00:41.477 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004699", "end": "2024-02-14 02:41:09.890972", "rc": 0, "start": "2024-02-14 02:41:08.886273" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:41:09 +0000 (0:00:01.140) 0:00:42.618 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:41:09 +0000 (0:00:00.032) 0:00:42.651 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:41:09 +0000 (0:00:00.037) 0:00:42.688 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:41:10 +0000 (0:00:00.046) 0:00:42.735 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:41:10 +0000 (0:00:00.043) 0:00:42.778 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:41:10 +0000 (0:00:00.046) 0:00:42.825 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:41:10 +0000 (0:00:00.028) 0:00:42.854 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:41:10 +0000 (0:00:00.028) 0:00:42.883 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:41:10 +0000 (0:00:00.024) 0:00:42.907 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:41:11 +0000 (0:00:00.848) 0:00:43.756 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:41:11 +0000 (0:00:00.876) 0:00:44.633 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:41:11 +0000 (0:00:00.048) 0:00:44.681 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:41:12 +0000 (0:00:00.034) 0:00:44.715 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:41:12 +0000 (0:00:00.065) 0:00:44.781 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:41:12 +0000 (0:00:00.119) 0:00:44.901 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:41:12 +0000 (0:00:00.023) 0:00:44.924 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:41:12 +0000 (0:00:00.044) 0:00:44.968 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:41:12 +0000 (0:00:00.047) 0:00:45.016 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:41:12 +0000 (0:00:00.034) 0:00:45.051 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:41:12 +0000 (0:00:00.040) 0:00:45.091 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:41:12 +0000 (0:00:00.265) 0:00:45.356 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17370iuuzh8dj/tmpkjq5c5mg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:41:13 +0000 (0:00:00.428) 0:00:45.784 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:41:13 +0000 (0:00:00.392) 0:00:46.177 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:41:13 +0000 (0:00:00.039) 0:00:46.217 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:41:13 +0000 (0:00:00.057) 0:00:46.274 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:41:13 +0000 (0:00:00.043) 0:00:46.318 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:41:13 +0000 (0:00:00.091) 0:00:46.409 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:41:13 +0000 (0:00:00.255) 0:00:46.665 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 02:41:14 +0000 (0:00:00.038) 0:00:46.703 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:41:14 +0000 (0:00:00.046) 0:00:46.749 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:41:14 +0000 (0:00:00.050) 0:00:46.800 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:41:14 +0000 (0:00:00.035) 0:00:46.835 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:41:14 +0000 (0:00:00.035) 0:00:46.870 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:41:14 +0000 (0:00:00.056) 0:00:46.927 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:41:15 +0000 (0:00:00.807) 0:00:47.734 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:41:15 +0000 (0:00:00.718) 0:00:48.452 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:41:15 +0000 (0:00:00.105) 0:00:48.558 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:41:15 +0000 (0:00:00.038) 0:00:48.596 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:41:15 +0000 (0:00:00.088) 0:00:48.685 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:41:16 +0000 (0:00:00.082) 0:00:48.767 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:41:16 +0000 (0:00:00.031) 0:00:48.798 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:41:16 +0000 (0:00:00.045) 0:00:48.844 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:41:16 +0000 (0:00:00.049) 0:00:48.894 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:41:16 +0000 (0:00:00.039) 0:00:48.934 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:41:16 +0000 (0:00:00.082) 0:00:49.016 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:41:16 +0000 (0:00:00.413) 0:00:49.430 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17370iuuzh8dj/tmp1afs8wda" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:41:17 +0000 (0:00:00.306) 0:00:49.736 **** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:41:17 +0000 (0:00:00.547) 0:00:50.284 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:41:17 +0000 (0:00:00.026) 0:00:50.310 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:41:17 +0000 (0:00:00.033) 0:00:50.343 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:41:17 +0000 (0:00:00.044) 0:00:50.388 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:41:17 +0000 (0:00:00.023) 0:00:50.412 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 02:41:17 +0000 (0:00:00.169) 0:00:50.582 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:41:18 +0000 (0:00:00.171) 0:00:50.753 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:41:18 +0000 (0:00:00.168) 0:00:50.922 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:41:18 +0000 (0:00:00.098) 0:00:51.021 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:41:18 +0000 (0:00:00.040) 0:00:51.061 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:41:18 +0000 (0:00:00.039) 0:00:51.101 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:41:19 +0000 (0:00:00.850) 0:00:51.951 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:41:20 +0000 (0:00:00.821) 0:00:52.773 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:41:20 +0000 (0:00:00.085) 0:00:52.859 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:41:20 +0000 (0:00:00.079) 0:00:52.939 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:41:20 +0000 (0:00:00.050) 0:00:52.989 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:41:20 +0000 (0:00:00.079) 0:00:53.069 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:41:20 +0000 (0:00:00.062) 0:00:53.131 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:41:20 +0000 (0:00:00.102) 0:00:53.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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:41:20 +0000 (0:00:00.039) 0:00:53.273 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:41:20 +0000 (0:00:00.062) 0:00:53.335 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:41:20 +0000 (0:00:00.072) 0:00:53.408 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:41:20 +0000 (0:00:00.243) 0:00:53.651 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17370iuuzh8dj/tmp5t23q09t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.227) 0:00:53.879 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.270) 0:00:54.150 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.053) 0:00:54.203 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.070) 0:00:54.274 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.056) 0:00:54.330 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.049) 0:00:54.380 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.145) 0:00:54.526 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.065) 0:00:54.592 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:41:21 +0000 (0:00:00.098) 0:00:54.690 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:41:22 +0000 (0:00:00.055) 0:00:54.745 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:41:22 +0000 (0:00:00.047) 0:00:54.793 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:41:22 +0000 (0:00:00.105) 0:00:54.898 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:41:22 +0000 (0:00:00.057) 0:00:54.955 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:41:23 +0000 (0:00:00.822) 0:00:55.777 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:41:23 +0000 (0:00:00.782) 0:00:56.560 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:41:23 +0000 (0:00:00.094) 0:00:56.654 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:41:24 +0000 (0:00:00.062) 0:00:56.717 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:41:24 +0000 (0:00:00.115) 0:00:56.833 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:41:24 +0000 (0:00:00.050) 0:00:56.883 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:41:24 +0000 (0:00:00.048) 0:00:56.931 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:41:24 +0000 (0:00:00.064) 0:00:56.995 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:41:24 +0000 (0:00:00.046) 0:00:57.042 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:41:24 +0000 (0:00:00.034) 0:00:57.076 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:41:24 +0000 (0:00:00.038) 0:00:57.115 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:41:24 +0000 (0:00:00.376) 0:00:57.491 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17370iuuzh8dj/tmpx5w1vrfq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:41:25 +0000 (0:00:00.660) 0:00:58.151 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:41:25 +0000 (0:00:00.308) 0:00:58.460 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:41:25 +0000 (0:00:00.060) 0:00:58.520 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:41:25 +0000 (0:00:00.038) 0:00:58.559 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:41:25 +0000 (0:00:00.043) 0:00:58.603 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:41:25 +0000 (0:00:00.054) 0:00:58.657 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.180) 0:00:58.837 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.089) 0:00:58.926 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.069) 0:00:58.996 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.066) 0:00:59.062 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.200) 0:00:59.262 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.050) 0:00:59.313 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021533", "end": "2024-02-14 02:41:26.778487", "rc": 1, "start": "2024-02-14 02:41:26.756954" } 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.195) 0:00:59.509 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.035) 0:00:59.545 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.068) 0:00:59.613 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:41:26 +0000 (0:00:00.084) 0:00:59.697 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:41:27 +0000 (0:00:00.082) 0:00:59.780 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 02:41:27 +0000 (0:00:00.060) 0:00:59.840 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:41:27 +0000 (0:00:00.058) 0:00:59.899 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:41:27 +0000 (0:00:00.057) 0:00:59.957 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:41:27 +0000 (0:00:00.080) 0:01:00.037 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:41:27 +0000 (0:00:00.061) 0:01:00.098 **** 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.047034", "end": "2024-02-14 02:41:27.560829", "rc": 0, "start": "2024-02-14 02:41:27.513795" } 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_rewrite2kjqp0w_/tests/playbooks/tests_states.yml:126 Wednesday 14 February 2024 02:41:27 +0000 (0:00:00.205) 0:01:00.304 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:41:27 +0000 (0:00:00.059) 0:01:00.364 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:41:27 +0000 (0:00:00.055) 0:01:00.419 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:41:27 +0000 (0:00:00.123) 0:01:00.543 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:41:27 +0000 (0:00:00.080) 0:01:00.623 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:41:27 +0000 (0:00:00.047) 0:01:00.671 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003496", "end": "2024-02-14 02:41:28.109438", "rc": 0, "start": "2024-02-14 02:41:28.105942" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:41:28 +0000 (0:00:00.179) 0:01:00.850 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:41:28 +0000 (0:00:00.067) 0:01:00.918 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:41:28 +0000 (0:00:00.102) 0:01:01.021 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:41:28 +0000 (0:00:00.072) 0:01:01.093 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:41:28 +0000 (0:00:00.064) 0:01:01.157 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:41:28 +0000 (0:00:00.102) 0:01:01.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:41:28 +0000 (0:00:00.076) 0:01:01.336 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:41:28 +0000 (0:00:00.047) 0:01:01.383 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:41:28 +0000 (0:00:00.068) 0:01:01.452 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:41:29 +0000 (0:00:00.858) 0:01:02.311 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:41:30 +0000 (0:00:00.755) 0:01:03.066 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:41:30 +0000 (0:00:00.051) 0:01:03.117 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:41:30 +0000 (0:00:00.058) 0:01:03.176 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:41:30 +0000 (0:00:00.118) 0:01:03.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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:41:30 +0000 (0:00:00.063) 0:01:03.358 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:41:30 +0000 (0:00:00.039) 0:01:03.397 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:41:30 +0000 (0:00:00.044) 0:01:03.442 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:41:30 +0000 (0:00:00.041) 0:01:03.483 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:41:30 +0000 (0:00:00.035) 0:01:03.518 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:41:30 +0000 (0:00:00.032) 0:01:03.551 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:41:31 +0000 (0:00:00.332) 0:01:03.884 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17370iuuzh8dj/tmpe0q2kzop" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:41:31 +0000 (0:00:00.390) 0:01:04.274 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:41:31 +0000 (0:00:00.419) 0:01:04.693 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:41:32 +0000 (0:00:00.037) 0:01:04.731 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:41:32 +0000 (0:00:00.062) 0:01:04.794 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:41:32 +0000 (0:00:00.064) 0:01:04.858 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:41:32 +0000 (0:00:00.091) 0:01:04.950 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:41:32 +0000 (0:00:00.232) 0:01:05.183 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 02:41:32 +0000 (0:00:00.081) 0:01:05.264 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:41:32 +0000 (0:00:00.096) 0:01:05.361 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:41:32 +0000 (0:00:00.218) 0:01:05.580 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:41:32 +0000 (0:00:00.105) 0:01:05.686 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:41:33 +0000 (0:00:00.090) 0:01:05.777 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:41:33 +0000 (0:00:00.101) 0:01:05.879 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:41:34 +0000 (0:00:00.867) 0:01:06.746 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:41:34 +0000 (0:00:00.674) 0:01:07.420 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:41:34 +0000 (0:00:00.049) 0:01:07.470 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:41:34 +0000 (0:00:00.029) 0:01:07.500 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:41:34 +0000 (0:00:00.055) 0:01:07.555 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:41:34 +0000 (0:00:00.046) 0:01:07.601 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:41:34 +0000 (0:00:00.022) 0:01:07.624 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:41:34 +0000 (0:00:00.022) 0:01:07.647 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:41:34 +0000 (0:00:00.026) 0:01:07.673 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:41:35 +0000 (0:00:00.106) 0:01:07.780 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:41:35 +0000 (0:00:00.036) 0:01:07.817 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:41:35 +0000 (0:00:00.423) 0:01:08.241 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17370iuuzh8dj/tmphk2zh7bi" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:41:35 +0000 (0:00:00.314) 0:01:08.556 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:41:36 +0000 (0:00:00.585) 0:01:09.142 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:41:36 +0000 (0:00:00.036) 0:01:09.178 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:41:36 +0000 (0:00:00.141) 0:01:09.320 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:41:36 +0000 (0:00:00.055) 0:01:09.375 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:41:36 +0000 (0:00:00.053) 0:01:09.429 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 02:41:36 +0000 (0:00:00.259) 0:01:09.689 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:41:37 +0000 (0:00:00.061) 0:01:09.750 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:41:37 +0000 (0:00:00.052) 0:01:09.803 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:41:37 +0000 (0:00:00.042) 0:01:09.846 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:41:37 +0000 (0:00:00.051) 0:01:09.897 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:41:37 +0000 (0:00:00.028) 0:01:09.926 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:41:38 +0000 (0:00:00.877) 0:01:10.804 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:41:38 +0000 (0:00:00.773) 0:01:11.578 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:41:38 +0000 (0:00:00.039) 0:01:11.618 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:41:38 +0000 (0:00:00.029) 0:01:11.647 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:41:38 +0000 (0:00:00.044) 0:01:11.691 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:41:39 +0000 (0:00:00.054) 0:01:11.746 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:41:39 +0000 (0:00:00.057) 0:01:11.803 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:41:39 +0000 (0:00:00.049) 0:01:11.853 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:41:39 +0000 (0:00:00.048) 0:01:11.902 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:41:39 +0000 (0:00:00.050) 0:01:11.953 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:41:39 +0000 (0:00:00.044) 0:01:11.997 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:41:39 +0000 (0:00:00.443) 0:01:12.440 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17370iuuzh8dj/tmp56amtale" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:41:40 +0000 (0:00:00.371) 0:01:12.811 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:41:40 +0000 (0:00:00.449) 0:01:13.261 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:41:40 +0000 (0:00:00.135) 0:01:13.396 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:41:40 +0000 (0:00:00.080) 0:01:13.477 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:41:40 +0000 (0:00:00.076) 0:01:13.553 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:41:40 +0000 (0:00:00.051) 0:01:13.605 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:41:41 +0000 (0:00:00.220) 0:01:13.825 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 02:41:41 +0000 (0:00:00.082) 0:01:13.908 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:41:41 +0000 (0:00:00.049) 0:01:13.958 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:41:41 +0000 (0:00:00.049) 0:01:14.007 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:41:41 +0000 (0:00:00.086) 0:01:14.094 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:41:41 +0000 (0:00:00.038) 0:01:14.132 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:41:41 +0000 (0:00:00.028) 0:01:14.161 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:41:42 +0000 (0:00:00.795) 0:01:14.956 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:41:42 +0000 (0:00:00.730) 0:01:15.686 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:41:43 +0000 (0:00:00.058) 0:01:15.745 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:41:43 +0000 (0:00:00.040) 0:01:15.785 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:41:43 +0000 (0:00:00.031) 0:01:15.817 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:41:43 +0000 (0:00:00.047) 0:01:15.865 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:41:43 +0000 (0:00:00.024) 0:01:15.890 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:41:43 +0000 (0:00:00.038) 0:01:15.928 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:41:43 +0000 (0:00:00.029) 0:01:15.957 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:41:43 +0000 (0:00:00.069) 0:01:16.027 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:41:43 +0000 (0:00:00.056) 0:01:16.083 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:41:43 +0000 (0:00:00.267) 0:01:16.351 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17370iuuzh8dj/tmp5embf7n_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:41:43 +0000 (0:00:00.250) 0:01:16.601 **** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:41:44 +0000 (0:00:00.255) 0:01:16.857 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:41:44 +0000 (0:00:00.022) 0:01:16.879 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:41:44 +0000 (0:00:00.024) 0:01:16.903 **** 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_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:41:44 +0000 (0:00:00.021) 0:01:16.925 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:41:44 +0000 (0:00:00.049) 0:01:16.975 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:41:44 +0000 (0:00:00.156) 0:01:17.131 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 02:41:44 +0000 (0:00:00.076) 0:01:17.207 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:41:44 +0000 (0:00:00.090) 0:01:17.298 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:41:44 +0000 (0:00:00.042) 0:01:17.340 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:41:44 +0000 (0:00:00.197) 0:01:17.537 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:41:44 +0000 (0:00:00.044) 0:01:17.582 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022121", "end": "2024-02-14 02:41:45.026435", "rc": 1, "start": "2024-02-14 02:41:45.004314" } 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:41:45 +0000 (0:00:00.207) 0:01:17.790 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:41:45 +0000 (0:00:00.039) 0:01:17.830 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:41:45 +0000 (0:00:00.026) 0:01:17.856 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:41:45 +0000 (0:00:00.036) 0:01:17.892 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:41:45 +0000 (0:00:00.024) 0:01:17.917 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 02:41:45 +0000 (0:00:00.026) 0:01:17.943 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 02:41:45 +0000 (0:00:00.029) 0:01:17.973 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.403973", "end": "2024-02-14 02:41:45.790432", "rc": 0, "start": "2024-02-14 02:41:45.386459" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 02:41:45 +0000 (0:00:00.596) 0:01:18.569 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 02:41:45 +0000 (0:00:00.076) 0:01:18.645 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:41:45 +0000 (0:00:00.036) 0:01:18.682 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:41:46 +0000 (0:00:00.027) 0:01:18.709 **** 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_rewrite2kjqp0w_/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:41:46 +0000 (0:00:00.025) 0:01:18.735 **** included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:41:46 +0000 (0:00:00.068) 0:01:18.804 **** 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.048281", "end": "2024-02-14 02:41:46.262835", "rc": 0, "start": "2024-02-14 02:41:46.214554" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 02:41:46 +0000 (0:00:00.209) 0:01:19.013 **** 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.007631", "end": "2024-02-14 02:41:46.515454", "rc": 0, "start": "2024-02-14 02:41:46.507823" } 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:54:bc:ba:6c:a5 brd ff:ff:ff:ff:ff:ff inet 10.31.8.120/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 2743sec preferred_lft 2743sec inet6 fe80::1054:bcff:feba:6ca5/64 scope link valid_lft forever preferred_lft forever 16: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether e2:1b:df:cc:c2:b6 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.8.120 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 ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 02:41:46 +0000 (0:00:00.264) 0:01:19.277 **** 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 02:41:46 +0000 (0:00:00.060) 0:01:19.337 **** =============================================================================== linux-system-roles.network : Install packages --------------------------- 3.11s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 2.27s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 2.01s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.76s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Enable network service --------------------- 1.63s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Enable network service --------------------- 1.37s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Re-test connectivity ----------------------- 1.29s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:158 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.28s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.15s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:116 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable network service --------------------- 1.09s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Configure networking connection profiles --- 1.01s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.88s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.88s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.88s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.87s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.86s /WORKDIR/git-bond_options_rewrite2kjqp0w_/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.86s /WORKDIR/git-bond_options_rewrite2kjqp0w_/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. ---^---^---^---^---^---