# 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-ci_fixat981_52/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/tests_states_initscripts.yml:5 Tuesday 23 January 2024 19:40:56 +0000 (0:00:00.022) 0:00:00.022 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ci_fixat981_52/tests/tests_states_initscripts.yml:8 Tuesday 23 January 2024 19:41:02 +0000 (0:00:05.754) 0:00:05.777 ******* included: /WORKDIR/git-ci_fixat981_52/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-ci_fixat981_52/tests/tasks/el_repo_setup.yml:3 Tuesday 23 January 2024 19:41:02 +0000 (0:00:00.079) 0:00:05.856 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/tasks/el_repo_setup.yml:19 Tuesday 23 January 2024 19:41:02 +0000 (0:00:00.317) 0:00:06.174 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixat981_52/tests/tasks/el_repo_setup.yml:24 Tuesday 23 January 2024 19:41:03 +0000 (0:00:00.240) 0:00:06.414 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/tasks/el_repo_setup.yml:28 Tuesday 23 January 2024 19:41:03 +0000 (0:00:00.084) 0:00:06.498 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/tasks/el_repo_setup.yml:53 Tuesday 23 January 2024 19:41:03 +0000 (0:00:00.019) 0:00:06.518 ******* included: /WORKDIR/git-ci_fixat981_52/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/tasks/enable_epel.yml:8 Tuesday 23 January 2024 19:41:03 +0000 (0:00:00.080) 0:00:06.599 ******* 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-ci_fixat981_52/tests/tasks/enable_epel.yml:24 Tuesday 23 January 2024 19:41:03 +0000 (0:00:00.416) 0:00:07.016 ******* 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-ci_fixat981_52/tests/tasks/enable_epel.yml:30 Tuesday 23 January 2024 19:41:04 +0000 (0:00:00.770) 0:00:07.786 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.213391", "end": "2024-01-23 19:41:04.961076", "rc": 0, "start": "2024-01-23 19:41:04.747685" } 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-ci_fixat981_52/tests/tasks/enable_epel.yml:35 Tuesday 23 January 2024 19:41:05 +0000 (0:00:00.404) 0:00:08.191 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/tasks/enable_epel.yml:40 Tuesday 23 January 2024 19:41:05 +0000 (0:00:00.037) 0:00:08.228 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-ci_fixat981_52/tests/tests_states_initscripts.yml:10 Tuesday 23 January 2024 19:41:05 +0000 (0:00:00.059) 0:00:08.288 ******* 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-ci_fixat981_52/tests/playbooks/tests_states.yml:3 Tuesday 23 January 2024 19:41:05 +0000 (0:00:00.129) 0:00:08.418 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tests_states.yml:11 Tuesday 23 January 2024 19:41:05 +0000 (0:00:00.499) 0:00:08.917 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tests_states.yml:22 Tuesday 23 January 2024 19:41:05 +0000 (0:00:00.034) 0:00:08.952 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 19:41:05 +0000 (0:00:00.055) 0:00:09.007 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 19:41:05 +0000 (0:00:00.052) 0:00:09.059 ******* 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-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 19:41:05 +0000 (0:00:00.087) 0:00:09.146 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 19:41:06 +0000 (0:00:00.053) 0:00:09.200 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 19:41:06 +0000 (0:00:00.022) 0:00:09.223 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003850", "end": "2024-01-23 19:41:06.211988", "rc": 0, "start": "2024-01-23 19:41:06.208138" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 19:41:06 +0000 (0:00:00.220) 0:00:09.443 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 19:41:06 +0000 (0:00:00.071) 0:00:09.515 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 19:41:06 +0000 (0:00:00.046) 0:00:09.561 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 23 January 2024 19:41:06 +0000 (0:00:00.078) 0:00:09.639 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012152", "end": "2024-01-23 19:41:06.582535", "rc": 1, "start": "2024-01-23 19:41:06.570383" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 23 January 2024 19:41:06 +0000 (0:00:00.152) 0:00:09.792 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 19:41:06 +0000 (0:00:00.045) 0:00:09.837 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 23 January 2024 19:41:06 +0000 (0:00:00.180) 0:00:10.018 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 19:41:06 +0000 (0:00:00.015) 0:00:10.033 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 23 January 2024 19:41:06 +0000 (0:00:00.029) 0:00:10.062 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:41:06 +0000 (0:00:00.053) 0:00:10.115 ******* included: /WORKDIR/git-ci_fixat981_52/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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:41:07 +0000 (0:00:00.080) 0:00:10.196 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:41:07 +0000 (0:00:00.014) 0:00:10.210 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:41:07 +0000 (0:00:00.039) 0:00:10.250 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:41:07 +0000 (0:00:00.017) 0:00:10.267 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:41:08 +0000 (0:00:01.024) 0:00:11.291 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:41:08 +0000 (0:00:00.889) 0:00:12.181 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:41:09 +0000 (0:00:00.043) 0:00:12.224 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:41:09 +0000 (0:00:00.027) 0:00:12.252 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:41:09 +0000 (0:00:00.030) 0:00:12.282 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:41:11 +0000 (0:00:02.835) 0:00:15.118 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:41:11 +0000 (0:00:00.051) 0:00:15.170 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:41:12 +0000 (0:00:00.038) 0:00:15.208 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:41:12 +0000 (0:00:00.051) 0:00:15.259 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:41:12 +0000 (0:00:00.101) 0:00:15.361 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:41:12 +0000 (0:00:00.077) 0:00:15.438 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:41:12 +0000 (0:00:00.637) 0:00:16.075 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17024ooiu968v/tmpz0w8gkwb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:41:13 +0000 (0:00:00.353) 0:00:16.429 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:41:13 +0000 (0:00:00.574) 0:00:17.003 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:41:13 +0000 (0:00:00.048) 0:00:17.052 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:41:13 +0000 (0:00:00.065) 0:00:17.117 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:41:14 +0000 (0:00:00.122) 0:00:17.240 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:41:14 +0000 (0:00:00.097) 0:00:17.337 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 23 January 2024 19:41:14 +0000 (0:00:00.262) 0:00:17.600 ******* 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-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 19:41:14 +0000 (0:00:00.024) 0:00:17.624 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 23 January 2024 19:41:14 +0000 (0:00:00.054) 0:00:17.679 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 19:41:14 +0000 (0:00:00.066) 0:00:17.746 ******* 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-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 19:41:14 +0000 (0:00:00.024) 0:00:17.771 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706038873.7760174, "block_size": 4096, "blocks": 8, "ctime": 1706038873.7760174, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706038873.7760174, "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-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 19:41:14 +0000 (0:00:00.314) 0:00:18.085 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 19:41:14 +0000 (0:00:00.078) 0:00:18.163 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024898", "end": "2024-01-23 19:41:15.130190", "rc": 1, "start": "2024-01-23 19:41:15.105292" } 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-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 19:41:15 +0000 (0:00:00.252) 0:00:18.415 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 19:41:15 +0000 (0:00:00.064) 0:00:18.480 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003867", "end": "2024-01-23 19:41:15.451774", "rc": 0, "start": "2024-01-23 19:41:15.447907" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 19:41:15 +0000 (0:00:00.271) 0:00:18.752 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 19:41:15 +0000 (0:00:00.112) 0:00:18.864 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004011", "end": "2024-01-23 19:41:15.818820", "rc": 0, "start": "2024-01-23 19:41:15.814809" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 19:41:15 +0000 (0:00:00.195) 0:00:19.060 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 23 January 2024 19:41:15 +0000 (0:00:00.041) 0:00:19.101 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 23 January 2024 19:41:15 +0000 (0:00:00.039) 0:00:19.140 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 23 January 2024 19:41:16 +0000 (0:00:00.117) 0:00:19.258 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 19:41:16 +0000 (0:00:00.081) 0:00:19.340 ******* 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-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 19:41:16 +0000 (0:00:00.072) 0:00:19.412 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 19:41:16 +0000 (0:00:00.036) 0:00:19.448 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 19:41:16 +0000 (0:00:00.143) 0:00:19.592 ******* 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.049398", "end": "2024-01-23 19:41:16.573858", "rc": 1, "start": "2024-01-23 19:41:16.524460" } 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-ci_fixat981_52/tests/playbooks/tests_states.yml:45 Tuesday 23 January 2024 19:41:16 +0000 (0:00:00.201) 0:00:19.794 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 19:41:16 +0000 (0:00:00.047) 0:00:19.842 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 19:41:16 +0000 (0:00:00.023) 0:00:19.866 ******* 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-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 19:41:16 +0000 (0:00:00.099) 0:00:19.965 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 19:41:16 +0000 (0:00:00.041) 0:00:20.007 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 19:41:16 +0000 (0:00:00.048) 0:00:20.055 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003897", "end": "2024-01-23 19:41:17.004073", "rc": 0, "start": "2024-01-23 19:41:17.000176" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 19:41:17 +0000 (0:00:00.184) 0:00:20.240 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 19:41:17 +0000 (0:00:00.028) 0:00:20.269 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 19:41:17 +0000 (0:00:00.057) 0:00:20.326 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 23 January 2024 19:41:17 +0000 (0:00:00.101) 0:00:20.428 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008012", "end": "2024-01-23 19:41:17.395483", "rc": 1, "start": "2024-01-23 19:41:17.387471" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 23 January 2024 19:41:17 +0000 (0:00:00.183) 0:00:20.611 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 19:41:17 +0000 (0:00:00.038) 0:00:20.650 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 23 January 2024 19:41:17 +0000 (0:00:00.235) 0:00:20.886 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 19:41:17 +0000 (0:00:00.038) 0:00:20.924 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 23 January 2024 19:41:17 +0000 (0:00:00.049) 0:00:20.974 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:41:17 +0000 (0:00:00.049) 0:00:21.023 ******* included: /WORKDIR/git-ci_fixat981_52/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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:41:17 +0000 (0:00:00.155) 0:00:21.179 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:41:18 +0000 (0:00:00.063) 0:00:21.242 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:41:18 +0000 (0:00:00.042) 0:00:21.285 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:41:18 +0000 (0:00:00.037) 0:00:21.322 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:41:19 +0000 (0:00:00.947) 0:00:22.270 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:41:19 +0000 (0:00:00.806) 0:00:23.077 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:41:19 +0000 (0:00:00.048) 0:00:23.126 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:41:20 +0000 (0:00:00.079) 0:00:23.205 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:41:20 +0000 (0:00:00.067) 0:00:23.273 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:41:20 +0000 (0:00:00.118) 0:00:23.391 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:41:20 +0000 (0:00:00.045) 0:00:23.437 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:41:20 +0000 (0:00:00.049) 0:00:23.487 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:41:20 +0000 (0:00:00.052) 0:00:23.539 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:41:20 +0000 (0:00:00.045) 0:00:23.585 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:41:20 +0000 (0:00:00.064) 0:00:23.650 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:41:20 +0000 (0:00:00.396) 0:00:24.046 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17024ooiu968v/tmp1snb717t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:41:21 +0000 (0:00:00.454) 0:00:24.501 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:41:21 +0000 (0:00:00.321) 0:00:24.822 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:41:21 +0000 (0:00:00.029) 0:00:24.852 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:41:21 +0000 (0:00:00.069) 0:00:24.921 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:41:21 +0000 (0:00:00.068) 0:00:24.990 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:41:21 +0000 (0:00:00.103) 0:00:25.094 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.193) 0:00:25.288 ******* 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-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.075) 0:00:25.363 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.078) 0:00:25.441 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.057) 0:00:25.499 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.204) 0:00:25.703 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.035) 0:00:25.738 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.053) 0:00:25.794 ******* 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-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.034) 0:00:25.828 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706038881.568987, "block_size": 4096, "blocks": 8, "ctime": 1706038881.569987, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706038881.569987, "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-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.239) 0:00:26.068 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 19:41:22 +0000 (0:00:00.041) 0:00:26.109 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021169", "end": "2024-01-23 19:41:23.113119", "rc": 1, "start": "2024-01-23 19:41:23.091950" } 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-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.218) 0:00:26.327 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.057) 0:00:26.385 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003907", "end": "2024-01-23 19:41:23.350648", "rc": 0, "start": "2024-01-23 19:41:23.346741" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.183) 0:00:26.569 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.031) 0:00:26.601 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003900", "end": "2024-01-23 19:41:23.556552", "rc": 0, "start": "2024-01-23 19:41:23.552652" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.193) 0:00:26.794 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.048) 0:00:26.842 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.035) 0:00:26.877 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.036) 0:00:26.913 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.061) 0:00:26.975 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.088) 0:00:27.063 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.062) 0:00:27.125 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 19:41:23 +0000 (0:00:00.059) 0:00:27.185 ******* 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.044607", "end": "2024-01-23 19:41:24.181530", "rc": 1, "start": "2024-01-23 19:41:24.136923" } 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-ci_fixat981_52/tests/playbooks/tests_states.yml:65 Tuesday 23 January 2024 19:41:24 +0000 (0:00:00.259) 0:00:27.444 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 19:41:24 +0000 (0:00:00.168) 0:00:27.613 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 19:41:24 +0000 (0:00:00.072) 0:00:27.685 ******* 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-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 19:41:24 +0000 (0:00:00.075) 0:00:27.761 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 19:41:24 +0000 (0:00:00.102) 0:00:27.863 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 19:41:24 +0000 (0:00:00.034) 0:00:27.898 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003832", "end": "2024-01-23 19:41:24.830923", "rc": 0, "start": "2024-01-23 19:41:24.827091" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 19:41:24 +0000 (0:00:00.156) 0:00:28.054 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 19:41:24 +0000 (0:00:00.024) 0:00:28.079 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 19:41:24 +0000 (0:00:00.052) 0:00:28.132 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 23 January 2024 19:41:24 +0000 (0:00:00.037) 0:00:28.169 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:41:25 +0000 (0:00:00.036) 0:00:28.205 ******* included: /WORKDIR/git-ci_fixat981_52/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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:41:25 +0000 (0:00:00.041) 0:00:28.247 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:41:25 +0000 (0:00:00.029) 0:00:28.276 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:41:25 +0000 (0:00:00.025) 0:00:28.302 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:41:25 +0000 (0:00:00.023) 0:00:28.325 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:41:26 +0000 (0:00:00.931) 0:00:29.256 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:41:26 +0000 (0:00:00.764) 0:00:30.021 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:41:26 +0000 (0:00:00.043) 0:00:30.064 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:41:26 +0000 (0:00:00.022) 0:00:30.086 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:41:26 +0000 (0:00:00.041) 0:00:30.128 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:41:27 +0000 (0:00:00.074) 0:00:30.203 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:41:27 +0000 (0:00:00.096) 0:00:30.299 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:41:27 +0000 (0:00:00.051) 0:00:30.351 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:41:27 +0000 (0:00:00.042) 0:00:30.393 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:41:27 +0000 (0:00:00.186) 0:00:30.580 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:41:27 +0000 (0:00:00.062) 0:00:30.642 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:41:27 +0000 (0:00:00.447) 0:00:31.089 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17024ooiu968v/tmpkw3ia3oz" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:41:28 +0000 (0:00:00.433) 0:00:31.523 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:41:28 +0000 (0:00:00.430) 0:00:31.954 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:41:28 +0000 (0:00:00.046) 0:00:32.000 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:41:28 +0000 (0:00:00.081) 0:00:32.082 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:41:29 +0000 (0:00:00.178) 0:00:32.261 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:41:29 +0000 (0:00:00.077) 0:00:32.338 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 23 January 2024 19:41:29 +0000 (0:00:00.240) 0:00:32.579 ******* 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-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 19:41:29 +0000 (0:00:00.048) 0:00:32.627 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 23 January 2024 19:41:29 +0000 (0:00:00.070) 0:00:32.698 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:41:29 +0000 (0:00:00.059) 0:00:32.757 ******* included: /WORKDIR/git-ci_fixat981_52/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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:41:29 +0000 (0:00:00.051) 0:00:32.809 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:41:29 +0000 (0:00:00.047) 0:00:32.856 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:41:29 +0000 (0:00:00.029) 0:00:32.886 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:41:29 +0000 (0:00:00.037) 0:00:32.924 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:41:30 +0000 (0:00:00.960) 0:00:33.884 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:41:31 +0000 (0:00:00.925) 0:00:34.810 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:41:31 +0000 (0:00:00.078) 0:00:34.888 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:41:31 +0000 (0:00:00.052) 0:00:34.940 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:41:31 +0000 (0:00:00.033) 0:00:34.974 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:41:31 +0000 (0:00:00.050) 0:00:35.025 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:41:31 +0000 (0:00:00.025) 0:00:35.050 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:41:31 +0000 (0:00:00.027) 0:00:35.078 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:41:31 +0000 (0:00:00.043) 0:00:35.122 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:41:31 +0000 (0:00:00.034) 0:00:35.156 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:41:32 +0000 (0:00:00.041) 0:00:35.197 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:41:32 +0000 (0:00:00.327) 0:00:35.524 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17024ooiu968v/tmp1ae7r5l8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:41:32 +0000 (0:00:00.368) 0:00:35.893 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:41:33 +0000 (0:00:00.554) 0:00:36.447 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:41:33 +0000 (0:00:00.063) 0:00:36.511 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:41:33 +0000 (0:00:00.105) 0:00:36.617 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:41:33 +0000 (0:00:00.100) 0:00:36.717 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:41:33 +0000 (0:00:00.069) 0:00:36.787 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 19:41:33 +0000 (0:00:00.223) 0:00:37.010 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 23 January 2024 19:41:33 +0000 (0:00:00.063) 0:00:37.073 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 19:41:34 +0000 (0:00:00.158) 0:00:37.232 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706038893.1229389, "block_size": 4096, "blocks": 0, "ctime": 1706038893.118939, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17517, "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": 1706038893.118939, "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-ci_fixat981_52/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 23 January 2024 19:41:34 +0000 (0:00:00.251) 0:00:37.483 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 23 January 2024 19:41:34 +0000 (0:00:00.080) 0:00:37.563 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 19:41:34 +0000 (0:00:00.063) 0:00:37.627 ******* 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-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 19:41:34 +0000 (0:00:00.095) 0:00:37.723 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706038892.9309397, "block_size": 4096, "blocks": 8, "ctime": 1706038888.6909573, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706038888.6909573, "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-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 19:41:34 +0000 (0:00:00.248) 0:00:37.971 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 19:41:34 +0000 (0:00:00.033) 0:00:38.004 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022991", "end": "2024-01-23 19:41:34.964224", "rc": 1, "start": "2024-01-23 19:41:34.941233" } 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-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 19:41:34 +0000 (0:00:00.179) 0:00:38.184 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.024) 0:00:38.209 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003881", "end": "2024-01-23 19:41:35.155853", "rc": 0, "start": "2024-01-23 19:41:35.151972" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.185) 0:00:38.394 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.055) 0:00:38.449 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003987", "end": "2024-01-23 19:41:35.388148", "rc": 0, "start": "2024-01-23 19:41:35.384161" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.235) 0:00:38.685 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.125) 0:00:38.810 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.101) 0:00:38.912 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.057) 0:00:38.970 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.069) 0:00:39.040 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 19:41:35 +0000 (0:00:00.082) 0:00:39.122 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 19:41:36 +0000 (0:00:00.072) 0:00:39.194 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 19:41:36 +0000 (0:00:00.089) 0:00:39.283 ******* 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.049853", "end": "2024-01-23 19:41:36.307369", "rc": 0, "start": "2024-01-23 19:41:36.257516" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tests_states.yml:83 Tuesday 23 January 2024 19:41:36 +0000 (0:00:00.313) 0:00:39.597 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 19:41:36 +0000 (0:00:00.075) 0:00:39.673 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 19:41:36 +0000 (0:00:00.166) 0:00:39.839 ******* 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-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 19:41:36 +0000 (0:00:00.228) 0:00:40.068 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 19:41:37 +0000 (0:00:00.141) 0:00:40.210 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 19:41:37 +0000 (0:00:00.136) 0:00:40.346 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005067", "end": "2024-01-23 19:41:38.293252", "rc": 0, "start": "2024-01-23 19:41:37.288185" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 19:41:38 +0000 (0:00:01.209) 0:00:41.555 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 19:41:38 +0000 (0:00:00.063) 0:00:41.619 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 19:41:38 +0000 (0:00:00.084) 0:00:41.703 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 23 January 2024 19:41:38 +0000 (0:00:00.076) 0:00:41.779 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:41:38 +0000 (0:00:00.131) 0:00:41.911 ******* included: /WORKDIR/git-ci_fixat981_52/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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:41:38 +0000 (0:00:00.092) 0:00:42.004 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:41:38 +0000 (0:00:00.056) 0:00:42.060 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:41:38 +0000 (0:00:00.065) 0:00:42.126 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:41:38 +0000 (0:00:00.056) 0:00:42.182 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:41:39 +0000 (0:00:00.919) 0:00:43.101 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:41:40 +0000 (0:00:00.815) 0:00:43.916 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:41:40 +0000 (0:00:00.027) 0:00:43.944 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:41:40 +0000 (0:00:00.046) 0:00:43.990 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:41:40 +0000 (0:00:00.053) 0:00:44.043 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:41:40 +0000 (0:00:00.051) 0:00:44.095 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:41:40 +0000 (0:00:00.067) 0:00:44.162 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:41:41 +0000 (0:00:00.075) 0:00:44.238 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:41:41 +0000 (0:00:00.025) 0:00:44.263 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:41:41 +0000 (0:00:00.022) 0:00:44.286 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:41:41 +0000 (0:00:00.025) 0:00:44.312 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:41:41 +0000 (0:00:00.259) 0:00:44.572 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17024ooiu968v/tmp8mmhcbzs" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:41:41 +0000 (0:00:00.255) 0:00:44.828 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:41:41 +0000 (0:00:00.300) 0:00:45.128 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:41:41 +0000 (0:00:00.022) 0:00:45.151 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.058) 0:00:45.209 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.111) 0:00:45.320 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.050) 0:00:45.371 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.214) 0:00:45.585 ******* 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-ci_fixat981_52/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.036) 0:00:45.621 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.057) 0:00:45.679 ******* included: /WORKDIR/git-ci_fixat981_52/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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.041) 0:00:45.721 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.031) 0:00:45.752 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.046) 0:00:45.799 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:41:42 +0000 (0:00:00.031) 0:00:45.830 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:41:43 +0000 (0:00:00.850) 0:00:46.681 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:41:44 +0000 (0:00:00.818) 0:00:47.499 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:41:44 +0000 (0:00:00.028) 0:00:47.527 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:41:44 +0000 (0:00:00.023) 0:00:47.551 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:41:44 +0000 (0:00:00.050) 0:00:47.602 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:41:44 +0000 (0:00:00.061) 0:00:47.664 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:41:44 +0000 (0:00:00.049) 0:00:47.713 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:41:44 +0000 (0:00:00.035) 0:00:47.749 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:41:44 +0000 (0:00:00.028) 0:00:47.777 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:41:44 +0000 (0:00:00.032) 0:00:47.810 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:41:44 +0000 (0:00:00.037) 0:00:47.847 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:41:45 +0000 (0:00:00.367) 0:00:48.214 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17024ooiu968v/tmpddsu0_28" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:41:45 +0000 (0:00:00.384) 0:00:48.599 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:41:45 +0000 (0:00:00.563) 0:00:49.163 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:41:46 +0000 (0:00:00.028) 0:00:49.191 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:41:46 +0000 (0:00:00.033) 0:00:49.224 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:41:46 +0000 (0:00:00.032) 0:00:49.257 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:41:46 +0000 (0:00:00.022) 0:00:49.279 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 19:41:46 +0000 (0:00:00.209) 0:00:49.488 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 23 January 2024 19:41:46 +0000 (0:00:00.093) 0:00:49.581 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:41:46 +0000 (0:00:00.139) 0:00:49.721 ******* included: /WORKDIR/git-ci_fixat981_52/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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:41:46 +0000 (0:00:00.078) 0:00:49.799 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:41:46 +0000 (0:00:00.054) 0:00:49.854 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:41:46 +0000 (0:00:00.054) 0:00:49.908 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:41:46 +0000 (0:00:00.162) 0:00:50.070 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:41:47 +0000 (0:00:00.991) 0:00:51.061 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:41:48 +0000 (0:00:00.762) 0:00:51.824 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:41:48 +0000 (0:00:00.062) 0:00:51.886 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:41:48 +0000 (0:00:00.080) 0:00:51.967 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:41:48 +0000 (0:00:00.023) 0:00:51.990 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:41:48 +0000 (0:00:00.055) 0:00:52.045 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:41:48 +0000 (0:00:00.038) 0:00:52.084 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:41:48 +0000 (0:00:00.051) 0:00:52.136 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:41:48 +0000 (0:00:00.046) 0:00:52.182 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:41:49 +0000 (0:00:00.036) 0:00:52.218 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:41:49 +0000 (0:00:00.030) 0:00:52.249 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:41:49 +0000 (0:00:00.354) 0:00:52.603 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17024ooiu968v/tmpz6by_eq1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:41:49 +0000 (0:00:00.270) 0:00:52.874 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:41:49 +0000 (0:00:00.266) 0:00:53.141 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:41:49 +0000 (0:00:00.023) 0:00:53.165 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:41:50 +0000 (0:00:00.030) 0:00:53.195 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:41:50 +0000 (0:00:00.054) 0:00:53.249 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:41:50 +0000 (0:00:00.043) 0:00:53.292 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 19:41:50 +0000 (0:00:00.171) 0:00:53.464 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 23 January 2024 19:41:50 +0000 (0:00:00.102) 0:00:53.566 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 19:41:50 +0000 (0:00:00.062) 0:00:53.629 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706038905.8668857, "block_size": 4096, "blocks": 0, "ctime": 1706038905.8648856, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17517, "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": 1706038905.8648856, "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-ci_fixat981_52/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 23 January 2024 19:41:50 +0000 (0:00:00.211) 0:00:53.840 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 23 January 2024 19:41:50 +0000 (0:00:00.048) 0:00:53.888 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 19:41:50 +0000 (0:00:00.063) 0:00:53.952 ******* 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-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 19:41:50 +0000 (0:00:00.071) 0:00:54.023 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 19:41:51 +0000 (0:00:00.284) 0:00:54.308 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 19:41:51 +0000 (0:00:00.072) 0:00:54.381 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022420", "end": "2024-01-23 19:41:51.399256", "rc": 1, "start": "2024-01-23 19:41:51.376836" } 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-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 19:41:51 +0000 (0:00:00.308) 0:00:54.689 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 19:41:51 +0000 (0:00:00.090) 0:00:54.780 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 19:41:51 +0000 (0:00:00.034) 0:00:54.815 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 19:41:51 +0000 (0:00:00.071) 0:00:54.886 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 19:41:51 +0000 (0:00:00.078) 0:00:54.964 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 23 January 2024 19:41:51 +0000 (0:00:00.048) 0:00:55.012 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 19:41:51 +0000 (0:00:00.028) 0:00:55.041 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 19:41:51 +0000 (0:00:00.038) 0:00:55.079 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 19:41:51 +0000 (0:00:00.066) 0:00:55.146 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 19:41:52 +0000 (0:00:00.051) 0:00:55.197 ******* 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.049034", "end": "2024-01-23 19:41:52.217397", "rc": 0, "start": "2024-01-23 19:41:52.168363" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tests_states.yml:103 Tuesday 23 January 2024 19:41:52 +0000 (0:00:00.253) 0:00:55.450 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 19:41:52 +0000 (0:00:00.180) 0:00:55.631 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 19:41:52 +0000 (0:00:00.056) 0:00:55.688 ******* 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-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 19:41:52 +0000 (0:00:00.199) 0:00:55.888 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 19:41:52 +0000 (0:00:00.094) 0:00:55.983 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 19:41:52 +0000 (0:00:00.150) 0:00:56.134 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004992", "end": "2024-01-23 19:41:54.079268", "rc": 0, "start": "2024-01-23 19:41:53.074276" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 19:41:54 +0000 (0:00:01.209) 0:00:57.343 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 19:41:54 +0000 (0:00:00.063) 0:00:57.407 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 19:41:54 +0000 (0:00:00.123) 0:00:57.531 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 23 January 2024 19:41:54 +0000 (0:00:00.055) 0:00:57.586 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:41:54 +0000 (0:00:00.096) 0:00:57.683 ******* included: /WORKDIR/git-ci_fixat981_52/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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:41:54 +0000 (0:00:00.044) 0:00:57.728 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:41:54 +0000 (0:00:00.035) 0:00:57.763 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:41:54 +0000 (0:00:00.068) 0:00:57.832 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:41:54 +0000 (0:00:00.024) 0:00:57.856 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:41:55 +0000 (0:00:00.887) 0:00:58.744 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:41:56 +0000 (0:00:00.749) 0:00:59.493 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:41:56 +0000 (0:00:00.084) 0:00:59.577 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:41:56 +0000 (0:00:00.029) 0:00:59.607 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:41:56 +0000 (0:00:00.022) 0:00:59.629 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:41:56 +0000 (0:00:00.069) 0:00:59.698 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:41:56 +0000 (0:00:00.036) 0:00:59.734 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:41:56 +0000 (0:00:00.132) 0:00:59.867 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:41:56 +0000 (0:00:00.059) 0:00:59.927 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:41:56 +0000 (0:00:00.031) 0:00:59.959 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:41:56 +0000 (0:00:00.029) 0:00:59.988 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:41:57 +0000 (0:00:00.370) 0:01:00.359 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17024ooiu968v/tmpy9vro0xd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:41:57 +0000 (0:00:00.276) 0:01:00.636 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:41:57 +0000 (0:00:00.295) 0:01:00.931 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:41:57 +0000 (0:00:00.040) 0:01:00.972 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:41:57 +0000 (0:00:00.052) 0:01:01.025 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:41:57 +0000 (0:00:00.066) 0:01:01.091 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:41:57 +0000 (0:00:00.031) 0:01:01.122 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 23 January 2024 19:41:58 +0000 (0:00:00.210) 0:01:01.333 ******* 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-ci_fixat981_52/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 23 January 2024 19:41:58 +0000 (0:00:00.032) 0:01:01.365 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:41:58 +0000 (0:00:00.046) 0:01:01.412 ******* included: /WORKDIR/git-ci_fixat981_52/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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:41:58 +0000 (0:00:00.089) 0:01:01.502 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:41:58 +0000 (0:00:00.036) 0:01:01.538 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:41:58 +0000 (0:00:00.021) 0:01:01.559 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:41:58 +0000 (0:00:00.027) 0:01:01.587 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:41:59 +0000 (0:00:00.839) 0:01:02.427 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:42:00 +0000 (0:00:00.777) 0:01:03.205 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:42:00 +0000 (0:00:00.112) 0:01:03.317 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:42:00 +0000 (0:00:00.082) 0:01:03.400 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:42:00 +0000 (0:00:00.057) 0:01:03.458 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:42:00 +0000 (0:00:00.111) 0:01:03.569 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:42:00 +0000 (0:00:00.065) 0:01:03.634 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:42:00 +0000 (0:00:00.047) 0:01:03.682 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:42:00 +0000 (0:00:00.075) 0:01:03.758 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:42:00 +0000 (0:00:00.056) 0:01:03.814 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:42:00 +0000 (0:00:00.103) 0:01:03.917 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:42:01 +0000 (0:00:00.410) 0:01:04.328 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17024ooiu968v/tmpvvnvocg2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:42:01 +0000 (0:00:00.434) 0:01:04.763 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:42:02 +0000 (0:00:00.551) 0:01:05.315 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:42:02 +0000 (0:00:00.042) 0:01:05.357 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:42:02 +0000 (0:00:00.069) 0:01:05.427 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:42:02 +0000 (0:00:00.046) 0:01:05.474 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:42:02 +0000 (0:00:00.031) 0:01:05.505 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 23 January 2024 19:42:02 +0000 (0:00:00.186) 0:01:05.691 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:42:02 +0000 (0:00:00.064) 0:01:05.756 ******* included: /WORKDIR/git-ci_fixat981_52/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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:42:02 +0000 (0:00:00.085) 0:01:05.842 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:42:02 +0000 (0:00:00.048) 0:01:05.890 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:42:02 +0000 (0:00:00.035) 0:01:05.926 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:42:02 +0000 (0:00:00.023) 0:01:05.950 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:42:03 +0000 (0:00:00.876) 0:01:06.827 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:42:04 +0000 (0:00:00.724) 0:01:07.551 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:42:04 +0000 (0:00:00.099) 0:01:07.650 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:42:04 +0000 (0:00:00.069) 0:01:07.720 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:42:04 +0000 (0:00:00.061) 0:01:07.781 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:42:04 +0000 (0:00:00.131) 0:01:07.912 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:42:04 +0000 (0:00:00.024) 0:01:07.937 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:42:04 +0000 (0:00:00.056) 0:01:07.993 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:42:04 +0000 (0:00:00.036) 0:01:08.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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:42:04 +0000 (0:00:00.066) 0:01:08.096 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:42:04 +0000 (0:00:00.026) 0:01:08.122 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:42:05 +0000 (0:00:00.477) 0:01:08.599 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17024ooiu968v/tmpdx82oqxt" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:42:05 +0000 (0:00:00.355) 0:01:08.954 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:42:06 +0000 (0:00:00.387) 0:01:09.342 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:42:06 +0000 (0:00:00.038) 0:01:09.381 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:42:06 +0000 (0:00:00.037) 0:01:09.418 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:42:06 +0000 (0:00:00.041) 0:01:09.459 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:42:06 +0000 (0:00:00.044) 0:01:09.504 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 19:42:06 +0000 (0:00:00.185) 0:01:09.689 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 23 January 2024 19:42:06 +0000 (0:00:00.086) 0:01:09.776 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:42:06 +0000 (0:00:00.066) 0:01:09.843 ******* included: /WORKDIR/git-ci_fixat981_52/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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:42:06 +0000 (0:00:00.060) 0:01:09.903 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:42:06 +0000 (0:00:00.044) 0:01:09.948 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:42:06 +0000 (0:00:00.054) 0:01:10.002 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:42:06 +0000 (0:00:00.118) 0:01:10.120 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:42:07 +0000 (0:00:00.907) 0:01:11.028 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:42:08 +0000 (0:00:00.892) 0:01:11.921 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:42:08 +0000 (0:00:00.147) 0:01:12.068 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:42:08 +0000 (0:00:00.076) 0:01:12.144 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:42:09 +0000 (0:00:00.095) 0:01:12.240 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:42:09 +0000 (0:00:00.060) 0:01:12.300 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:42:09 +0000 (0:00:00.096) 0:01:12.397 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:42:09 +0000 (0:00:00.115) 0:01:12.512 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:42:09 +0000 (0:00:00.117) 0:01:12.630 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:42:09 +0000 (0:00:00.098) 0:01:12.729 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:42:09 +0000 (0:00:00.116) 0:01:12.846 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:42:10 +0000 (0:00:00.442) 0:01:13.289 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17024ooiu968v/tmp1gg6ik4m" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:42:10 +0000 (0:00:00.517) 0:01:13.806 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:42:10 +0000 (0:00:00.351) 0:01:14.158 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:42:11 +0000 (0:00:00.132) 0:01:14.290 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:42:11 +0000 (0:00:00.161) 0:01:14.452 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:42:11 +0000 (0:00:00.154) 0:01:14.606 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:42:11 +0000 (0:00:00.069) 0:01:14.675 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 19:42:11 +0000 (0:00:00.304) 0:01:14.980 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 23 January 2024 19:42:11 +0000 (0:00:00.081) 0:01:15.061 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 19:42:11 +0000 (0:00:00.040) 0:01:15.102 ******* 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-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 19:42:11 +0000 (0:00:00.031) 0:01:15.134 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 19:42:12 +0000 (0:00:00.175) 0:01:15.309 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 19:42:12 +0000 (0:00:00.044) 0:01:15.354 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023036", "end": "2024-01-23 19:42:12.367441", "rc": 1, "start": "2024-01-23 19:42:12.344405" } 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-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 19:42:12 +0000 (0:00:00.253) 0:01:15.607 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 19:42:12 +0000 (0:00:00.035) 0:01:15.643 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 19:42:12 +0000 (0:00:00.034) 0:01:15.678 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 19:42:12 +0000 (0:00:00.065) 0:01:15.743 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 19:42:12 +0000 (0:00:00.047) 0:01:15.791 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 23 January 2024 19:42:12 +0000 (0:00:00.065) 0:01:15.856 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 19:42:12 +0000 (0:00:00.054) 0:01:15.910 ******* 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-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 19:42:12 +0000 (0:00:00.053) 0:01:15.964 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 19:42:12 +0000 (0:00:00.084) 0:01:16.048 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 19:42:12 +0000 (0:00:00.069) 0:01:16.117 ******* 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.051337", "end": "2024-01-23 19:42:13.121388", "rc": 0, "start": "2024-01-23 19:42:13.070051" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tests_states.yml:126 Tuesday 23 January 2024 19:42:13 +0000 (0:00:00.220) 0:01:16.338 ******* included: /WORKDIR/git-ci_fixat981_52/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-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 19:42:13 +0000 (0:00:00.035) 0:01:16.374 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 19:42:13 +0000 (0:00:00.023) 0:01:16.397 ******* 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-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 19:42:13 +0000 (0:00:00.048) 0:01:16.446 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 19:42:13 +0000 (0:00:00.036) 0:01:16.483 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 19:42:13 +0000 (0:00:00.036) 0:01:16.519 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004941", "end": "2024-01-23 19:42:14.490432", "rc": 0, "start": "2024-01-23 19:42:13.485491" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 19:42:14 +0000 (0:00:01.209) 0:01:17.729 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 19:42:14 +0000 (0:00:00.062) 0:01:17.791 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 19:42:14 +0000 (0:00:00.022) 0:01:17.814 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 23 January 2024 19:42:14 +0000 (0:00:00.083) 0:01:17.897 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:42:14 +0000 (0:00:00.074) 0:01:17.972 ******* included: /WORKDIR/git-ci_fixat981_52/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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:42:14 +0000 (0:00:00.047) 0:01:18.019 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:42:14 +0000 (0:00:00.059) 0:01:18.079 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:42:14 +0000 (0:00:00.031) 0:01:18.111 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:42:14 +0000 (0:00:00.045) 0:01:18.157 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:42:15 +0000 (0:00:00.842) 0:01:19.000 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:42:16 +0000 (0:00:00.815) 0:01:19.816 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:42:16 +0000 (0:00:00.062) 0:01:19.878 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:42:16 +0000 (0:00:00.151) 0:01:20.030 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:42:16 +0000 (0:00:00.059) 0:01:20.090 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:42:17 +0000 (0:00:00.154) 0:01:20.244 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:42:17 +0000 (0:00:00.078) 0:01:20.323 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:42:17 +0000 (0:00:00.028) 0:01:20.351 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:42:17 +0000 (0:00:00.046) 0:01:20.398 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:42:17 +0000 (0:00:00.067) 0:01:20.465 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:42:17 +0000 (0:00:00.064) 0:01:20.530 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:42:17 +0000 (0:00:00.374) 0:01:20.904 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17024ooiu968v/tmpm4cn5it0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.290) 0:01:21.194 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.257) 0:01:21.452 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.058) 0:01:21.511 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.060) 0:01:21.571 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.051) 0:01:21.622 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.027) 0:01:21.650 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.152) 0:01:21.803 ******* 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-ci_fixat981_52/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.051) 0:01:21.854 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.120) 0:01:21.974 ******* included: /WORKDIR/git-ci_fixat981_52/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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.083) 0:01:22.058 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.053) 0:01:22.112 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:42:18 +0000 (0:00:00.070) 0:01:22.182 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:42:19 +0000 (0:00:00.029) 0:01:22.212 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:42:19 +0000 (0:00:00.861) 0:01:23.074 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:42:20 +0000 (0:00:00.719) 0:01:23.793 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:42:20 +0000 (0:00:00.040) 0:01:23.833 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:42:20 +0000 (0:00:00.040) 0:01:23.874 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:42:20 +0000 (0:00:00.141) 0:01:24.016 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:42:20 +0000 (0:00:00.099) 0:01:24.116 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:42:20 +0000 (0:00:00.049) 0:01:24.165 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:42:21 +0000 (0:00:00.028) 0:01:24.194 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:42:21 +0000 (0:00:00.047) 0:01:24.242 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:42:21 +0000 (0:00:00.054) 0:01:24.297 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:42:21 +0000 (0:00:00.025) 0:01:24.323 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:42:21 +0000 (0:00:00.268) 0:01:24.591 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17024ooiu968v/tmpg3e06ppp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:42:21 +0000 (0:00:00.295) 0:01:24.887 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.545) 0:01:25.432 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.024) 0:01:25.456 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.044) 0:01:25.500 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.035) 0:01:25.536 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.035) 0:01:25.571 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.139) 0:01:25.711 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.062) 0:01:25.774 ******* included: /WORKDIR/git-ci_fixat981_52/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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.045) 0:01:25.819 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.033) 0:01:25.853 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.035) 0:01:25.888 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:42:22 +0000 (0:00:00.027) 0:01:25.915 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:42:23 +0000 (0:00:00.847) 0:01:26.763 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:42:24 +0000 (0:00:00.731) 0:01:27.494 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:42:24 +0000 (0:00:00.023) 0:01:27.518 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:42:24 +0000 (0:00:00.022) 0:01:27.540 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:42:24 +0000 (0:00:00.021) 0:01:27.562 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:42:24 +0000 (0:00:00.043) 0:01:27.605 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:42:24 +0000 (0:00:00.045) 0:01:27.651 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:42:24 +0000 (0:00:00.021) 0:01:27.673 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:42:24 +0000 (0:00:00.023) 0:01:27.697 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:42:24 +0000 (0:00:00.020) 0:01:27.718 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:42:24 +0000 (0:00:00.020) 0:01:27.738 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:42:24 +0000 (0:00:00.248) 0:01:27.987 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17024ooiu968v/tmp76sroovh" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:42:25 +0000 (0:00:00.218) 0:01:28.206 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:42:25 +0000 (0:00:00.274) 0:01:28.480 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:42:25 +0000 (0:00:00.033) 0:01:28.514 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:42:25 +0000 (0:00:00.024) 0:01:28.538 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:42:25 +0000 (0:00:00.022) 0:01:28.560 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:42:25 +0000 (0:00:00.020) 0:01:28.581 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 19:42:25 +0000 (0:00:00.136) 0:01:28.717 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 23 January 2024 19:42:25 +0000 (0:00:00.039) 0:01:28.756 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:42:25 +0000 (0:00:00.060) 0:01:28.816 ******* included: /WORKDIR/git-ci_fixat981_52/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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:42:25 +0000 (0:00:00.039) 0:01:28.856 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:42:25 +0000 (0:00:00.025) 0:01:28.882 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:42:25 +0000 (0:00:00.032) 0:01:28.914 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:42:25 +0000 (0:00:00.029) 0:01:28.944 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:42:26 +0000 (0:00:00.819) 0:01:29.763 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.746) 0:01:30.509 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.055) 0:01:30.565 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.091) 0:01:30.656 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.035) 0:01:30.692 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.054) 0:01:30.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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.033) 0:01:30.780 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.023) 0:01:30.804 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.031) 0:01:30.836 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.022) 0:01:30.858 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.021) 0:01:30.880 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:42:27 +0000 (0:00:00.245) 0:01:31.126 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17024ooiu968v/tmpcq4hswqp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:42:28 +0000 (0:00:00.223) 0:01:31.349 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:42:28 +0000 (0:00:00.262) 0:01:31.611 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:42:28 +0000 (0:00:00.027) 0:01:31.639 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:42:28 +0000 (0:00:00.035) 0:01:31.674 ******* 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-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:42:28 +0000 (0:00:00.026) 0:01:31.701 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:42:28 +0000 (0:00:00.049) 0:01:31.750 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 19:42:28 +0000 (0:00:00.139) 0:01:31.890 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 23 January 2024 19:42:28 +0000 (0:00:00.143) 0:01:32.033 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 19:42:28 +0000 (0:00:00.065) 0:01:32.099 ******* 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-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 19:42:28 +0000 (0:00:00.027) 0:01:32.126 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 19:42:29 +0000 (0:00:00.149) 0:01:32.276 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 19:42:29 +0000 (0:00:00.022) 0:01:32.298 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022539", "end": "2024-01-23 19:42:29.248761", "rc": 1, "start": "2024-01-23 19:42:29.226222" } 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-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 19:42:29 +0000 (0:00:00.164) 0:01:32.463 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 19:42:29 +0000 (0:00:00.030) 0:01:32.493 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 19:42:29 +0000 (0:00:00.076) 0:01:32.569 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 19:42:29 +0000 (0:00:00.033) 0:01:32.602 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 19:42:29 +0000 (0:00:00.034) 0:01:32.637 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 23 January 2024 19:42:29 +0000 (0:00:00.022) 0:01:32.659 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 23 January 2024 19:42:29 +0000 (0:00:00.025) 0:01:32.685 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.441854", "end": "2024-01-23 19:42:30.054197", "rc": 0, "start": "2024-01-23 19:42:29.612343" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 23 January 2024 19:42:30 +0000 (0:00:00.584) 0:01:33.270 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 23 January 2024 19:42:30 +0000 (0:00:00.029) 0:01:33.299 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 19:42:30 +0000 (0:00:00.065) 0:01:33.364 ******* 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-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 19:42:30 +0000 (0:00:00.025) 0:01:33.390 ******* 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-ci_fixat981_52/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 19:42:30 +0000 (0:00:00.033) 0:01:33.424 ******* included: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 19:42:30 +0000 (0:00:00.042) 0:01:33.466 ******* 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.050597", "end": "2024-01-23 19:42:30.446390", "rc": 0, "start": "2024-01-23 19:42:30.395793" } 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 Tuesday 23 January 2024 19:42:30 +0000 (0:00:00.184) 0:01:33.650 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 5.75s /WORKDIR/git-ci_fixat981_52/tests/tests_states_initscripts.yml:5 -------------- linux-system-roles.network : Install packages --------------------------- 3.19s /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 2.22s /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 2.09s /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 1.86s /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.61s /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.48s /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 1.37s /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:105 Gather current interface info ------------------------------------------- 1.21s /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.21s /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.21s /WORKDIR/git-ci_fixat981_52/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Re-test connectivity ----------------------- 1.08s /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:155 linux-system-roles.network : Check which services are running ----------- 1.02s /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.99s /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.96s /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.96s /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which services are running ----------- 0.95s /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable network service --------------------- 0.94s /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which services are running ----------- 0.93s /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-ci_fixat981_52/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---