# 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-route_typejcodjm1o/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/tests_states_initscripts.yml:5 Wednesday 10 January 2024 15:51:56 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typejcodjm1o/tests/tests_states_initscripts.yml:8 Wednesday 10 January 2024 15:51:56 +0000 (0:00:00.532) 0:00:00.544 ***** included: /WORKDIR/git-route_typejcodjm1o/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-route_typejcodjm1o/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 15:51:57 +0000 (0:00:00.021) 0:00:00.565 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/tasks/el_repo_setup.yml:19 Wednesday 10 January 2024 15:51:57 +0000 (0:00:00.228) 0:00:00.794 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/tasks/el_repo_setup.yml:24 Wednesday 10 January 2024 15:51:57 +0000 (0:00:00.187) 0:00:00.982 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/tasks/el_repo_setup.yml:28 Wednesday 10 January 2024 15:51:57 +0000 (0:00:00.021) 0:00:01.003 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/tasks/el_repo_setup.yml:53 Wednesday 10 January 2024 15:51:57 +0000 (0:00:00.017) 0:00:01.021 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 15:51:57 +0000 (0:00:00.055) 0:00:01.076 ***** 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-route_typejcodjm1o/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 15:51:57 +0000 (0:00:00.199) 0:00:01.276 ***** 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-route_typejcodjm1o/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 15:51:58 +0000 (0:00:00.482) 0:00:01.759 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.189736", "end": "2024-01-10 15:51:58.531495", "rc": 0, "start": "2024-01-10 15:51:58.341759" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 15:51:58 +0000 (0:00:00.343) 0:00:02.102 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 15:51:58 +0000 (0:00:00.010) 0:00:02.113 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/tests_states_initscripts.yml:10 Wednesday 10 January 2024 15:51:58 +0000 (0:00:00.009) 0:00:02.123 ***** 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-route_typejcodjm1o/tests/playbooks/tests_states.yml:3 Wednesday 10 January 2024 15:51:58 +0000 (0:00:00.009) 0:00:02.133 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tests_states.yml:11 Wednesday 10 January 2024 15:51:58 +0000 (0:00:00.405) 0:00:02.538 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tests_states.yml:22 Wednesday 10 January 2024 15:51:58 +0000 (0:00:00.013) 0:00:02.552 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.018) 0:00:02.570 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.010) 0:00:02.581 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.038) 0:00:02.620 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.017) 0:00:02.638 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.013) 0:00:02.652 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003231", "end": "2024-01-10 15:51:59.204329", "rc": 0, "start": "2024-01-10 15:51:59.201098" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.127) 0:00:02.780 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.012) 0:00:02.792 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.014) 0:00:02.806 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.021) 0:00:02.827 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011746", "end": "2024-01-10 15:51:59.389565", "rc": 1, "start": "2024-01-10 15:51:59.377819" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.146) 0:00:02.974 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.017) 0:00:02.992 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.137) 0:00:03.129 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.012) 0:00:03.141 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.017) 0:00:03.159 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.035) 0:00:03.194 ***** included: /WORKDIR/git-route_typejcodjm1o/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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.071) 0:00:03.266 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.014) 0:00:03.280 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.011) 0:00:03.292 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:51:59 +0000 (0:00:00.010) 0:00:03.302 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:00 +0000 (0:00:00.812) 0:00:04.114 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:01 +0000 (0:00:00.789) 0:00:04.903 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:01 +0000 (0:00:00.022) 0:00:04.926 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:01 +0000 (0:00:00.021) 0:00:04.947 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:01 +0000 (0:00:00.021) 0:00:04.968 ***** changed: [sut] => { "changed": true, "changes": { "installed": [ "bridge-utils" ] }, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7_9.1.x86_64 providing dhclient is already installed", "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 rhel-Server 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:03 +0000 (0:00:02.248) 0:00:07.217 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:03 +0000 (0:00:00.020) 0:00:07.238 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:03 +0000 (0:00:00.021) 0:00:07.260 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:03 +0000 (0:00:00.026) 0:00:07.286 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:03 +0000 (0:00:00.041) 0:00:07.328 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:03 +0000 (0:00:00.022) 0:00:07.350 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:04 +0000 (0:00:00.353) 0:00:07.704 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17307s7_ohep4/tmpihmhe7l5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:04 +0000 (0:00:00.246) 0:00:07.951 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:04 +0000 (0:00:00.347) 0:00:08.298 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:04 +0000 (0:00:00.020) 0:00:08.319 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:04 +0000 (0:00:00.023) 0:00:08.343 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:04 +0000 (0:00:00.022) 0:00:08.365 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:04 +0000 (0:00:00.020) 0:00:08.386 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.210) 0:00:08.596 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.029) 0:00:08.625 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.040) 0:00:08.666 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.037) 0:00:08.704 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.046) 0:00:08.751 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901924.7174988, "block_size": 4096, "blocks": 8, "ctime": 1704901924.7174988, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468705, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704901924.7174988, "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-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.134) 0:00:08.885 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.025) 0:00:08.911 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025015", "end": "2024-01-10 15:52:05.488393", "rc": 1, "start": "2024-01-10 15:52:05.463378" } 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-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.156) 0:00:09.067 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.022) 0:00:09.089 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003264", "end": "2024-01-10 15:52:05.643048", "rc": 0, "start": "2024-01-10 15:52:05.639784" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.144) 0:00:09.234 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.027) 0:00:09.262 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003432", "end": "2024-01-10 15:52:05.830180", "rc": 0, "start": "2024-01-10 15:52:05.826748" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.148) 0:00:09.410 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.027) 0:00:09.438 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.023) 0:00:09.461 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.028) 0:00:09.490 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.023) 0:00:09.513 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:52:05 +0000 (0:00:00.026) 0:00:09.540 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.022) 0:00:09.562 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.039) 0:00:09.602 ***** 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.046233", "end": "2024-01-10 15:52:06.201588", "rc": 1, "start": "2024-01-10 15:52:06.155355" } 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-route_typejcodjm1o/tests/playbooks/tests_states.yml:45 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.203) 0:00:09.805 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.035) 0:00:09.841 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.022) 0:00:09.864 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.050) 0:00:09.914 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.038) 0:00:09.952 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.032) 0:00:09.984 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003183", "end": "2024-01-10 15:52:06.537312", "rc": 0, "start": "2024-01-10 15:52:06.534129" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.131) 0:00:10.116 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.021) 0:00:10.138 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.022) 0:00:10.161 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.039) 0:00:10.200 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007044", "end": "2024-01-10 15:52:06.755268", "rc": 1, "start": "2024-01-10 15:52:06.748224" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.135) 0:00:10.335 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:52:06 +0000 (0:00:00.042) 0:00:10.378 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.204) 0:00:10.583 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.029) 0:00:10.612 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.043) 0:00:10.656 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.040) 0:00:10.697 ***** included: /WORKDIR/git-route_typejcodjm1o/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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.051) 0:00:10.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.034) 0:00:10.782 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.021) 0:00:10.803 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:07 +0000 (0:00:00.021) 0:00:10.825 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:08 +0000 (0:00:00.737) 0:00:11.562 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:08 +0000 (0:00:00.697) 0:00:12.259 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:08 +0000 (0:00:00.022) 0:00:12.281 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:08 +0000 (0:00:00.020) 0:00:12.302 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:08 +0000 (0:00:00.021) 0:00:12.324 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:08 +0000 (0:00:00.042) 0:00:12.367 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:08 +0000 (0:00:00.021) 0:00:12.388 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:08 +0000 (0:00:00.021) 0:00:12.410 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:08 +0000 (0:00:00.025) 0:00:12.435 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:08 +0000 (0:00:00.021) 0:00:12.456 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:08 +0000 (0:00:00.020) 0:00:12.477 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.226) 0:00:12.703 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17307s7_ohep4/tmp_jlf_h0f" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.210) 0:00:12.914 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.221) 0:00:13.135 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.020) 0:00:13.155 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.046) 0:00:13.202 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.023) 0:00:13.226 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.022) 0:00:13.248 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.131) 0:00:13.380 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.021) 0:00:13.401 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.042) 0:00:13.444 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:52:09 +0000 (0:00:00.035) 0:00:13.480 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.131) 0:00:13.612 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.022) 0:00:13.635 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.035) 0:00:13.671 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.020) 0:00:13.692 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901929.5533576, "block_size": 4096, "blocks": 8, "ctime": 1704901929.5533576, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468705, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704901929.5533576, "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-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.131) 0:00:13.823 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.023) 0:00:13.846 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021851", "end": "2024-01-10 15:52:10.419007", "rc": 1, "start": "2024-01-10 15:52:10.397156" } 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-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.150) 0:00:13.997 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.048) 0:00:14.046 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003334", "end": "2024-01-10 15:52:10.603849", "rc": 0, "start": "2024-01-10 15:52:10.600515" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.138) 0:00:14.185 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.025) 0:00:14.211 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003399", "end": "2024-01-10 15:52:10.767736", "rc": 0, "start": "2024-01-10 15:52:10.764337" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.138) 0:00:14.349 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.025) 0:00:14.375 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.022) 0:00:14.398 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.024) 0:00:14.422 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.022) 0:00:14.444 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.017) 0:00:14.462 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.022) 0:00:14.484 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:52:10 +0000 (0:00:00.039) 0:00:14.524 ***** 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.044707", "end": "2024-01-10 15:52:11.119137", "rc": 1, "start": "2024-01-10 15:52:11.074430" } 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-route_typejcodjm1o/tests/playbooks/tests_states.yml:65 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.181) 0:00:14.705 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.038) 0:00:14.744 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.022) 0:00:14.767 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.046) 0:00:14.814 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.057) 0:00:14.871 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.032) 0:00:14.904 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003277", "end": "2024-01-10 15:52:11.457318", "rc": 0, "start": "2024-01-10 15:52:11.454041" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.135) 0:00:15.040 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.023) 0:00:15.064 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.021) 0:00:15.086 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.038) 0:00:15.125 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.040) 0:00:15.165 ***** included: /WORKDIR/git-route_typejcodjm1o/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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.039) 0:00:15.205 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.027) 0:00:15.232 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.021) 0:00:15.253 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:11 +0000 (0:00:00.021) 0:00:15.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:12 +0000 (0:00:00.734) 0:00:16.009 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.628) 0:00:16.638 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.022) 0:00:16.660 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.021) 0:00:16.682 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.021) 0:00:16.703 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.043) 0:00:16.747 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.024) 0:00:16.772 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.022) 0:00:16.794 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.024) 0:00:16.818 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.021) 0:00:16.840 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.020) 0:00:16.860 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.271) 0:00:17.132 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17307s7_ohep4/tmpxkwivnbf" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:13 +0000 (0:00:00.221) 0:00:17.353 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.222) 0:00:17.576 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.022) 0:00:17.598 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.022) 0:00:17.621 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.022) 0:00:17.643 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.021) 0:00:17.664 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.125) 0:00:17.790 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.025) 0:00:17.816 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.039) 0:00:17.855 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.039) 0:00:17.895 ***** included: /WORKDIR/git-route_typejcodjm1o/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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.043) 0:00:17.938 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.029) 0:00:17.968 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.022) 0:00:17.990 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:14 +0000 (0:00:00.046) 0:00:18.037 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:15 +0000 (0:00:00.730) 0:00:18.767 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:15 +0000 (0:00:00.626) 0:00:19.394 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:15 +0000 (0:00:00.023) 0:00:19.417 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:15 +0000 (0:00:00.021) 0:00:19.439 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:15 +0000 (0:00:00.021) 0:00:19.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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:15 +0000 (0:00:00.042) 0:00:19.503 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:15 +0000 (0:00:00.020) 0:00:19.524 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:15 +0000 (0:00:00.021) 0:00:19.545 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:16 +0000 (0:00:00.022) 0:00:19.568 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:16 +0000 (0:00:00.043) 0:00:19.612 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:16 +0000 (0:00:00.021) 0:00:19.633 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:16 +0000 (0:00:00.229) 0:00:19.863 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17307s7_ohep4/tmpef5k99q7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:16 +0000 (0:00:00.287) 0:00:20.151 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.495) 0:00:20.646 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.021) 0:00:20.668 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.051) 0:00:20.719 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.039) 0:00:20.759 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.032) 0:00:20.791 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.151) 0:00:20.943 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.054) 0:00:20.998 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.053) 0:00:21.051 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901936.9921403, "block_size": 4096, "blocks": 0, "ctime": 1704901936.9911404, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17513, "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": 1704901936.9911404, "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-route_typejcodjm1o/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.152) 0:00:21.203 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.096) 0:00:21.300 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.040) 0:00:21.340 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.035) 0:00:21.376 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901936.8161454, "block_size": 4096, "blocks": 8, "ctime": 1704901933.993228, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4468705, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704901933.993228, "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-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.141) 0:00:21.518 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:52:17 +0000 (0:00:00.030) 0:00:21.549 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023289", "end": "2024-01-10 15:52:18.147637", "rc": 1, "start": "2024-01-10 15:52:18.124348" } 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-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.178) 0:00:21.727 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.024) 0:00:21.752 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003438", "end": "2024-01-10 15:52:18.309032", "rc": 0, "start": "2024-01-10 15:52:18.305594" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.138) 0:00:21.890 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.028) 0:00:21.919 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003282", "end": "2024-01-10 15:52:18.475052", "rc": 0, "start": "2024-01-10 15:52:18.471770" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.136) 0:00:22.056 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.025) 0:00:22.081 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.024) 0:00:22.105 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.024) 0:00:22.130 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.021) 0:00:22.152 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.019) 0:00:22.171 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.020) 0:00:22.192 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.071) 0:00:22.264 ***** 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.050590", "end": "2024-01-10 15:52:18.873259", "rc": 0, "start": "2024-01-10 15:52:18.822669" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tests_states.yml:83 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.189) 0:00:22.453 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.035) 0:00:22.489 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.021) 0:00:22.511 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:52:18 +0000 (0:00:00.045) 0:00:22.556 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:52:19 +0000 (0:00:00.033) 0:00:22.590 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:52:19 +0000 (0:00:00.033) 0:00:22.624 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003227", "end": "2024-01-10 15:52:19.177456", "rc": 0, "start": "2024-01-10 15:52:19.174229" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:52:19 +0000 (0:00:00.133) 0:00:22.757 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:52:19 +0000 (0:00:00.025) 0:00:22.783 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:52:19 +0000 (0:00:00.022) 0:00:22.805 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:52:19 +0000 (0:00:00.040) 0:00:22.845 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:19 +0000 (0:00:00.057) 0:00:22.902 ***** included: /WORKDIR/git-route_typejcodjm1o/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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:19 +0000 (0:00:00.038) 0:00:22.941 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:19 +0000 (0:00:00.025) 0:00:22.967 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:19 +0000 (0:00:00.020) 0:00:22.988 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:19 +0000 (0:00:00.020) 0:00:23.009 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:20 +0000 (0:00:00.744) 0:00:23.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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:20 +0000 (0:00:00.636) 0:00:24.389 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:20 +0000 (0:00:00.022) 0:00:24.412 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:20 +0000 (0:00:00.023) 0:00:24.436 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:20 +0000 (0:00:00.024) 0:00:24.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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:20 +0000 (0:00:00.069) 0:00:24.529 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:20 +0000 (0:00:00.022) 0:00:24.552 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.022) 0:00:24.574 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.027) 0:00:24.602 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.021) 0:00:24.623 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.020) 0:00:24.643 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.221) 0:00:24.865 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17307s7_ohep4/tmprz5gglih" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.227) 0:00:25.093 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.221) 0:00:25.314 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.030) 0:00:25.344 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.026) 0:00:25.371 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.034) 0:00:25.405 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.020) 0:00:25.426 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:52:21 +0000 (0:00:00.125) 0:00:25.552 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.023) 0:00:25.576 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.060) 0:00:25.637 ***** included: /WORKDIR/git-route_typejcodjm1o/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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.046) 0:00:25.683 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.031) 0:00:25.714 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.024) 0:00:25.738 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.022) 0:00:25.761 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:22 +0000 (0:00:00.758) 0:00:26.519 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:23 +0000 (0:00:00.640) 0:00:27.160 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:23 +0000 (0:00:00.022) 0:00:27.182 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:23 +0000 (0:00:00.019) 0:00:27.201 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:23 +0000 (0:00:00.040) 0:00:27.242 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:23 +0000 (0:00:00.043) 0:00:27.285 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:23 +0000 (0:00:00.022) 0:00:27.308 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:23 +0000 (0:00:00.027) 0:00:27.335 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:23 +0000 (0:00:00.024) 0:00:27.360 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:23 +0000 (0:00:00.022) 0:00:27.382 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:23 +0000 (0:00:00.021) 0:00:27.403 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:24 +0000 (0:00:00.230) 0:00:27.634 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17307s7_ohep4/tmpf7ndmc1e" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:24 +0000 (0:00:00.223) 0:00:27.857 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:24 +0000 (0:00:00.487) 0:00:28.345 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:24 +0000 (0:00:00.021) 0:00:28.366 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:24 +0000 (0:00:00.023) 0:00:28.389 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:24 +0000 (0:00:00.027) 0:00:28.416 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:24 +0000 (0:00:00.021) 0:00:28.438 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:52:25 +0000 (0:00:00.136) 0:00:28.574 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 15:52:25 +0000 (0:00:00.061) 0:00:28.636 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:25 +0000 (0:00:00.039) 0:00:28.675 ***** included: /WORKDIR/git-route_typejcodjm1o/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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:25 +0000 (0:00:00.038) 0:00:28.714 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:25 +0000 (0:00:00.026) 0:00:28.740 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:25 +0000 (0:00:00.023) 0:00:28.764 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:25 +0000 (0:00:00.022) 0:00:28.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:25 +0000 (0:00:00.731) 0:00:29.517 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:26 +0000 (0:00:00.666) 0:00:30.184 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:26 +0000 (0:00:00.040) 0:00:30.225 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:26 +0000 (0:00:00.030) 0:00:30.255 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:26 +0000 (0:00:00.034) 0:00:30.290 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:26 +0000 (0:00:00.061) 0:00:30.351 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:26 +0000 (0:00:00.034) 0:00:30.386 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:26 +0000 (0:00:00.036) 0:00:30.422 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:26 +0000 (0:00:00.027) 0:00:30.450 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:26 +0000 (0:00:00.036) 0:00:30.486 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:26 +0000 (0:00:00.040) 0:00:30.527 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:27 +0000 (0:00:00.312) 0:00:30.839 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17307s7_ohep4/tmp1b5oqd6a" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:27 +0000 (0:00:00.275) 0:00:31.114 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:27 +0000 (0:00:00.226) 0:00:31.340 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:27 +0000 (0:00:00.024) 0:00:31.365 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:27 +0000 (0:00:00.029) 0:00:31.394 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:27 +0000 (0:00:00.024) 0:00:31.419 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:27 +0000 (0:00:00.021) 0:00:31.441 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.132) 0:00:31.573 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.041) 0:00:31.615 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.035) 0:00:31.651 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704901944.6969151, "block_size": 4096, "blocks": 0, "ctime": 1704901944.6959152, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17513, "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": 1704901944.6959152, "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-route_typejcodjm1o/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.135) 0:00:31.786 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.024) 0:00:31.810 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.037) 0:00:31.848 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.023) 0:00:31.871 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.132) 0:00:32.004 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.020) 0:00:32.025 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023302", "end": "2024-01-10 15:52:28.598878", "rc": 1, "start": "2024-01-10 15:52:28.575576" } 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-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.157) 0:00:32.182 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.037) 0:00:32.219 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.028) 0:00:32.248 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.022) 0:00:32.270 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.021) 0:00:32.292 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.049) 0:00:32.341 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.042) 0:00:32.384 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.026) 0:00:32.410 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.023) 0:00:32.433 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:52:28 +0000 (0:00:00.039) 0:00:32.473 ***** 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.050799", "end": "2024-01-10 15:52:29.099371", "rc": 0, "start": "2024-01-10 15:52:29.048572" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tests_states.yml:103 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.209) 0:00:32.683 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.048) 0:00:32.731 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.031) 0:00:32.762 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.049) 0:00:32.812 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.068) 0:00:32.880 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.045) 0:00:32.926 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003271", "end": "2024-01-10 15:52:29.479795", "rc": 0, "start": "2024-01-10 15:52:29.476524" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.145) 0:00:33.071 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.027) 0:00:33.099 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.072) 0:00:33.171 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.054) 0:00:33.225 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.040) 0:00:33.265 ***** included: /WORKDIR/git-route_typejcodjm1o/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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.058) 0:00:33.323 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.056) 0:00:33.380 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.030) 0:00:33.410 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:29 +0000 (0:00:00.036) 0:00:33.447 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:30 +0000 (0:00:00.740) 0:00:34.187 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:31 +0000 (0:00:00.662) 0:00:34.850 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:31 +0000 (0:00:00.022) 0:00:34.873 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:31 +0000 (0:00:00.021) 0:00:34.894 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:31 +0000 (0:00:00.023) 0:00:34.918 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:31 +0000 (0:00:00.043) 0:00:34.962 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:31 +0000 (0:00:00.021) 0:00:34.983 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:31 +0000 (0:00:00.021) 0:00:35.005 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:31 +0000 (0:00:00.023) 0:00:35.029 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:31 +0000 (0:00:00.021) 0:00:35.050 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:31 +0000 (0:00:00.019) 0:00:35.069 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:31 +0000 (0:00:00.222) 0:00:35.291 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17307s7_ohep4/tmpwwtfmpfr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:31 +0000 (0:00:00.209) 0:00:35.501 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.221) 0:00:35.722 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.020) 0:00:35.743 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.021) 0:00:35.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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.021) 0:00:35.786 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.044) 0:00:35.831 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.127) 0:00:35.959 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.022) 0:00:35.981 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.034) 0:00:36.016 ***** included: /WORKDIR/git-route_typejcodjm1o/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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.038) 0:00:36.055 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.026) 0:00:36.081 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.021) 0:00:36.103 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:32 +0000 (0:00:00.021) 0:00:36.125 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:33 +0000 (0:00:00.732) 0:00:36.858 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:33 +0000 (0:00:00.675) 0:00:37.534 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:34 +0000 (0:00:00.022) 0:00:37.557 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:34 +0000 (0:00:00.020) 0:00:37.578 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:34 +0000 (0:00:00.021) 0:00:37.599 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:34 +0000 (0:00:00.053) 0:00:37.652 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:34 +0000 (0:00:00.027) 0:00:37.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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:34 +0000 (0:00:00.021) 0:00:37.702 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:34 +0000 (0:00:00.024) 0:00:37.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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:34 +0000 (0:00:00.021) 0:00:37.749 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:34 +0000 (0:00:00.021) 0:00:37.770 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:34 +0000 (0:00:00.231) 0:00:38.002 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17307s7_ohep4/tmpzbfv_t3j" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:34 +0000 (0:00:00.220) 0:00:38.223 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.462) 0:00:38.685 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.020) 0:00:38.705 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.048) 0:00:38.754 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.023) 0:00:38.778 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.021) 0:00:38.799 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.125) 0:00:38.925 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.035) 0:00:38.961 ***** included: /WORKDIR/git-route_typejcodjm1o/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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.044) 0:00:39.005 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.030) 0:00:39.035 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.027) 0:00:39.063 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:35 +0000 (0:00:00.023) 0:00:39.086 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:36 +0000 (0:00:00.731) 0:00:39.818 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:36 +0000 (0:00:00.686) 0:00:40.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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:36 +0000 (0:00:00.022) 0:00:40.528 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:36 +0000 (0:00:00.020) 0:00:40.548 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:37 +0000 (0:00:00.021) 0:00:40.570 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:37 +0000 (0:00:00.046) 0:00:40.616 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:37 +0000 (0:00:00.023) 0:00:40.640 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:37 +0000 (0:00:00.024) 0:00:40.665 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:37 +0000 (0:00:00.024) 0:00:40.690 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:37 +0000 (0:00:00.021) 0:00:40.711 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:37 +0000 (0:00:00.021) 0:00:40.733 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:37 +0000 (0:00:00.236) 0:00:40.969 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17307s7_ohep4/tmpeesy1fbh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:37 +0000 (0:00:00.225) 0:00:41.195 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:37 +0000 (0:00:00.227) 0:00:41.423 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:37 +0000 (0:00:00.020) 0:00:41.444 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:37 +0000 (0:00:00.048) 0:00:41.492 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:37 +0000 (0:00:00.023) 0:00:41.516 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:37 +0000 (0:00:00.026) 0:00:41.542 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.133) 0:00:41.675 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.043) 0:00:41.718 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.051) 0:00:41.770 ***** included: /WORKDIR/git-route_typejcodjm1o/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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.040) 0:00:41.811 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.027) 0:00:41.839 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.043) 0:00:41.882 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:38 +0000 (0:00:00.027) 0:00:41.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:39 +0000 (0:00:00.743) 0:00:42.654 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:39 +0000 (0:00:00.655) 0:00:43.309 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:39 +0000 (0:00:00.022) 0:00:43.332 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:39 +0000 (0:00:00.022) 0:00:43.354 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:39 +0000 (0:00:00.021) 0:00:43.376 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:39 +0000 (0:00:00.042) 0:00:43.418 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:39 +0000 (0:00:00.021) 0:00:43.440 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:39 +0000 (0:00:00.019) 0:00:43.459 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:39 +0000 (0:00:00.023) 0:00:43.482 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:39 +0000 (0:00:00.020) 0:00:43.503 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:39 +0000 (0:00:00.021) 0:00:43.525 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:40 +0000 (0:00:00.236) 0:00:43.761 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17307s7_ohep4/tmp_wrsbppv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:40 +0000 (0:00:00.213) 0:00:43.975 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:40 +0000 (0:00:00.260) 0:00:44.235 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:40 +0000 (0:00:00.022) 0:00:44.258 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:40 +0000 (0:00:00.023) 0:00:44.282 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:40 +0000 (0:00:00.025) 0:00:44.307 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:40 +0000 (0:00:00.024) 0:00:44.331 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:52:40 +0000 (0:00:00.139) 0:00:44.471 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 15:52:40 +0000 (0:00:00.041) 0:00:44.512 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.045) 0:00:44.558 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.023) 0:00:44.581 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.140) 0:00:44.722 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.029) 0:00:44.751 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022054", "end": "2024-01-10 15:52:41.324223", "rc": 1, "start": "2024-01-10 15:52:41.302169" } 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-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.159) 0:00:44.910 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.027) 0:00:44.937 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.025) 0:00:44.963 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.023) 0:00:44.986 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.060) 0:00:45.046 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.022) 0:00:45.069 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.026) 0:00:45.095 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.024) 0:00:45.119 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.021) 0:00:45.141 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.038) 0:00:45.179 ***** 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.048755", "end": "2024-01-10 15:52:41.779484", "rc": 0, "start": "2024-01-10 15:52:41.730729" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tests_states.yml:126 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.180) 0:00:45.360 ***** included: /WORKDIR/git-route_typejcodjm1o/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-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.036) 0:00:45.397 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.024) 0:00:45.421 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.049) 0:00:45.471 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.033) 0:00:45.505 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 15:52:41 +0000 (0:00:00.033) 0:00:45.539 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003202", "end": "2024-01-10 15:52:42.097462", "rc": 0, "start": "2024-01-10 15:52:42.094260" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.137) 0:00:45.676 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.047) 0:00:45.723 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.022) 0:00:45.745 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.051) 0:00:45.797 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.037) 0:00:45.834 ***** included: /WORKDIR/git-route_typejcodjm1o/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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.039) 0:00:45.874 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.025) 0:00:45.899 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.020) 0:00:45.920 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:42 +0000 (0:00:00.021) 0:00:45.942 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.732) 0:00:46.675 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.673) 0:00:47.348 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.022) 0:00:47.371 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.020) 0:00:47.392 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.021) 0:00:47.413 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.041) 0:00:47.454 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.020) 0:00:47.475 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.021) 0:00:47.496 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.024) 0:00:47.521 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:43 +0000 (0:00:00.021) 0:00:47.543 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:44 +0000 (0:00:00.021) 0:00:47.564 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:44 +0000 (0:00:00.229) 0:00:47.794 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17307s7_ohep4/tmp7q3fco5_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:44 +0000 (0:00:00.214) 0:00:48.008 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:44 +0000 (0:00:00.224) 0:00:48.233 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:44 +0000 (0:00:00.026) 0:00:48.259 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:44 +0000 (0:00:00.048) 0:00:48.308 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:44 +0000 (0:00:00.024) 0:00:48.332 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:44 +0000 (0:00:00.022) 0:00:48.354 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 15:52:44 +0000 (0:00:00.125) 0:00:48.480 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 15:52:44 +0000 (0:00:00.023) 0:00:48.503 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:44 +0000 (0:00:00.038) 0:00:48.542 ***** included: /WORKDIR/git-route_typejcodjm1o/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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:45 +0000 (0:00:00.089) 0:00:48.632 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:45 +0000 (0:00:00.047) 0:00:48.679 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:45 +0000 (0:00:00.034) 0:00:48.713 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:45 +0000 (0:00:00.022) 0:00:48.735 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:45 +0000 (0:00:00.733) 0:00:49.469 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.669) 0:00:50.138 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.032) 0:00:50.171 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.033) 0:00:50.204 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.023) 0:00:50.228 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.049) 0:00:50.277 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.021) 0:00:50.298 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.021) 0:00:50.320 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.024) 0:00:50.344 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.020) 0:00:50.365 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:46 +0000 (0:00:00.019) 0:00:50.385 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:47 +0000 (0:00:00.220) 0:00:50.605 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17307s7_ohep4/tmph7574u1m" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:47 +0000 (0:00:00.217) 0:00:50.823 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:47 +0000 (0:00:00.542) 0:00:51.365 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:47 +0000 (0:00:00.021) 0:00:51.387 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:47 +0000 (0:00:00.022) 0:00:51.409 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:47 +0000 (0:00:00.023) 0:00:51.433 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:47 +0000 (0:00:00.024) 0:00:51.457 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.130) 0:00:51.588 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.043) 0:00:51.631 ***** included: /WORKDIR/git-route_typejcodjm1o/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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.039) 0:00:51.671 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.025) 0:00:51.696 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.022) 0:00:51.719 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.023) 0:00:51.742 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:48 +0000 (0:00:00.759) 0:00:52.502 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:49 +0000 (0:00:00.675) 0:00:53.178 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:49 +0000 (0:00:00.022) 0:00:53.200 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:49 +0000 (0:00:00.022) 0:00:53.222 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:49 +0000 (0:00:00.021) 0:00:53.243 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:49 +0000 (0:00:00.043) 0:00:53.287 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:49 +0000 (0:00:00.023) 0:00:53.310 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:49 +0000 (0:00:00.023) 0:00:53.333 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:49 +0000 (0:00:00.028) 0:00:53.361 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:49 +0000 (0:00:00.031) 0:00:53.393 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:49 +0000 (0:00:00.023) 0:00:53.417 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.229) 0:00:53.646 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17307s7_ohep4/tmp4c_bunm1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.214) 0:00:53.860 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.252) 0:00:54.112 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.021) 0:00:54.134 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.023) 0:00:54.158 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.022) 0:00:54.181 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.023) 0:00:54.204 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.127) 0:00:54.332 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.039) 0:00:54.371 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.034) 0:00:54.406 ***** included: /WORKDIR/git-route_typejcodjm1o/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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.040) 0:00:54.446 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.026) 0:00:54.473 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.020) 0:00:54.494 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 15:52:50 +0000 (0:00:00.022) 0:00:54.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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 15:52:51 +0000 (0:00:00.743) 0:00:55.260 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 15:52:52 +0000 (0:00:00.665) 0:00:55.926 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 15:52:52 +0000 (0:00:00.022) 0:00:55.949 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 15:52:52 +0000 (0:00:00.023) 0:00:55.972 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 15:52:52 +0000 (0:00:00.023) 0:00:55.995 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 15:52:52 +0000 (0:00:00.041) 0:00:56.037 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 15:52:52 +0000 (0:00:00.021) 0:00:56.059 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 15:52:52 +0000 (0:00:00.021) 0:00:56.080 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 15:52:52 +0000 (0:00:00.031) 0:00:56.112 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 15:52:52 +0000 (0:00:00.023) 0:00:56.135 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 15:52:52 +0000 (0:00:00.022) 0:00:56.158 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 15:52:52 +0000 (0:00:00.225) 0:00:56.383 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17307s7_ohep4/tmpgmqa_d82" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.214) 0:00:56.597 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.227) 0:00:56.825 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.034) 0:00:56.859 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.025) 0:00:56.885 ***** 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-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.028) 0:00:56.914 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.022) 0:00:56.936 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.128) 0:00:57.064 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.046) 0:00:57.111 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.039) 0:00:57.150 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.022) 0:00:57.173 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.132) 0:00:57.306 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.021) 0:00:57.327 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022235", "end": "2024-01-10 15:52:53.897842", "rc": 1, "start": "2024-01-10 15:52:53.875607" } 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-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.150) 0:00:57.477 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.022) 0:00:57.499 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 15:52:53 +0000 (0:00:00.046) 0:00:57.545 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.027) 0:00:57.573 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.024) 0:00:57.597 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.040) 0:00:57.638 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.030) 0:00:57.668 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.401063", "end": "2024-01-10 15:52:54.644882", "rc": 0, "start": "2024-01-10 15:52:54.243819" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.559) 0:00:58.228 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.031) 0:00:58.260 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.024) 0:00:58.284 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.027) 0:00:58.312 ***** 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-route_typejcodjm1o/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.047) 0:00:58.359 ***** included: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typejcodjm1o/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 15:52:54 +0000 (0:00:00.048) 0:00:58.408 ***** 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.050481", "end": "2024-01-10 15:52:55.010292", "rc": 0, "start": "2024-01-10 15:52:54.959811" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=335 changed=14 unreachable=0 failed=0 skipped=224 rescued=0 ignored=10 Wednesday 10 January 2024 15:52:55 +0000 (0:00:00.172) 0:00:58.581 ***** =============================================================================== linux-system-roles.network : Install packages --------------------------- 2.45s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 1.99s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.30s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 1.24s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.12s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.95s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 0.91s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which services are running ----------- 0.81s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.79s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.76s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 0.74s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 0.74s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.73s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.73s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.73s /WORKDIR/git-route_typejcodjm1o/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---