# 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_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/tests_states_initscripts.yml:5 Wednesday 14 February 2024 02:44:02 +0000 (0:00:00.019) 0:00:00.019 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/tests_states_initscripts.yml:8 Wednesday 14 February 2024 02:44:03 +0000 (0:00:00.689) 0:00:00.708 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 02:44:03 +0000 (0:00:00.023) 0:00:00.732 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 02:44:03 +0000 (0:00:00.246) 0:00:00.978 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 02:44:03 +0000 (0:00:00.276) 0:00:01.254 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 02:44:03 +0000 (0:00:00.059) 0:00:01.314 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 02:44:03 +0000 (0:00:00.031) 0:00:01.345 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 02:44:03 +0000 (0:00:00.057) 0:00:01.403 **** 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_rewrite3x2ioa39/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 02:44:03 +0000 (0:00:00.260) 0:00:01.663 **** 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_rewrite3x2ioa39/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 02:44:04 +0000 (0:00:00.542) 0:00:02.206 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.195312", "end": "2024-02-14 02:44:04.851734", "rc": 0, "start": "2024-02-14 02:44:04.656422" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 02:44:04 +0000 (0:00:00.360) 0:00:02.566 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 02:44:04 +0000 (0:00:00.030) 0:00:02.596 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/tests_states_initscripts.yml:10 Wednesday 14 February 2024 02:44:04 +0000 (0:00:00.040) 0:00:02.637 **** 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_rewrite3x2ioa39/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 02:44:04 +0000 (0:00:00.029) 0:00:02.666 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 02:44:05 +0000 (0:00:00.465) 0:00:03.132 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 02:44:05 +0000 (0:00:00.016) 0:00:03.148 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:44:05 +0000 (0:00:00.059) 0:00:03.207 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:44:05 +0000 (0:00:00.034) 0:00:03.242 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:44:05 +0000 (0:00:00.116) 0:00:03.358 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:44:05 +0000 (0:00:00.032) 0:00:03.391 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:44:05 +0000 (0:00:00.035) 0:00:03.426 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005085", "end": "2024-02-14 02:44:06.869111", "rc": 0, "start": "2024-02-14 02:44:05.864026" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:44:06 +0000 (0:00:01.155) 0:00:04.582 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:44:06 +0000 (0:00:00.013) 0:00:04.596 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:44:06 +0000 (0:00:00.012) 0:00:04.608 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 02:44:06 +0000 (0:00:00.024) 0:00:04.633 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012470", "end": "2024-02-14 02:44:07.094305", "rc": 1, "start": "2024-02-14 02:44:07.081835" } 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_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:44:07 +0000 (0:00:00.159) 0:00:04.792 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:44:07 +0000 (0:00:00.016) 0:00:04.808 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:44:07 +0000 (0:00:00.126) 0:00:04.934 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:44:07 +0000 (0:00:00.015) 0:00:04.950 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:44:07 +0000 (0:00:00.028) 0:00:04.979 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:07 +0000 (0:00:00.051) 0:00:05.030 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:07 +0000 (0:00:00.080) 0:00:05.110 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:07 +0000 (0:00:00.013) 0:00:05.124 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:07 +0000 (0:00:00.011) 0:00:05.136 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:07 +0000 (0:00:00.011) 0:00:05.147 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:08 +0000 (0:00:00.829) 0:00:05.977 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:09 +0000 (0:00:01.304) 0:00:07.281 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:09 +0000 (0:00:00.025) 0:00:07.307 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:09 +0000 (0:00:00.064) 0:00:07.371 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:09 +0000 (0:00:00.069) 0:00:07.441 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:09 +0000 (0:00:00.125) 0:00:07.566 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:09 +0000 (0:00:00.051) 0:00:07.617 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:09 +0000 (0:00:00.055) 0:00:07.673 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:10 +0000 (0:00:00.053) 0:00:07.727 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:10 +0000 (0:00:00.070) 0:00:07.797 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:10 +0000 (0:00:00.046) 0:00:07.844 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:10 +0000 (0:00:00.432) 0:00:08.276 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17194nu428zsz/tmp0udbfcgz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:10 +0000 (0:00:00.301) 0:00:08.577 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:11 +0000 (0:00:00.393) 0:00:08.971 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:11 +0000 (0:00:00.045) 0:00:09.016 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:11 +0000 (0:00:00.034) 0:00:09.051 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:11 +0000 (0:00:00.086) 0:00:09.137 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:11 +0000 (0:00:00.030) 0:00:09.168 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:44:11 +0000 (0:00:00.270) 0:00:09.439 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:44:11 +0000 (0:00:00.055) 0:00:09.494 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:44:11 +0000 (0:00:00.052) 0:00:09.547 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:44:11 +0000 (0:00:00.082) 0:00:09.629 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:44:11 +0000 (0:00:00.036) 0:00:09.666 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878651.2492554, "block_size": 4096, "blocks": 8, "ctime": 1707878651.2492554, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25417, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707878651.2492554, "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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:44:12 +0000 (0:00:00.160) 0:00:09.827 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:44:12 +0000 (0:00:00.038) 0:00:09.866 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.027623", "end": "2024-02-14 02:44:12.326981", "rc": 1, "start": "2024-02-14 02:44:12.299358" } 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:44:12 +0000 (0:00:00.177) 0:00:10.043 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:44:12 +0000 (0:00:00.025) 0:00:10.069 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003879", "end": "2024-02-14 02:44:12.505070", "rc": 0, "start": "2024-02-14 02:44:12.501191" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:44:12 +0000 (0:00:00.145) 0:00:10.215 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:44:12 +0000 (0:00:00.027) 0:00:10.242 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003796", "end": "2024-02-14 02:44:12.678336", "rc": 0, "start": "2024-02-14 02:44:12.674540" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:44:12 +0000 (0:00:00.155) 0:00:10.397 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:44:12 +0000 (0:00:00.074) 0:00:10.472 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:44:12 +0000 (0:00:00.038) 0:00:10.511 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:44:12 +0000 (0:00:00.051) 0:00:10.562 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:44:12 +0000 (0:00:00.059) 0:00:10.621 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:44:12 +0000 (0:00:00.037) 0:00:10.659 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.048) 0:00:10.708 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.046) 0:00:10.754 **** 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.049065", "end": "2024-02-14 02:44:13.251401", "rc": 1, "start": "2024-02-14 02:44:13.202336" } 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_rewrite3x2ioa39/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.214) 0:00:10.969 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.071) 0:00:11.041 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.038) 0:00:11.079 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.072) 0:00:11.152 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.037) 0:00:11.189 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.052) 0:00:11.241 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003824", "end": "2024-02-14 02:44:13.701707", "rc": 0, "start": "2024-02-14 02:44:13.697883" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.181) 0:00:11.423 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.078) 0:00:11.502 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.026) 0:00:11.528 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 02:44:13 +0000 (0:00:00.046) 0:00:11.574 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007425", "end": "2024-02-14 02:44:14.011551", "rc": 1, "start": "2024-02-14 02:44:14.004126" } 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_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:44:14 +0000 (0:00:00.172) 0:00:11.747 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:44:14 +0000 (0:00:00.103) 0:00:11.850 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:44:14 +0000 (0:00:00.151) 0:00:12.002 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:44:14 +0000 (0:00:00.024) 0:00:12.026 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 02:44:14 +0000 (0:00:00.042) 0:00:12.068 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:14 +0000 (0:00:00.042) 0:00:12.111 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:14 +0000 (0:00:00.040) 0:00:12.151 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:14 +0000 (0:00:00.039) 0:00:12.191 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:14 +0000 (0:00:00.026) 0:00:12.217 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:14 +0000 (0:00:00.071) 0:00:12.288 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:15 +0000 (0:00:00.716) 0:00:13.005 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.954) 0:00:13.959 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.028) 0:00:13.988 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.043) 0:00:14.031 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.024) 0:00:14.056 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.075) 0:00:14.132 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.028) 0:00:14.160 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.043) 0:00:14.203 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.031) 0:00:14.235 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.095) 0:00:14.330 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.047) 0:00:14.378 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:16 +0000 (0:00:00.269) 0:00:14.648 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17194nu428zsz/tmpfe067rt9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:17 +0000 (0:00:00.324) 0:00:14.972 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:17 +0000 (0:00:00.243) 0:00:15.216 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:17 +0000 (0:00:00.024) 0:00:15.240 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:17 +0000 (0:00:00.031) 0:00:15.272 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:17 +0000 (0:00:00.032) 0:00:15.304 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:17 +0000 (0:00:00.070) 0:00:15.374 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 02:44:17 +0000 (0:00:00.197) 0:00:15.572 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:44:17 +0000 (0:00:00.039) 0:00:15.611 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:44:17 +0000 (0:00:00.051) 0:00:15.663 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.046) 0:00:15.710 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.201) 0:00:15.911 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.025) 0:00:15.937 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.065) 0:00:16.003 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.043) 0:00:16.046 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878657.499245, "block_size": 4096, "blocks": 8, "ctime": 1707878657.499245, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25417, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707878657.499245, "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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.142) 0:00:16.189 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.025) 0:00:16.214 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024107", "end": "2024-02-14 02:44:18.672013", "rc": 1, "start": "2024-02-14 02:44:18.647906" } 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.180) 0:00:16.394 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.047) 0:00:16.442 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003866", "end": "2024-02-14 02:44:18.903313", "rc": 0, "start": "2024-02-14 02:44:18.899447" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:44:18 +0000 (0:00:00.207) 0:00:16.649 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.071) 0:00:16.720 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003824", "end": "2024-02-14 02:44:19.157705", "rc": 0, "start": "2024-02-14 02:44:19.153881" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.153) 0:00:16.874 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.050) 0:00:16.925 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.035) 0:00:16.961 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.031) 0:00:16.992 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.027) 0:00:17.019 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.028) 0:00:17.048 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.066) 0:00:17.114 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.049) 0:00:17.164 **** 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.048561", "end": "2024-02-14 02:44:19.655951", "rc": 1, "start": "2024-02-14 02:44:19.607390" } 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_rewrite3x2ioa39/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.204) 0:00:17.368 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.041) 0:00:17.410 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.030) 0:00:17.441 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.051) 0:00:17.492 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.043) 0:00:17.536 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:44:19 +0000 (0:00:00.046) 0:00:17.583 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003852", "end": "2024-02-14 02:44:20.016962", "rc": 0, "start": "2024-02-14 02:44:20.013110" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:44:20 +0000 (0:00:00.158) 0:00:17.741 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:44:20 +0000 (0:00:00.040) 0:00:17.782 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:44:20 +0000 (0:00:00.041) 0:00:17.823 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:44:20 +0000 (0:00:00.075) 0:00:17.898 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:20 +0000 (0:00:00.075) 0:00:17.973 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:20 +0000 (0:00:00.046) 0:00:18.020 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:20 +0000 (0:00:00.040) 0:00:18.061 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:20 +0000 (0:00:00.037) 0:00:18.098 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:20 +0000 (0:00:00.023) 0:00:18.122 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:21 +0000 (0:00:00.788) 0:00:18.910 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:22 +0000 (0:00:01.003) 0:00:19.914 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.030) 0:00:19.944 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.023) 0:00:19.968 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.059) 0:00:20.027 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.057) 0:00:20.084 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.022) 0:00:20.106 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.028) 0:00:20.135 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.031) 0:00:20.167 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.025) 0:00:20.192 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.083) 0:00:20.275 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:22 +0000 (0:00:00.294) 0:00:20.570 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17194nu428zsz/tmpq_arqkir" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.284) 0:00:20.855 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.243) 0:00:21.098 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.023) 0:00:21.122 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.023) 0:00:21.146 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.024) 0:00:21.170 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.022) 0:00:21.193 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.156) 0:00:21.349 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.028) 0:00:21.378 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.086) 0:00:21.464 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.043) 0:00:21.508 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.043) 0:00:21.551 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.029) 0:00:21.580 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.022) 0:00:21.602 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:23 +0000 (0:00:00.026) 0:00:21.629 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:24 +0000 (0:00:00.721) 0:00:22.351 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:25 +0000 (0:00:00.996) 0:00:23.347 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:25 +0000 (0:00:00.038) 0:00:23.385 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:25 +0000 (0:00:00.038) 0:00:23.424 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:25 +0000 (0:00:00.036) 0:00:23.460 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:25 +0000 (0:00:00.053) 0:00:23.513 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:25 +0000 (0:00:00.022) 0:00:23.536 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:25 +0000 (0:00:00.024) 0:00:23.561 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:25 +0000 (0:00:00.049) 0:00:23.610 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:25 +0000 (0:00:00.026) 0:00:23.636 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:26 +0000 (0:00:00.053) 0:00:23.690 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:26 +0000 (0:00:00.250) 0:00:23.941 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17194nu428zsz/tmpsycxz96j" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:26 +0000 (0:00:00.220) 0:00:24.162 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:26 +0000 (0:00:00.517) 0:00:24.679 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.025) 0:00:24.704 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.025) 0:00:24.730 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.061) 0:00:24.792 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.023) 0:00:24.815 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.137) 0:00:24.953 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.059) 0:00:25.013 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.079) 0:00:25.092 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878666.8732295, "block_size": 4096, "blocks": 0, "ctime": 1707878666.8722296, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17651, "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": 1707878666.8722296, "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_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.189) 0:00:25.282 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.032) 0:00:25.314 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.042) 0:00:25.357 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.046) 0:00:25.404 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878666.69323, "block_size": 4096, "blocks": 8, "ctime": 1707878663.3872352, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25410, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707878663.3872352, "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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.155) 0:00:25.559 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:44:27 +0000 (0:00:00.024) 0:00:25.584 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024935", "end": "2024-02-14 02:44:28.041236", "rc": 1, "start": "2024-02-14 02:44:28.016301" } 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.164) 0:00:25.748 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.023) 0:00:25.772 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004028", "end": "2024-02-14 02:44:28.208562", "rc": 0, "start": "2024-02-14 02:44:28.204534" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.187) 0:00:25.959 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.051) 0:00:26.010 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003884", "end": "2024-02-14 02:44:28.453207", "rc": 0, "start": "2024-02-14 02:44:28.449323" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.154) 0:00:26.165 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.053) 0:00:26.218 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.068) 0:00:26.287 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.070) 0:00:26.358 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.057) 0:00:26.416 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.039) 0:00:26.455 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.032) 0:00:26.488 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:44:28 +0000 (0:00:00.131) 0:00:26.619 **** 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.055183", "end": "2024-02-14 02:44:29.133074", "rc": 0, "start": "2024-02-14 02:44:29.077891" } 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_rewrite3x2ioa39/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 02:44:29 +0000 (0:00:00.223) 0:00:26.843 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:44:29 +0000 (0:00:00.040) 0:00:26.883 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:44:29 +0000 (0:00:00.029) 0:00:26.912 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:44:29 +0000 (0:00:00.047) 0:00:26.960 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:44:29 +0000 (0:00:00.090) 0:00:27.050 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:44:29 +0000 (0:00:00.037) 0:00:27.088 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003815", "end": "2024-02-14 02:44:29.522300", "rc": 0, "start": "2024-02-14 02:44:29.518485" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:44:29 +0000 (0:00:00.143) 0:00:27.231 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:44:29 +0000 (0:00:00.023) 0:00:27.255 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:44:29 +0000 (0:00:00.023) 0:00:27.278 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:44:29 +0000 (0:00:00.044) 0:00:27.323 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:29 +0000 (0:00:00.040) 0:00:27.363 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:29 +0000 (0:00:00.063) 0:00:27.427 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:29 +0000 (0:00:00.036) 0:00:27.463 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:29 +0000 (0:00:00.026) 0:00:27.490 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:29 +0000 (0:00:00.025) 0:00:27.516 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:30 +0000 (0:00:00.758) 0:00:28.274 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.943) 0:00:29.217 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.023) 0:00:29.241 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.023) 0:00:29.264 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.028) 0:00:29.293 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.049) 0:00:29.343 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.024) 0:00:29.367 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.028) 0:00:29.396 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.027) 0:00:29.423 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.025) 0:00:29.449 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:31 +0000 (0:00:00.023) 0:00:29.472 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.240) 0:00:29.713 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17194nu428zsz/tmp7j57k0ex" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.357) 0:00:30.070 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.240) 0:00:30.310 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.031) 0:00:30.342 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.026) 0:00:30.368 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.048) 0:00:30.416 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.022) 0:00:30.439 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.148) 0:00:30.588 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 02:44:32 +0000 (0:00:00.042) 0:00:30.630 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.072) 0:00:30.703 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.046) 0:00:30.750 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.029) 0:00:30.779 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.026) 0:00:30.806 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.023) 0:00:30.829 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:33 +0000 (0:00:00.727) 0:00:31.557 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:34 +0000 (0:00:00.944) 0:00:32.501 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:34 +0000 (0:00:00.025) 0:00:32.526 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:34 +0000 (0:00:00.023) 0:00:32.550 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:34 +0000 (0:00:00.033) 0:00:32.583 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:34 +0000 (0:00:00.059) 0:00:32.642 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:34 +0000 (0:00:00.025) 0:00:32.668 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:35 +0000 (0:00:00.022) 0:00:32.691 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:35 +0000 (0:00:00.028) 0:00:32.719 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:35 +0000 (0:00:00.027) 0:00:32.746 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:35 +0000 (0:00:00.039) 0:00:32.786 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:35 +0000 (0:00:00.275) 0:00:33.061 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17194nu428zsz/tmp_w6q387n" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:35 +0000 (0:00:00.239) 0:00:33.301 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.513) 0:00:33.814 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.043) 0:00:33.858 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.072) 0:00:33.930 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.035) 0:00:33.965 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.062) 0:00:34.028 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.162) 0:00:34.190 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.045) 0:00:34.236 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.079) 0:00:34.316 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.062) 0:00:34.378 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.123) 0:00:34.502 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.031) 0:00:34.534 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:36 +0000 (0:00:00.042) 0:00:34.576 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:37 +0000 (0:00:00.705) 0:00:35.282 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:38 +0000 (0:00:00.941) 0:00:36.223 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:38 +0000 (0:00:00.029) 0:00:36.253 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:38 +0000 (0:00:00.022) 0:00:36.275 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:38 +0000 (0:00:00.024) 0:00:36.299 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:38 +0000 (0:00:00.096) 0:00:36.396 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:38 +0000 (0:00:00.031) 0:00:36.428 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:38 +0000 (0:00:00.079) 0:00:36.508 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:38 +0000 (0:00:00.054) 0:00:36.563 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:38 +0000 (0:00:00.060) 0:00:36.623 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:39 +0000 (0:00:00.082) 0:00:36.706 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:39 +0000 (0:00:00.340) 0:00:37.047 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17194nu428zsz/tmpl3x8ovk_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:39 +0000 (0:00:00.324) 0:00:37.372 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:39 +0000 (0:00:00.283) 0:00:37.656 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:39 +0000 (0:00:00.025) 0:00:37.681 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.036) 0:00:37.718 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.038) 0:00:37.757 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.049) 0:00:37.806 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.142) 0:00:37.949 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.057) 0:00:38.006 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.038) 0:00:38.045 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707878675.9972146, "block_size": 4096, "blocks": 0, "ctime": 1707878675.9962144, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17651, "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": 1707878675.9962144, "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_rewrite3x2ioa39/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.154) 0:00:38.199 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.112) 0:00:38.311 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.069) 0:00:38.381 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.043) 0:00:38.424 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.158) 0:00:38.583 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:44:40 +0000 (0:00:00.021) 0:00:38.604 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025696", "end": "2024-02-14 02:44:41.061170", "rc": 1, "start": "2024-02-14 02:44:41.035474" } 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.169) 0:00:38.774 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.025) 0:00:38.799 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.023) 0:00:38.823 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.022) 0:00:38.846 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.023) 0:00:38.870 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.023) 0:00:38.893 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.024) 0:00:38.918 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.022) 0:00:38.940 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.024) 0:00:38.965 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.042) 0:00:39.007 **** 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.054426", "end": "2024-02-14 02:44:41.492089", "rc": 0, "start": "2024-02-14 02:44:41.437663" } 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_rewrite3x2ioa39/tests/playbooks/tests_states.yml:103 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.192) 0:00:39.200 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.041) 0:00:39.242 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.024) 0:00:39.267 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.049) 0:00:39.316 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.038) 0:00:39.354 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.045) 0:00:39.400 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003812", "end": "2024-02-14 02:44:41.834630", "rc": 0, "start": "2024-02-14 02:44:41.830818" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.143) 0:00:39.543 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.025) 0:00:39.569 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.023) 0:00:39.593 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:44:41 +0000 (0:00:00.048) 0:00:39.642 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:42 +0000 (0:00:00.060) 0:00:39.702 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:42 +0000 (0:00:00.102) 0:00:39.805 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:42 +0000 (0:00:00.034) 0:00:39.840 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:42 +0000 (0:00:00.027) 0:00:39.867 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:42 +0000 (0:00:00.030) 0:00:39.897 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:43 +0000 (0:00:00.788) 0:00:40.686 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:43 +0000 (0:00:00.962) 0:00:41.649 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:43 +0000 (0:00:00.024) 0:00:41.673 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.024) 0:00:41.697 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.025) 0:00:41.722 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.048) 0:00:41.771 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.024) 0:00:41.795 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.059) 0:00:41.855 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.030) 0:00:41.885 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.027) 0:00:41.913 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.044) 0:00:41.958 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.262) 0:00:42.220 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17194nu428zsz/tmp6e1d9uh6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:44 +0000 (0:00:00.217) 0:00:42.437 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.268) 0:00:42.705 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.029) 0:00:42.735 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.025) 0:00:42.760 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.025) 0:00:42.785 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.021) 0:00:42.807 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.135) 0:00:42.942 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.026) 0:00:42.969 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.052) 0:00:43.022 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.100) 0:00:43.122 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.033) 0:00:43.155 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.031) 0:00:43.186 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:45 +0000 (0:00:00.057) 0:00:43.244 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:46 +0000 (0:00:00.761) 0:00:44.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:47 +0000 (0:00:00.999) 0:00:45.005 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:47 +0000 (0:00:00.114) 0:00:45.120 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:47 +0000 (0:00:00.048) 0:00:45.168 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:47 +0000 (0:00:00.072) 0:00:45.240 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:47 +0000 (0:00:00.048) 0:00:45.289 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:47 +0000 (0:00:00.024) 0:00:45.313 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:47 +0000 (0:00:00.067) 0:00:45.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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:47 +0000 (0:00:00.026) 0:00:45.407 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:47 +0000 (0:00:00.032) 0:00:45.439 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:47 +0000 (0:00:00.046) 0:00:45.486 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.252) 0:00:45.738 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17194nu428zsz/tmpr96ddqrf" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.251) 0:00:45.990 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.510) 0:00:46.500 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.039) 0:00:46.540 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.027) 0:00:46.568 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.047) 0:00:46.615 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:48 +0000 (0:00:00.047) 0:00:46.662 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 02:44:49 +0000 (0:00:00.147) 0:00:46.809 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:49 +0000 (0:00:00.050) 0:00:46.860 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:49 +0000 (0:00:00.082) 0:00:46.942 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:49 +0000 (0:00:00.030) 0:00:46.973 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:49 +0000 (0:00:00.022) 0:00:46.996 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:49 +0000 (0:00:00.026) 0:00:47.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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:50 +0000 (0:00:00.732) 0:00:47.755 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.942) 0:00:48.698 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.025) 0:00:48.723 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.024) 0:00:48.748 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.030) 0:00:48.778 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.088) 0:00:48.867 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.022) 0:00:48.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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.023) 0:00:48.913 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.027) 0:00:48.940 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.022) 0:00:48.963 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.022) 0:00:48.985 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.241) 0:00:49.226 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17194nu428zsz/tmphjufeh3b" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:51 +0000 (0:00:00.225) 0:00:49.452 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:52 +0000 (0:00:00.270) 0:00:49.723 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:52 +0000 (0:00:00.038) 0:00:49.761 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:52 +0000 (0:00:00.049) 0:00:49.811 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:52 +0000 (0:00:00.065) 0:00:49.877 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:52 +0000 (0:00:00.031) 0:00:49.908 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:44:52 +0000 (0:00:00.138) 0:00:50.047 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 02:44:52 +0000 (0:00:00.082) 0:00:50.129 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:52 +0000 (0:00:00.043) 0:00:50.173 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:52 +0000 (0:00:00.043) 0:00:50.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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:52 +0000 (0:00:00.034) 0:00:50.250 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:52 +0000 (0:00:00.026) 0:00:50.277 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:52 +0000 (0:00:00.050) 0:00:50.327 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:53 +0000 (0:00:00.773) 0:00:51.100 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:54 +0000 (0:00:01.050) 0:00:52.151 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:54 +0000 (0:00:00.066) 0:00:52.217 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:54 +0000 (0:00:00.061) 0:00:52.278 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:54 +0000 (0:00:00.096) 0:00:52.374 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:54 +0000 (0:00:00.081) 0:00:52.456 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:54 +0000 (0:00:00.028) 0:00:52.485 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:44:54 +0000 (0:00:00.037) 0:00:52.522 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:44:54 +0000 (0:00:00.067) 0:00:52.589 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:44:54 +0000 (0:00:00.042) 0:00:52.631 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:44:55 +0000 (0:00:00.059) 0:00:52.690 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:44:55 +0000 (0:00:00.277) 0:00:52.968 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17194nu428zsz/tmpld6q30oc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:44:55 +0000 (0:00:00.372) 0:00:53.341 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:44:55 +0000 (0:00:00.309) 0:00:53.650 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:44:56 +0000 (0:00:00.046) 0:00:53.696 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:44:56 +0000 (0:00:00.039) 0:00:53.737 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:44:56 +0000 (0:00:00.026) 0:00:53.763 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:44:56 +0000 (0:00:00.067) 0:00:53.830 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:44:56 +0000 (0:00:00.158) 0:00:53.989 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 02:44:56 +0000 (0:00:00.098) 0:00:54.087 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:44:56 +0000 (0:00:00.040) 0:00:54.128 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:44:56 +0000 (0:00:00.034) 0:00:54.162 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:44:56 +0000 (0:00:00.179) 0:00:54.341 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:44:56 +0000 (0:00:00.023) 0:00:54.365 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025610", "end": "2024-02-14 02:44:56.820735", "rc": 1, "start": "2024-02-14 02:44:56.795125" } 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:44:56 +0000 (0:00:00.171) 0:00:54.537 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:44:56 +0000 (0:00:00.033) 0:00:54.570 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:44:56 +0000 (0:00:00.026) 0:00:54.596 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:44:56 +0000 (0:00:00.026) 0:00:54.623 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:44:56 +0000 (0:00:00.026) 0:00:54.650 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 02:44:56 +0000 (0:00:00.026) 0:00:54.676 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.026) 0:00:54.703 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.035) 0:00:54.738 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.023) 0:00:54.762 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.039) 0:00:54.801 **** 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.052540", "end": "2024-02-14 02:44:57.281050", "rc": 0, "start": "2024-02-14 02:44:57.228510" } 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_rewrite3x2ioa39/tests/playbooks/tests_states.yml:126 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.223) 0:00:55.024 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.038) 0:00:55.063 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.023) 0:00:55.087 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.047) 0:00:55.135 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.036) 0:00:55.172 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.036) 0:00:55.209 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004076", "end": "2024-02-14 02:44:57.643078", "rc": 0, "start": "2024-02-14 02:44:57.639002" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.155) 0:00:55.365 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.037) 0:00:55.402 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.024) 0:00:55.427 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.047) 0:00:55.474 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.040) 0:00:55.515 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.040) 0:00:55.555 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.104) 0:00:55.659 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:44:57 +0000 (0:00:00.022) 0:00:55.682 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:44:58 +0000 (0:00:00.023) 0:00:55.705 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:44:58 +0000 (0:00:00.767) 0:00:56.473 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.993) 0:00:57.466 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.029) 0:00:57.496 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.028) 0:00:57.525 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.024) 0:00:57.549 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.056) 0:00:57.606 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:44:59 +0000 (0:00:00.027) 0:00:57.633 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.072) 0:00:57.705 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.042) 0:00:57.748 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.044) 0:00:57.792 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.031) 0:00:57.823 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.239) 0:00:58.063 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17194nu428zsz/tmpdr3pdf_a" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.224) 0:00:58.287 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.244) 0:00:58.531 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.021) 0:00:58.553 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.024) 0:00:58.577 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.024) 0:00:58.602 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:45:00 +0000 (0:00:00.024) 0:00:58.626 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:45:01 +0000 (0:00:00.139) 0:00:58.765 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 02:45:01 +0000 (0:00:00.024) 0:00:58.790 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:45:01 +0000 (0:00:00.039) 0:00:58.830 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:45:01 +0000 (0:00:00.085) 0:00:58.915 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:45:01 +0000 (0:00:00.031) 0:00:58.947 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:45:01 +0000 (0:00:00.027) 0:00:58.974 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:45:01 +0000 (0:00:00.024) 0:00:58.998 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:45:02 +0000 (0:00:00.754) 0:00:59.753 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.967) 0:01:00.720 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.067) 0:01:00.788 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.051) 0:01:00.840 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.047) 0:01:00.888 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.065) 0:01:00.953 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.064) 0:01:01.017 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.028) 0:01:01.045 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.030) 0:01:01.076 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.023) 0:01:01.099 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.026) 0:01:01.126 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.240) 0:01:01.366 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17194nu428zsz/tmpvteawbq_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:45:03 +0000 (0:00:00.266) 0:01:01.632 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:45:04 +0000 (0:00:00.499) 0:01:02.131 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:45:04 +0000 (0:00:00.022) 0:01:02.154 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:45:04 +0000 (0:00:00.023) 0:01:02.178 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:45:04 +0000 (0:00:00.024) 0:01:02.202 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:45:04 +0000 (0:00:00.021) 0:01:02.224 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 02:45:04 +0000 (0:00:00.136) 0:01:02.361 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:45:04 +0000 (0:00:00.036) 0:01:02.397 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:45:04 +0000 (0:00:00.072) 0:01:02.470 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:45:04 +0000 (0:00:00.028) 0:01:02.499 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:45:04 +0000 (0:00:00.024) 0:01:02.523 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:45:04 +0000 (0:00:00.036) 0:01:02.560 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:45:05 +0000 (0:00:00.757) 0:01:03.317 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.950) 0:01:04.268 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.032) 0:01:04.300 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.027) 0:01:04.328 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.061) 0:01:04.390 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.045) 0:01:04.435 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.022) 0:01:04.458 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.035) 0:01:04.494 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.026) 0:01:04.520 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.023) 0:01:04.543 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:45:06 +0000 (0:00:00.023) 0:01:04.567 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:45:07 +0000 (0:00:00.238) 0:01:04.805 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17194nu428zsz/tmpmnvx6kq8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:45:07 +0000 (0:00:00.224) 0:01:05.030 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:45:07 +0000 (0:00:00.250) 0:01:05.280 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:45:07 +0000 (0:00:00.024) 0:01:05.305 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:45:07 +0000 (0:00:00.025) 0:01:05.330 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:45:07 +0000 (0:00:00.025) 0:01:05.356 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:45:07 +0000 (0:00:00.023) 0:01:05.379 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:45:07 +0000 (0:00:00.132) 0:01:05.512 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 02:45:07 +0000 (0:00:00.070) 0:01:05.582 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:45:07 +0000 (0:00:00.037) 0:01:05.620 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:45:07 +0000 (0:00:00.041) 0:01:05.661 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:45:08 +0000 (0:00:00.028) 0:01:05.689 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:45:08 +0000 (0:00:00.022) 0:01:05.711 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:45:08 +0000 (0:00:00.022) 0:01:05.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:45:08 +0000 (0:00:00.749) 0:01:06.484 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:45:09 +0000 (0:00:01.021) 0:01:07.505 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:45:09 +0000 (0:00:00.030) 0:01:07.536 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:45:09 +0000 (0:00:00.024) 0:01:07.561 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:45:09 +0000 (0:00:00.042) 0:01:07.603 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:45:09 +0000 (0:00:00.052) 0:01:07.656 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:45:09 +0000 (0:00:00.024) 0:01:07.680 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:45:10 +0000 (0:00:00.023) 0:01:07.704 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:45:10 +0000 (0:00:00.026) 0:01:07.730 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:45:10 +0000 (0:00:00.024) 0:01:07.755 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:45:10 +0000 (0:00:00.027) 0:01:07.782 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:45:10 +0000 (0:00:00.253) 0:01:08.036 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17194nu428zsz/tmp9u3l825h" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:45:10 +0000 (0:00:00.260) 0:01:08.296 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:45:10 +0000 (0:00:00.278) 0:01:08.574 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:45:10 +0000 (0:00:00.021) 0:01:08.596 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:45:10 +0000 (0:00:00.025) 0:01:08.622 **** 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_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:45:10 +0000 (0:00:00.040) 0:01:08.662 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:45:11 +0000 (0:00:00.064) 0:01:08.727 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:45:11 +0000 (0:00:00.231) 0:01:08.958 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 02:45:11 +0000 (0:00:00.050) 0:01:09.009 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:45:11 +0000 (0:00:00.052) 0:01:09.061 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:45:11 +0000 (0:00:00.023) 0:01:09.085 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:45:11 +0000 (0:00:00.150) 0:01:09.236 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:45:11 +0000 (0:00:00.033) 0:01:09.270 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026589", "end": "2024-02-14 02:45:11.726963", "rc": 1, "start": "2024-02-14 02:45:11.700374" } 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:45:11 +0000 (0:00:00.165) 0:01:09.435 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:45:11 +0000 (0:00:00.024) 0:01:09.460 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:45:11 +0000 (0:00:00.023) 0:01:09.483 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:45:11 +0000 (0:00:00.024) 0:01:09.508 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:45:11 +0000 (0:00:00.023) 0:01:09.532 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 02:45:11 +0000 (0:00:00.023) 0:01:09.555 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 02:45:11 +0000 (0:00:00.026) 0:01:09.582 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.693344", "end": "2024-02-14 02:45:12.706909", "rc": 0, "start": "2024-02-14 02:45:12.013565" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.838) 0:01:10.421 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.031) 0:01:10.452 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.028) 0:01:10.481 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.027) 0:01:10.509 **** 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_rewrite3x2ioa39/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.035) 0:01:10.544 **** included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:45:12 +0000 (0:00:00.052) 0:01:10.596 **** 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.055440", "end": "2024-02-14 02:45:13.108030", "rc": 0, "start": "2024-02-14 02:45:13.052590" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 02:45:13 +0000 (0:00:00.222) 0:01:10.819 **** 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.008075", "end": "2024-02-14 02:45:13.256076", "rc": 0, "start": "2024-02-14 02:45:13.248001" } 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 0a:4c:4b:bf:8d:f7 brd ff:ff:ff:ff:ff:ff inet 10.31.12.253/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 3301sec preferred_lft 3301sec inet6 fe80::84c:4bff:febf:8df7/64 scope link valid_lft forever preferred_lft forever 13: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether ee:81:52:d2:c6:cf brd ff:ff:ff:ff:ff:ff 26: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether b2:63:c7:35:95:4e brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever inet6 fe80::b063:c7ff:fe35:954e/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.253 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 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 fe80::/64 dev rpltstbr proto kernel metric 256 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_rewrite3x2ioa39/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 02:45:13 +0000 (0:00:00.147) 0:01:10.966 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.572014", "end": "2024-02-14 02:45:13.974580", "rc": 0, "start": "2024-02-14 02:45:13.402566" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1065 0 --:--:-- --:--:-- --:--:-- 1066 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1134 0 --:--:-- --:--:-- --:--:-- 1132 100 291 100 291 0 0 1133 0 --:--:-- --:--:-- --:--:-- 1132 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=337 changed=13 unreachable=0 failed=0 skipped=225 rescued=0 ignored=10 Wednesday 14 February 2024 02:45:13 +0000 (0:00:00.705) 0:01:11.671 **** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.04s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.47s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Configure networking connection profiles --- 1.39s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.38s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Check which packages are installed --------- 1.30s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gather current interface info ------------------------------------------- 1.16s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.05s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable network service --------------------- 1.01s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.98s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewrite3x2ioa39/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---