# 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_fixjhh469ik/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/tests_states_initscripts.yml:5 Friday 26 January 2024 21:27:28 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/tests_states_initscripts.yml:8 Friday 26 January 2024 21:27:29 +0000 (0:00:00.583) 0:00:00.595 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/tasks/el_repo_setup.yml:3 Friday 26 January 2024 21:27:29 +0000 (0:00:00.022) 0:00:00.617 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/tasks/el_repo_setup.yml:19 Friday 26 January 2024 21:27:29 +0000 (0:00:00.217) 0:00:00.835 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/tasks/el_repo_setup.yml:24 Friday 26 January 2024 21:27:29 +0000 (0:00:00.186) 0:00:01.022 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/tasks/el_repo_setup.yml:28 Friday 26 January 2024 21:27:29 +0000 (0:00:00.020) 0:00:01.042 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/tasks/el_repo_setup.yml:53 Friday 26 January 2024 21:27:29 +0000 (0:00:00.018) 0:00:01.061 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/tasks/enable_epel.yml:8 Friday 26 January 2024 21:27:29 +0000 (0:00:00.031) 0:00:01.092 ******** 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_fixjhh469ik/tests/tasks/enable_epel.yml:24 Friday 26 January 2024 21:27:30 +0000 (0:00:00.182) 0:00:01.275 ******** 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_fixjhh469ik/tests/tasks/enable_epel.yml:30 Friday 26 January 2024 21:27:30 +0000 (0:00:00.477) 0:00:01.752 ******** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.173042", "end": "2024-01-26 21:27:30.798482", "rc": 0, "start": "2024-01-26 21:27:30.625440" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/tasks/enable_epel.yml:35 Friday 26 January 2024 21:27:30 +0000 (0:00:00.310) 0:00:02.062 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/tasks/enable_epel.yml:40 Friday 26 January 2024 21:27:30 +0000 (0:00:00.010) 0:00:02.073 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/tests_states_initscripts.yml:10 Friday 26 January 2024 21:27:30 +0000 (0:00:00.009) 0:00:02.083 ******** 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_fixjhh469ik/tests/playbooks/tests_states.yml:3 Friday 26 January 2024 21:27:30 +0000 (0:00:00.010) 0:00:02.094 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tests_states.yml:11 Friday 26 January 2024 21:27:31 +0000 (0:00:00.391) 0:00:02.485 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tests_states.yml:22 Friday 26 January 2024 21:27:31 +0000 (0:00:00.011) 0:00:02.497 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:27:31 +0000 (0:00:00.017) 0:00:02.514 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:27:31 +0000 (0:00:00.016) 0:00:02.530 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:27:31 +0000 (0:00:00.064) 0:00:02.594 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:27:31 +0000 (0:00:00.029) 0:00:02.624 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:27:31 +0000 (0:00:00.017) 0:00:02.641 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003153", "end": "2024-01-26 21:27:31.499962", "rc": 0, "start": "2024-01-26 21:27:31.496809" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:27:31 +0000 (0:00:00.131) 0:00:02.773 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:27:31 +0000 (0:00:00.023) 0:00:02.796 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:27:31 +0000 (0:00:00.022) 0:00:02.818 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/delete_interface.yml:3 Friday 26 January 2024 21:27:31 +0000 (0:00:00.025) 0:00:02.844 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010895", "end": "2024-01-26 21:27:31.711477", "rc": 1, "start": "2024-01-26 21:27:31.700582" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:27:31 +0000 (0:00:00.142) 0:00:02.986 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:27:31 +0000 (0:00:00.016) 0:00:03.003 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:27:31 +0000 (0:00:00.136) 0:00:03.139 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:27:31 +0000 (0:00:00.055) 0:00:03.194 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:27:32 +0000 (0:00:00.059) 0:00:03.254 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:27:32 +0000 (0:00:00.050) 0:00:03.304 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:32 +0000 (0:00:00.068) 0:00:03.372 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:27:32 +0000 (0:00:00.012) 0:00:03.385 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:27:32 +0000 (0:00:00.011) 0:00:03.396 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:27:32 +0000 (0:00:00.015) 0:00:03.412 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:27:32 +0000 (0:00:00.786) 0:00:04.199 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:27:34 +0000 (0:00:01.144) 0:00:05.344 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:27:34 +0000 (0:00:00.046) 0:00:05.390 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:27:34 +0000 (0:00:00.032) 0:00:05.422 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:27:34 +0000 (0:00:00.039) 0:00:05.461 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:27:34 +0000 (0:00:00.050) 0:00:05.512 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:27:34 +0000 (0:00:00.044) 0:00:05.557 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:27:34 +0000 (0:00:00.027) 0:00:05.584 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:27:34 +0000 (0:00:00.032) 0:00:05.617 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:27:34 +0000 (0:00:00.021) 0:00:05.638 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:27:34 +0000 (0:00:00.020) 0:00:05.659 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:27:34 +0000 (0:00:00.356) 0:00:06.015 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171956lu0o73m/tmpx0dp0axx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:27:35 +0000 (0:00:00.297) 0:00:06.313 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:27:35 +0000 (0:00:00.314) 0:00:06.628 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:27:35 +0000 (0:00:00.021) 0:00:06.649 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:27:35 +0000 (0:00:00.022) 0:00:06.672 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:27:35 +0000 (0:00:00.022) 0:00:06.694 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:27:35 +0000 (0:00:00.020) 0:00:06.715 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:27:35 +0000 (0:00:00.194) 0:00:06.909 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:27:35 +0000 (0:00:00.022) 0:00:06.932 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:27:35 +0000 (0:00:00.039) 0:00:06.971 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:27:35 +0000 (0:00:00.037) 0:00:07.008 ******** 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:27:35 +0000 (0:00:00.021) 0:00:07.029 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304455.3534327, "block_size": 4096, "blocks": 8, "ctime": 1706304455.3534327, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25577, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304455.3534327, "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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:27:35 +0000 (0:00:00.140) 0:00:07.170 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:27:35 +0000 (0:00:00.022) 0:00:07.192 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023597", "end": "2024-01-26 21:27:36.072639", "rc": 1, "start": "2024-01-26 21:27:36.049042" } 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:27:36 +0000 (0:00:00.162) 0:00:07.355 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:27:36 +0000 (0:00:00.039) 0:00:07.394 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003115", "end": "2024-01-26 21:27:36.257751", "rc": 0, "start": "2024-01-26 21:27:36.254636" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:27:36 +0000 (0:00:00.137) 0:00:07.532 ******** 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:27:36 +0000 (0:00:00.026) 0:00:07.559 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003233", "end": "2024-01-26 21:27:36.431173", "rc": 0, "start": "2024-01-26 21:27:36.427940" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:27:36 +0000 (0:00:00.150) 0:00:07.710 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:27:36 +0000 (0:00:00.073) 0:00:07.784 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:27:36 +0000 (0:00:00.038) 0:00:07.822 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:27:36 +0000 (0:00:00.068) 0:00:07.891 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:27:36 +0000 (0:00:00.024) 0:00:07.915 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:27:36 +0000 (0:00:00.026) 0:00:07.942 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:27:36 +0000 (0:00:00.024) 0:00:07.966 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:27:36 +0000 (0:00:00.039) 0:00:08.006 ******** 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.044578", "end": "2024-01-26 21:27:36.905990", "rc": 1, "start": "2024-01-26 21:27:36.861412" } 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_fixjhh469ik/tests/playbooks/tests_states.yml:45 Friday 26 January 2024 21:27:36 +0000 (0:00:00.174) 0:00:08.180 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:27:36 +0000 (0:00:00.036) 0:00:08.217 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:27:37 +0000 (0:00:00.040) 0:00:08.257 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:27:37 +0000 (0:00:00.086) 0:00:08.344 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:27:37 +0000 (0:00:00.080) 0:00:08.424 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:27:37 +0000 (0:00:00.047) 0:00:08.472 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003147", "end": "2024-01-26 21:27:37.334428", "rc": 0, "start": "2024-01-26 21:27:37.331281" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:27:37 +0000 (0:00:00.149) 0:00:08.621 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:27:37 +0000 (0:00:00.035) 0:00:08.657 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:27:37 +0000 (0:00:00.106) 0:00:08.764 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/delete_interface.yml:3 Friday 26 January 2024 21:27:37 +0000 (0:00:00.057) 0:00:08.821 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007117", "end": "2024-01-26 21:27:37.751727", "rc": 1, "start": "2024-01-26 21:27:37.744610" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:27:37 +0000 (0:00:00.203) 0:00:09.024 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:27:37 +0000 (0:00:00.037) 0:00:09.062 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:27:37 +0000 (0:00:00.141) 0:00:09.203 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:27:37 +0000 (0:00:00.023) 0:00:09.226 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 26 January 2024 21:27:38 +0000 (0:00:00.039) 0:00:09.266 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:27:38 +0000 (0:00:00.046) 0:00:09.312 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:38 +0000 (0:00:00.063) 0:00:09.376 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:27:38 +0000 (0:00:00.040) 0:00:09.417 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:27:38 +0000 (0:00:00.043) 0:00:09.461 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:27:38 +0000 (0:00:00.029) 0:00:09.490 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:27:38 +0000 (0:00:00.720) 0:00:10.211 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:27:39 +0000 (0:00:00.937) 0:00:11.148 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:27:39 +0000 (0:00:00.021) 0:00:11.170 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:27:39 +0000 (0:00:00.020) 0:00:11.191 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:27:39 +0000 (0:00:00.021) 0:00:11.213 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:27:40 +0000 (0:00:00.050) 0:00:11.263 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:27:40 +0000 (0:00:00.022) 0:00:11.286 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:27:40 +0000 (0:00:00.024) 0:00:11.311 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:27:40 +0000 (0:00:00.024) 0:00:11.336 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:27:40 +0000 (0:00:00.021) 0:00:11.358 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:27:40 +0000 (0:00:00.021) 0:00:11.379 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:27:40 +0000 (0:00:00.245) 0:00:11.625 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171956lu0o73m/tmppz_hh1ja" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:27:40 +0000 (0:00:00.270) 0:00:11.895 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:27:40 +0000 (0:00:00.242) 0:00:12.138 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:27:40 +0000 (0:00:00.021) 0:00:12.159 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:27:40 +0000 (0:00:00.022) 0:00:12.182 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:27:40 +0000 (0:00:00.023) 0:00:12.205 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:27:40 +0000 (0:00:00.026) 0:00:12.231 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 26 January 2024 21:27:41 +0000 (0:00:00.147) 0:00:12.379 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:27:41 +0000 (0:00:00.022) 0:00:12.401 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:27:41 +0000 (0:00:00.043) 0:00:12.445 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:27:41 +0000 (0:00:00.034) 0:00:12.480 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:27:41 +0000 (0:00:00.128) 0:00:12.608 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:27:41 +0000 (0:00:00.026) 0:00:12.634 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:27:41 +0000 (0:00:00.068) 0:00:12.703 ******** 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:27:41 +0000 (0:00:00.022) 0:00:12.726 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304460.8594265, "block_size": 4096, "blocks": 8, "ctime": 1706304460.8594265, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25581, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304460.8594265, "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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:27:41 +0000 (0:00:00.133) 0:00:12.860 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:27:41 +0000 (0:00:00.030) 0:00:12.890 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020055", "end": "2024-01-26 21:27:41.776949", "rc": 1, "start": "2024-01-26 21:27:41.756894" } 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:27:41 +0000 (0:00:00.172) 0:00:13.063 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:27:41 +0000 (0:00:00.043) 0:00:13.106 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003142", "end": "2024-01-26 21:27:41.985547", "rc": 0, "start": "2024-01-26 21:27:41.982405" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:27:42 +0000 (0:00:00.157) 0:00:13.263 ******** 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:27:42 +0000 (0:00:00.027) 0:00:13.291 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003100", "end": "2024-01-26 21:27:42.150154", "rc": 0, "start": "2024-01-26 21:27:42.147054" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:27:42 +0000 (0:00:00.147) 0:00:13.438 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:27:42 +0000 (0:00:00.055) 0:00:13.494 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:27:42 +0000 (0:00:00.056) 0:00:13.550 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:27:42 +0000 (0:00:00.027) 0:00:13.578 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:27:42 +0000 (0:00:00.049) 0:00:13.627 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:27:42 +0000 (0:00:00.033) 0:00:13.661 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:27:42 +0000 (0:00:00.025) 0:00:13.687 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:27:42 +0000 (0:00:00.132) 0:00:13.819 ******** 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.040421", "end": "2024-01-26 21:27:42.731229", "rc": 1, "start": "2024-01-26 21:27:42.690808" } 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_fixjhh469ik/tests/playbooks/tests_states.yml:65 Friday 26 January 2024 21:27:42 +0000 (0:00:00.192) 0:00:14.012 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:27:42 +0000 (0:00:00.078) 0:00:14.091 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:27:42 +0000 (0:00:00.060) 0:00:14.151 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:27:42 +0000 (0:00:00.067) 0:00:14.218 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:27:43 +0000 (0:00:00.080) 0:00:14.299 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:27:43 +0000 (0:00:00.045) 0:00:14.345 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003169", "end": "2024-01-26 21:27:43.203461", "rc": 0, "start": "2024-01-26 21:27:43.200292" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:27:43 +0000 (0:00:00.131) 0:00:14.476 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:27:43 +0000 (0:00:00.024) 0:00:14.501 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:27:43 +0000 (0:00:00.020) 0:00:14.522 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:27:43 +0000 (0:00:00.037) 0:00:14.559 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:27:43 +0000 (0:00:00.036) 0:00:14.595 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:43 +0000 (0:00:00.150) 0:00:14.745 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:27:43 +0000 (0:00:00.032) 0:00:14.778 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:27:43 +0000 (0:00:00.034) 0:00:14.812 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:27:43 +0000 (0:00:00.032) 0:00:14.844 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:27:44 +0000 (0:00:00.705) 0:00:15.550 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:27:45 +0000 (0:00:00.913) 0:00:16.464 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:27:45 +0000 (0:00:00.035) 0:00:16.500 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:27:45 +0000 (0:00:00.025) 0:00:16.526 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:27:45 +0000 (0:00:00.025) 0:00:16.551 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:27:45 +0000 (0:00:00.044) 0:00:16.596 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:27:45 +0000 (0:00:00.022) 0:00:16.618 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:27:45 +0000 (0:00:00.056) 0:00:16.675 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:27:45 +0000 (0:00:00.030) 0:00:16.705 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:27:45 +0000 (0:00:00.023) 0:00:16.729 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:27:45 +0000 (0:00:00.021) 0:00:16.751 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:27:45 +0000 (0:00:00.219) 0:00:16.970 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171956lu0o73m/tmpumd_l79o" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:27:45 +0000 (0:00:00.206) 0:00:17.177 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:27:46 +0000 (0:00:00.219) 0:00:17.397 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:27:46 +0000 (0:00:00.021) 0:00:17.418 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:27:46 +0000 (0:00:00.022) 0:00:17.440 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:27:46 +0000 (0:00:00.021) 0:00:17.462 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:27:46 +0000 (0:00:00.023) 0:00:17.485 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:27:46 +0000 (0:00:00.123) 0:00:17.609 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:27:46 +0000 (0:00:00.021) 0:00:17.631 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:27:46 +0000 (0:00:00.036) 0:00:17.668 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:27:46 +0000 (0:00:00.060) 0:00:17.728 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:46 +0000 (0:00:00.039) 0:00:17.768 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:27:46 +0000 (0:00:00.026) 0:00:17.794 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:27:46 +0000 (0:00:00.021) 0:00:17.815 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:27:46 +0000 (0:00:00.021) 0:00:17.837 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:27:47 +0000 (0:00:00.685) 0:00:18.523 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:27:48 +0000 (0:00:00.962) 0:00:19.485 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:27:48 +0000 (0:00:00.055) 0:00:19.540 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:27:48 +0000 (0:00:00.024) 0:00:19.565 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:27:48 +0000 (0:00:00.033) 0:00:19.598 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:27:48 +0000 (0:00:00.107) 0:00:19.705 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:27:48 +0000 (0:00:00.048) 0:00:19.754 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:27:48 +0000 (0:00:00.042) 0:00:19.796 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:27:48 +0000 (0:00:00.032) 0:00:19.829 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:27:48 +0000 (0:00:00.032) 0:00:19.861 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:27:48 +0000 (0:00:00.024) 0:00:19.886 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:27:48 +0000 (0:00:00.222) 0:00:20.109 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171956lu0o73m/tmpjh0wt7a4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:27:49 +0000 (0:00:00.273) 0:00:20.382 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:27:49 +0000 (0:00:00.457) 0:00:20.840 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:27:49 +0000 (0:00:00.021) 0:00:20.861 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:27:49 +0000 (0:00:00.023) 0:00:20.885 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:27:49 +0000 (0:00:00.032) 0:00:20.918 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:27:49 +0000 (0:00:00.032) 0:00:20.951 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:27:49 +0000 (0:00:00.132) 0:00:21.083 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:27:49 +0000 (0:00:00.082) 0:00:21.165 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:27:49 +0000 (0:00:00.037) 0:00:21.203 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304469.4994168, "block_size": 4096, "blocks": 0, "ctime": 1706304469.4964168, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17622, "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": 1706304469.4964168, "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_fixjhh469ik/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:27:50 +0000 (0:00:00.140) 0:00:21.344 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:27:50 +0000 (0:00:00.028) 0:00:21.372 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:27:50 +0000 (0:00:00.045) 0:00:21.418 ******** 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:27:50 +0000 (0:00:00.029) 0:00:21.447 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304469.325417, "block_size": 4096, "blocks": 8, "ctime": 1706304466.1214206, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25577, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304466.1214206, "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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:27:50 +0000 (0:00:00.179) 0:00:21.627 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:27:50 +0000 (0:00:00.031) 0:00:21.658 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021814", "end": "2024-01-26 21:27:50.553070", "rc": 1, "start": "2024-01-26 21:27:50.531256" } 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:27:50 +0000 (0:00:00.190) 0:00:21.848 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:27:50 +0000 (0:00:00.040) 0:00:21.889 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003322", "end": "2024-01-26 21:27:50.752714", "rc": 0, "start": "2024-01-26 21:27:50.749392" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:27:50 +0000 (0:00:00.138) 0:00:22.027 ******** 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:27:50 +0000 (0:00:00.026) 0:00:22.054 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003144", "end": "2024-01-26 21:27:50.916904", "rc": 0, "start": "2024-01-26 21:27:50.913760" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:27:50 +0000 (0:00:00.137) 0:00:22.192 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:27:50 +0000 (0:00:00.028) 0:00:22.220 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:27:51 +0000 (0:00:00.029) 0:00:22.249 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:27:51 +0000 (0:00:00.056) 0:00:22.306 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:27:51 +0000 (0:00:00.039) 0:00:22.346 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:27:51 +0000 (0:00:00.025) 0:00:22.371 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:27:51 +0000 (0:00:00.027) 0:00:22.399 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:27:51 +0000 (0:00:00.041) 0:00:22.441 ******** 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.046761", "end": "2024-01-26 21:27:51.342261", "rc": 0, "start": "2024-01-26 21:27:51.295500" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tests_states.yml:83 Friday 26 January 2024 21:27:51 +0000 (0:00:00.175) 0:00:22.616 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:27:51 +0000 (0:00:00.039) 0:00:22.656 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:27:51 +0000 (0:00:00.023) 0:00:22.679 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:27:51 +0000 (0:00:00.049) 0:00:22.729 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:27:51 +0000 (0:00:00.035) 0:00:22.765 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:27:51 +0000 (0:00:00.038) 0:00:22.803 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003130", "end": "2024-01-26 21:27:51.662653", "rc": 0, "start": "2024-01-26 21:27:51.659523" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:27:51 +0000 (0:00:00.149) 0:00:22.953 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:27:51 +0000 (0:00:00.030) 0:00:22.983 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:27:51 +0000 (0:00:00.051) 0:00:23.035 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:27:51 +0000 (0:00:00.045) 0:00:23.080 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:27:51 +0000 (0:00:00.052) 0:00:23.133 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:51 +0000 (0:00:00.053) 0:00:23.187 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:27:51 +0000 (0:00:00.056) 0:00:23.243 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:27:52 +0000 (0:00:00.036) 0:00:23.280 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:27:52 +0000 (0:00:00.037) 0:00:23.317 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:27:52 +0000 (0:00:00.703) 0:00:24.021 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:27:53 +0000 (0:00:00.959) 0:00:24.980 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:27:53 +0000 (0:00:00.029) 0:00:25.010 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:27:53 +0000 (0:00:00.031) 0:00:25.042 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:27:53 +0000 (0:00:00.024) 0:00:25.066 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:27:53 +0000 (0:00:00.101) 0:00:25.168 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:27:53 +0000 (0:00:00.033) 0:00:25.201 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:27:53 +0000 (0:00:00.021) 0:00:25.223 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:27:54 +0000 (0:00:00.030) 0:00:25.254 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:27:54 +0000 (0:00:00.022) 0:00:25.276 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:27:54 +0000 (0:00:00.021) 0:00:25.297 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:27:54 +0000 (0:00:00.249) 0:00:25.547 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171956lu0o73m/tmpag2fzkez" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:27:54 +0000 (0:00:00.304) 0:00:25.851 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:27:54 +0000 (0:00:00.251) 0:00:26.102 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:27:54 +0000 (0:00:00.023) 0:00:26.126 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:27:54 +0000 (0:00:00.023) 0:00:26.150 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:27:54 +0000 (0:00:00.052) 0:00:26.203 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:27:54 +0000 (0:00:00.026) 0:00:26.229 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:27:55 +0000 (0:00:00.146) 0:00:26.376 ******** 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_fixjhh469ik/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:27:55 +0000 (0:00:00.026) 0:00:26.402 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:27:55 +0000 (0:00:00.045) 0:00:26.448 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:55 +0000 (0:00:00.044) 0:00:26.492 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:27:55 +0000 (0:00:00.053) 0:00:26.545 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:27:55 +0000 (0:00:00.030) 0:00:26.576 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:27:55 +0000 (0:00:00.026) 0:00:26.602 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:27:56 +0000 (0:00:00.674) 0:00:27.276 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:27:57 +0000 (0:00:00.990) 0:00:28.266 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:27:57 +0000 (0:00:00.046) 0:00:28.313 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:27:57 +0000 (0:00:00.023) 0:00:28.336 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:27:57 +0000 (0:00:00.022) 0:00:28.359 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:27:57 +0000 (0:00:00.043) 0:00:28.402 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:27:57 +0000 (0:00:00.023) 0:00:28.425 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:27:57 +0000 (0:00:00.023) 0:00:28.448 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:27:57 +0000 (0:00:00.026) 0:00:28.475 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:27:57 +0000 (0:00:00.027) 0:00:28.502 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:27:57 +0000 (0:00:00.032) 0:00:28.534 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:27:57 +0000 (0:00:00.248) 0:00:28.783 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171956lu0o73m/tmpm0n4h6hl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:27:57 +0000 (0:00:00.261) 0:00:29.045 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:27:58 +0000 (0:00:00.460) 0:00:29.505 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:27:58 +0000 (0:00:00.023) 0:00:29.528 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:27:58 +0000 (0:00:00.046) 0:00:29.574 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:27:58 +0000 (0:00:00.026) 0:00:29.601 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:27:58 +0000 (0:00:00.021) 0:00:29.622 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:27:58 +0000 (0:00:00.130) 0:00:29.753 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/remove_profile.yml:3 Friday 26 January 2024 21:27:58 +0000 (0:00:00.047) 0:00:29.800 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:27:58 +0000 (0:00:00.040) 0:00:29.841 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:58 +0000 (0:00:00.050) 0:00:29.892 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:27:58 +0000 (0:00:00.027) 0:00:29.919 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:27:58 +0000 (0:00:00.021) 0:00:29.941 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:27:58 +0000 (0:00:00.020) 0:00:29.961 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:27:59 +0000 (0:00:00.671) 0:00:30.633 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:28:00 +0000 (0:00:00.922) 0:00:31.556 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:28:00 +0000 (0:00:00.022) 0:00:31.579 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:28:00 +0000 (0:00:00.029) 0:00:31.608 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:28:00 +0000 (0:00:00.028) 0:00:31.637 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:28:00 +0000 (0:00:00.045) 0:00:31.682 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:28:00 +0000 (0:00:00.025) 0:00:31.707 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:28:00 +0000 (0:00:00.030) 0:00:31.738 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:28:00 +0000 (0:00:00.038) 0:00:31.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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:28:00 +0000 (0:00:00.064) 0:00:31.841 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:28:00 +0000 (0:00:00.031) 0:00:31.872 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:28:00 +0000 (0:00:00.249) 0:00:32.122 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171956lu0o73m/tmpwmv5n77t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:28:01 +0000 (0:00:00.272) 0:00:32.394 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:28:01 +0000 (0:00:00.294) 0:00:32.689 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:28:01 +0000 (0:00:00.032) 0:00:32.722 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:28:01 +0000 (0:00:00.032) 0:00:32.754 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:28:01 +0000 (0:00:00.041) 0:00:32.796 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:28:01 +0000 (0:00:00.022) 0:00:32.819 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:28:01 +0000 (0:00:00.136) 0:00:32.955 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:28:01 +0000 (0:00:00.049) 0:00:33.005 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:28:01 +0000 (0:00:00.043) 0:00:33.048 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304478.170407, "block_size": 4096, "blocks": 0, "ctime": 1706304478.165407, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17622, "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": 1706304478.165407, "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_fixjhh469ik/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:28:01 +0000 (0:00:00.157) 0:00:33.206 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:28:01 +0000 (0:00:00.032) 0:00:33.238 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:28:02 +0000 (0:00:00.052) 0:00:33.291 ******** 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:28:02 +0000 (0:00:00.025) 0:00:33.316 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:28:02 +0000 (0:00:00.146) 0:00:33.463 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:28:02 +0000 (0:00:00.025) 0:00:33.488 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021860", "end": "2024-01-26 21:28:02.364143", "rc": 1, "start": "2024-01-26 21:28:02.342283" } 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:28:02 +0000 (0:00:00.175) 0:00:33.664 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:28:02 +0000 (0:00:00.024) 0:00:33.688 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:28:02 +0000 (0:00:00.021) 0:00:33.710 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:28:02 +0000 (0:00:00.024) 0:00:33.735 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:28:02 +0000 (0:00:00.024) 0:00:33.760 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:28:02 +0000 (0:00:00.038) 0:00:33.798 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:28:02 +0000 (0:00:00.028) 0:00:33.826 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:28:02 +0000 (0:00:00.023) 0:00:33.850 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:28:02 +0000 (0:00:00.045) 0:00:33.895 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:28:02 +0000 (0:00:00.057) 0:00:33.953 ******** 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.049768", "end": "2024-01-26 21:28:02.875292", "rc": 0, "start": "2024-01-26 21:28:02.825524" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tests_states.yml:103 Friday 26 January 2024 21:28:02 +0000 (0:00:00.216) 0:00:34.170 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:28:02 +0000 (0:00:00.058) 0:00:34.229 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:28:03 +0000 (0:00:00.056) 0:00:34.286 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:28:03 +0000 (0:00:00.050) 0:00:34.336 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:28:03 +0000 (0:00:00.038) 0:00:34.375 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:28:03 +0000 (0:00:00.163) 0:00:34.538 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003262", "end": "2024-01-26 21:28:03.416072", "rc": 0, "start": "2024-01-26 21:28:03.412810" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:28:03 +0000 (0:00:00.179) 0:00:34.718 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:28:03 +0000 (0:00:00.033) 0:00:34.751 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:28:03 +0000 (0:00:00.034) 0:00:34.786 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:28:03 +0000 (0:00:00.066) 0:00:34.852 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:28:03 +0000 (0:00:00.054) 0:00:34.907 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:03 +0000 (0:00:00.103) 0:00:35.010 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:28:03 +0000 (0:00:00.029) 0:00:35.040 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:28:03 +0000 (0:00:00.026) 0:00:35.066 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:28:03 +0000 (0:00:00.041) 0:00:35.108 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:28:04 +0000 (0:00:00.731) 0:00:35.839 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:28:05 +0000 (0:00:00.945) 0:00:36.785 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:28:05 +0000 (0:00:00.022) 0:00:36.808 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:28:05 +0000 (0:00:00.021) 0:00:36.829 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:28:05 +0000 (0:00:00.019) 0:00:36.849 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:28:05 +0000 (0:00:00.042) 0:00:36.892 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:28:05 +0000 (0:00:00.023) 0:00:36.915 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:28:05 +0000 (0:00:00.022) 0:00:36.938 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:28:05 +0000 (0:00:00.028) 0:00:36.966 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:28:05 +0000 (0:00:00.030) 0:00:36.996 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:28:05 +0000 (0:00:00.024) 0:00:37.020 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:28:05 +0000 (0:00:00.222) 0:00:37.242 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171956lu0o73m/tmpjex758tf" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:28:06 +0000 (0:00:00.234) 0:00:37.477 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:28:06 +0000 (0:00:00.244) 0:00:37.721 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:28:06 +0000 (0:00:00.022) 0:00:37.744 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:28:06 +0000 (0:00:00.024) 0:00:37.769 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:28:06 +0000 (0:00:00.024) 0:00:37.793 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:28:06 +0000 (0:00:00.036) 0:00:37.830 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:28:06 +0000 (0:00:00.162) 0:00:37.992 ******** 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_fixjhh469ik/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:28:06 +0000 (0:00:00.044) 0:00:38.036 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:28:06 +0000 (0:00:00.042) 0:00:38.079 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:06 +0000 (0:00:00.054) 0:00:38.133 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:28:06 +0000 (0:00:00.039) 0:00:38.173 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:28:07 +0000 (0:00:00.110) 0:00:38.283 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:28:07 +0000 (0:00:00.053) 0:00:38.337 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:28:07 +0000 (0:00:00.716) 0:00:39.054 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:28:08 +0000 (0:00:00.947) 0:00:40.002 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:28:08 +0000 (0:00:00.028) 0:00:40.030 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:28:08 +0000 (0:00:00.027) 0:00:40.057 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:28:08 +0000 (0:00:00.045) 0:00:40.102 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:28:08 +0000 (0:00:00.054) 0:00:40.157 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:28:08 +0000 (0:00:00.039) 0:00:40.197 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:28:08 +0000 (0:00:00.025) 0:00:40.223 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:28:09 +0000 (0:00:00.037) 0:00:40.260 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:28:09 +0000 (0:00:00.022) 0:00:40.283 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:28:09 +0000 (0:00:00.033) 0:00:40.316 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:28:09 +0000 (0:00:00.238) 0:00:40.554 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171956lu0o73m/tmp4ejnz_jk" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:28:09 +0000 (0:00:00.234) 0:00:40.789 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:28:10 +0000 (0:00:00.519) 0:00:41.308 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:28:10 +0000 (0:00:00.024) 0:00:41.332 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:28:10 +0000 (0:00:00.021) 0:00:41.354 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:28:10 +0000 (0:00:00.023) 0:00:41.377 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:28:10 +0000 (0:00:00.021) 0:00:41.399 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/remove_profile.yml:3 Friday 26 January 2024 21:28:10 +0000 (0:00:00.128) 0:00:41.527 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:28:10 +0000 (0:00:00.052) 0:00:41.580 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:10 +0000 (0:00:00.039) 0:00:41.620 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:28:10 +0000 (0:00:00.027) 0:00:41.647 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:28:10 +0000 (0:00:00.022) 0:00:41.669 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:28:10 +0000 (0:00:00.021) 0:00:41.690 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:28:11 +0000 (0:00:00.699) 0:00:42.390 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:28:12 +0000 (0:00:00.921) 0:00:43.312 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:28:12 +0000 (0:00:00.031) 0:00:43.343 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:28:12 +0000 (0:00:00.024) 0:00:43.368 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:28:12 +0000 (0:00:00.023) 0:00:43.392 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:28:12 +0000 (0:00:00.057) 0:00:43.449 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:28:12 +0000 (0:00:00.029) 0:00:43.479 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:28:12 +0000 (0:00:00.046) 0:00:43.525 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:28:12 +0000 (0:00:00.049) 0:00:43.574 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:28:12 +0000 (0:00:00.021) 0:00:43.596 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:28:12 +0000 (0:00:00.023) 0:00:43.620 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:28:12 +0000 (0:00:00.235) 0:00:43.855 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171956lu0o73m/tmp3_cnsj7y" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:28:12 +0000 (0:00:00.347) 0:00:44.203 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:28:13 +0000 (0:00:00.271) 0:00:44.475 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:28:13 +0000 (0:00:00.035) 0:00:44.510 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:28:13 +0000 (0:00:00.044) 0:00:44.555 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:28:13 +0000 (0:00:00.032) 0:00:44.587 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:28:13 +0000 (0:00:00.032) 0:00:44.620 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:28:13 +0000 (0:00:00.125) 0:00:44.745 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:28:13 +0000 (0:00:00.040) 0:00:44.786 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:28:13 +0000 (0:00:00.041) 0:00:44.827 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:13 +0000 (0:00:00.039) 0:00:44.866 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:28:13 +0000 (0:00:00.026) 0:00:44.893 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:28:13 +0000 (0:00:00.022) 0:00:44.915 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:28:13 +0000 (0:00:00.020) 0:00:44.936 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:28:14 +0000 (0:00:00.673) 0:00:45.610 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:28:15 +0000 (0:00:00.921) 0:00:46.531 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:28:15 +0000 (0:00:00.043) 0:00:46.574 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:28:15 +0000 (0:00:00.043) 0:00:46.617 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:28:15 +0000 (0:00:00.038) 0:00:46.656 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:28:15 +0000 (0:00:00.062) 0:00:46.718 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:28:15 +0000 (0:00:00.025) 0:00:46.744 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:28:15 +0000 (0:00:00.022) 0:00:46.767 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:28:15 +0000 (0:00:00.061) 0:00:46.828 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:28:15 +0000 (0:00:00.027) 0:00:46.855 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:28:15 +0000 (0:00:00.030) 0:00:46.885 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:28:15 +0000 (0:00:00.323) 0:00:47.209 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171956lu0o73m/tmp632rtsq_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:28:16 +0000 (0:00:00.201) 0:00:47.410 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:28:16 +0000 (0:00:00.220) 0:00:47.631 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:28:16 +0000 (0:00:00.024) 0:00:47.656 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:28:16 +0000 (0:00:00.033) 0:00:47.689 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:28:16 +0000 (0:00:00.076) 0:00:47.766 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:28:16 +0000 (0:00:00.059) 0:00:47.825 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:28:16 +0000 (0:00:00.166) 0:00:47.992 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:28:16 +0000 (0:00:00.063) 0:00:48.056 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:28:16 +0000 (0:00:00.054) 0:00:48.110 ******** 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:28:16 +0000 (0:00:00.039) 0:00:48.150 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:28:17 +0000 (0:00:00.147) 0:00:48.298 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:28:17 +0000 (0:00:00.021) 0:00:48.319 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020750", "end": "2024-01-26 21:28:17.199728", "rc": 1, "start": "2024-01-26 21:28:17.178978" } 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:28:17 +0000 (0:00:00.172) 0:00:48.491 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:28:17 +0000 (0:00:00.077) 0:00:48.569 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:28:17 +0000 (0:00:00.045) 0:00:48.614 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:28:17 +0000 (0:00:00.048) 0:00:48.663 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:28:17 +0000 (0:00:00.033) 0:00:48.696 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:28:17 +0000 (0:00:00.033) 0:00:48.730 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:28:17 +0000 (0:00:00.038) 0:00:48.768 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:28:17 +0000 (0:00:00.055) 0:00:48.824 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:28:17 +0000 (0:00:00.033) 0:00:48.857 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:28:17 +0000 (0:00:00.071) 0:00:48.929 ******** 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.045262", "end": "2024-01-26 21:28:17.860370", "rc": 0, "start": "2024-01-26 21:28:17.815108" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tests_states.yml:126 Friday 26 January 2024 21:28:17 +0000 (0:00:00.228) 0:00:49.158 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:28:17 +0000 (0:00:00.076) 0:00:49.234 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:28:18 +0000 (0:00:00.041) 0:00:49.275 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:28:18 +0000 (0:00:00.105) 0:00:49.381 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:28:18 +0000 (0:00:00.037) 0:00:49.419 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:28:18 +0000 (0:00:00.085) 0:00:49.504 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003216", "end": "2024-01-26 21:28:18.374278", "rc": 0, "start": "2024-01-26 21:28:18.371062" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:28:18 +0000 (0:00:00.143) 0:00:49.648 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:28:18 +0000 (0:00:00.022) 0:00:49.671 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:28:18 +0000 (0:00:00.035) 0:00:49.706 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:28:18 +0000 (0:00:00.052) 0:00:49.759 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:28:18 +0000 (0:00:00.039) 0:00:49.799 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:18 +0000 (0:00:00.045) 0:00:49.844 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:28:18 +0000 (0:00:00.029) 0:00:49.873 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:28:18 +0000 (0:00:00.055) 0:00:49.929 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:28:18 +0000 (0:00:00.075) 0:00:50.005 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:28:19 +0000 (0:00:00.729) 0:00:50.735 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:28:20 +0000 (0:00:00.935) 0:00:51.670 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:28:20 +0000 (0:00:00.022) 0:00:51.693 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:28:20 +0000 (0:00:00.020) 0:00:51.714 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:28:20 +0000 (0:00:00.022) 0:00:51.736 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:28:20 +0000 (0:00:00.068) 0:00:51.805 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:28:20 +0000 (0:00:00.024) 0:00:51.830 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:28:20 +0000 (0:00:00.028) 0:00:51.859 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:28:20 +0000 (0:00:00.043) 0:00:51.902 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:28:20 +0000 (0:00:00.026) 0:00:51.928 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:28:20 +0000 (0:00:00.024) 0:00:51.952 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:28:20 +0000 (0:00:00.223) 0:00:52.175 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171956lu0o73m/tmpyx_wcyeu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:28:21 +0000 (0:00:00.207) 0:00:52.383 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:28:21 +0000 (0:00:00.243) 0:00:52.627 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:28:21 +0000 (0:00:00.021) 0:00:52.649 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:28:21 +0000 (0:00:00.023) 0:00:52.672 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:28:21 +0000 (0:00:00.022) 0:00:52.694 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:28:21 +0000 (0:00:00.025) 0:00:52.719 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:28:21 +0000 (0:00:00.141) 0:00:52.861 ******** 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_fixjhh469ik/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:28:21 +0000 (0:00:00.025) 0:00:52.886 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:28:21 +0000 (0:00:00.047) 0:00:52.933 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:21 +0000 (0:00:00.042) 0:00:52.976 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:28:21 +0000 (0:00:00.027) 0:00:53.003 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:28:21 +0000 (0:00:00.028) 0:00:53.031 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:28:21 +0000 (0:00:00.024) 0:00:53.055 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:28:22 +0000 (0:00:00.704) 0:00:53.760 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:28:23 +0000 (0:00:00.925) 0:00:54.686 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:28:23 +0000 (0:00:00.030) 0:00:54.716 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:28:23 +0000 (0:00:00.024) 0:00:54.741 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:28:23 +0000 (0:00:00.060) 0:00:54.802 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:28:23 +0000 (0:00:00.054) 0:00:54.857 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:28:23 +0000 (0:00:00.034) 0:00:54.892 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:28:23 +0000 (0:00:00.041) 0:00:54.933 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:28:23 +0000 (0:00:00.075) 0:00:55.008 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:28:23 +0000 (0:00:00.032) 0:00:55.041 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:28:23 +0000 (0:00:00.024) 0:00:55.065 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:28:24 +0000 (0:00:00.274) 0:00:55.340 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171956lu0o73m/tmpsqw7yu3d" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:28:24 +0000 (0:00:00.270) 0:00:55.611 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:28:24 +0000 (0:00:00.515) 0:00:56.126 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:28:24 +0000 (0:00:00.023) 0:00:56.150 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:28:24 +0000 (0:00:00.027) 0:00:56.178 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:28:24 +0000 (0:00:00.031) 0:00:56.209 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:28:24 +0000 (0:00:00.021) 0:00:56.230 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:28:25 +0000 (0:00:00.123) 0:00:56.354 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:28:25 +0000 (0:00:00.035) 0:00:56.389 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:25 +0000 (0:00:00.042) 0:00:56.431 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:28:25 +0000 (0:00:00.028) 0:00:56.460 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:28:25 +0000 (0:00:00.021) 0:00:56.481 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:28:25 +0000 (0:00:00.021) 0:00:56.503 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:28:25 +0000 (0:00:00.687) 0:00:57.191 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:28:26 +0000 (0:00:01.008) 0:00:58.199 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:28:26 +0000 (0:00:00.046) 0:00:58.245 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:28:27 +0000 (0:00:00.030) 0:00:58.276 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:28:27 +0000 (0:00:00.028) 0:00:58.305 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:28:27 +0000 (0:00:00.045) 0:00:58.350 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:28:27 +0000 (0:00:00.022) 0:00:58.372 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:28:27 +0000 (0:00:00.043) 0:00:58.415 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:28:27 +0000 (0:00:00.038) 0:00:58.454 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:28:27 +0000 (0:00:00.042) 0:00:58.497 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:28:27 +0000 (0:00:00.028) 0:00:58.525 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:28:27 +0000 (0:00:00.284) 0:00:58.810 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171956lu0o73m/tmpnzqaz56a" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:28:27 +0000 (0:00:00.250) 0:00:59.061 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:28:28 +0000 (0:00:00.257) 0:00:59.318 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:28:28 +0000 (0:00:00.059) 0:00:59.378 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:28:28 +0000 (0:00:00.026) 0:00:59.404 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:28:28 +0000 (0:00:00.025) 0:00:59.430 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:28:28 +0000 (0:00:00.028) 0:00:59.458 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:28:28 +0000 (0:00:00.144) 0:00:59.602 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:28:28 +0000 (0:00:00.074) 0:00:59.676 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:28:28 +0000 (0:00:00.038) 0:00:59.715 ******** included: /WORKDIR/git-ci_fixjhh469ik/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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:28 +0000 (0:00:00.039) 0:00:59.754 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:28:28 +0000 (0:00:00.027) 0:00:59.781 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:28:28 +0000 (0:00:00.032) 0:00:59.814 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:28:28 +0000 (0:00:00.023) 0:00:59.838 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:28:29 +0000 (0:00:00.732) 0:01:00.570 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:28:30 +0000 (0:00:00.921) 0:01:01.492 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:28:30 +0000 (0:00:00.033) 0:01:01.526 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:28:30 +0000 (0:00:00.023) 0:01:01.550 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:28:30 +0000 (0:00:00.044) 0:01:01.594 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:28:30 +0000 (0:00:00.047) 0:01:01.641 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:28:30 +0000 (0:00:00.044) 0:01:01.686 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:28:30 +0000 (0:00:00.029) 0:01:01.715 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:28:30 +0000 (0:00:00.026) 0:01:01.741 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:28:30 +0000 (0:00:00.024) 0:01:01.765 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:28:30 +0000 (0:00:00.021) 0:01:01.786 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:28:30 +0000 (0:00:00.252) 0:01:02.039 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171956lu0o73m/tmpjn8qwxal" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:28:31 +0000 (0:00:00.217) 0:01:02.257 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:28:31 +0000 (0:00:00.241) 0:01:02.498 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:28:31 +0000 (0:00:00.052) 0:01:02.551 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:28:31 +0000 (0:00:00.035) 0:01:02.586 ******** 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_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:28:31 +0000 (0:00:00.026) 0:01:02.613 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:28:31 +0000 (0:00:00.022) 0:01:02.635 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:28:31 +0000 (0:00:00.133) 0:01:02.769 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:28:31 +0000 (0:00:00.050) 0:01:02.819 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:28:31 +0000 (0:00:00.053) 0:01:02.872 ******** 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:28:31 +0000 (0:00:00.023) 0:01:02.896 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:28:31 +0000 (0:00:00.139) 0:01:03.035 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:28:31 +0000 (0:00:00.030) 0:01:03.066 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024030", "end": "2024-01-26 21:28:31.944251", "rc": 1, "start": "2024-01-26 21:28:31.920221" } 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_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:28:31 +0000 (0:00:00.155) 0:01:03.222 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:28:32 +0000 (0:00:00.055) 0:01:03.277 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:28:32 +0000 (0:00:00.038) 0:01:03.316 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:28:32 +0000 (0:00:00.031) 0:01:03.348 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:28:32 +0000 (0:00:00.041) 0:01:03.389 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:28:32 +0000 (0:00:00.036) 0:01:03.425 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 26 January 2024 21:28:32 +0000 (0:00:00.029) 0:01:03.455 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.671443", "end": "2024-01-26 21:28:32.980107", "rc": 0, "start": "2024-01-26 21:28:32.308664" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 26 January 2024 21:28:33 +0000 (0:00:00.807) 0:01:04.262 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 26 January 2024 21:28:33 +0000 (0:00:00.039) 0:01:04.302 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:28:33 +0000 (0:00:00.023) 0:01:04.325 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:28:33 +0000 (0:00:00.027) 0:01:04.353 ******** 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_fixjhh469ik/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:28:33 +0000 (0:00:00.022) 0:01:04.376 ******** included: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixjhh469ik/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:28:33 +0000 (0:00:00.041) 0:01:04.418 ******** 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.048438", "end": "2024-01-26 21:28:33.320513", "rc": 0, "start": "2024-01-26 21:28:33.272075" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=334 changed=13 unreachable=0 failed=0 skipped=225 rescued=0 ignored=10 Friday 26 January 2024 21:28:33 +0000 (0:00:00.174) 0:01:04.593 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.95s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.27s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.27s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.25s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which packages are installed --------- 1.14s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.04s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable network service --------------------- 0.98s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-ci_fixjhh469ik/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-ci_fixjhh469ik/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. ---^---^---^---^---^---