# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /WORKDIR/git-route_type10xdy443/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/tests_states_initscripts.yml:5 Wednesday 10 January 2024 18:36:22 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type10xdy443/tests/tests_states_initscripts.yml:8 Wednesday 10 January 2024 18:36:23 +0000 (0:00:00.495) 0:00:00.506 ***** included: /WORKDIR/git-route_type10xdy443/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-route_type10xdy443/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 18:36:23 +0000 (0:00:00.027) 0:00:00.534 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type10xdy443/tests/tasks/el_repo_setup.yml:19 Wednesday 10 January 2024 18:36:23 +0000 (0:00:00.223) 0:00:00.758 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type10xdy443/tests/tasks/el_repo_setup.yml:24 Wednesday 10 January 2024 18:36:23 +0000 (0:00:00.189) 0:00:00.947 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/tasks/el_repo_setup.yml:28 Wednesday 10 January 2024 18:36:23 +0000 (0:00:00.019) 0:00:00.967 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type10xdy443/tests/tasks/el_repo_setup.yml:53 Wednesday 10 January 2024 18:36:23 +0000 (0:00:00.016) 0:00:00.984 ***** included: /WORKDIR/git-route_type10xdy443/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 18:36:23 +0000 (0:00:00.030) 0:00:01.015 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type10xdy443/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 18:36:23 +0000 (0:00:00.181) 0:00:01.196 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 18:36:24 +0000 (0:00:00.446) 0:00:01.643 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.175506", "end": "2024-01-10 18:36:24.648272", "rc": 0, "start": "2024-01-10 18:36:24.472766" } 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-route_type10xdy443/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 18:36:24 +0000 (0:00:00.295) 0:00:01.938 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 18:36:24 +0000 (0:00:00.010) 0:00:01.949 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_type10xdy443/tests/tests_states_initscripts.yml:10 Wednesday 10 January 2024 18:36:24 +0000 (0:00:00.009) 0:00:01.958 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tests_states.yml:3 Wednesday 10 January 2024 18:36:24 +0000 (0:00:00.009) 0:00:01.968 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tests_states.yml:11 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.377) 0:00:02.345 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tests_states.yml:22 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.010) 0:00:02.356 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.015) 0:00:02.371 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.010) 0:00:02.381 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.033) 0:00:02.415 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.014) 0:00:02.430 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.013) 0:00:02.444 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003503", "end": "2024-01-10 18:36:25.276368", "rc": 0, "start": "2024-01-10 18:36:25.272865" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.122) 0:00:02.567 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.011) 0:00:02.578 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.010) 0:00:02.589 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.019) 0:00:02.608 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011202", "end": "2024-01-10 18:36:25.450240", "rc": 1, "start": "2024-01-10 18:36:25.439038" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.130) 0:00:02.739 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.015) 0:00:02.754 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.122) 0:00:02.876 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.012) 0:00:02.888 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.018) 0:00:02.907 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.031) 0:00:02.938 ***** included: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.068) 0:00:03.006 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.012) 0:00:03.019 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.009) 0:00:03.029 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:36:25 +0000 (0:00:00.010) 0:00:03.040 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:36:26 +0000 (0:00:00.760) 0:00:03.800 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:36:27 +0000 (0:00:01.083) 0:00:04.884 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:36:27 +0000 (0:00:00.022) 0:00:04.906 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:36:27 +0000 (0:00:00.020) 0:00:04.927 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:36:27 +0000 (0:00:00.021) 0:00:04.948 ***** changed: [sut] => { "changed": true, "changes": { "installed": [ "bridge-utils" ] }, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7.centos.1.x86_64 providing dhclient is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:36:29 +0000 (0:00:02.227) 0:00:07.176 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:36:29 +0000 (0:00:00.020) 0:00:07.196 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:36:29 +0000 (0:00:00.021) 0:00:07.218 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:36:29 +0000 (0:00:00.023) 0:00:07.242 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:36:30 +0000 (0:00:00.038) 0:00:07.281 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:36:30 +0000 (0:00:00.020) 0:00:07.301 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:36:30 +0000 (0:00:00.360) 0:00:07.662 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17328vrf081tu/tmp4wdjv0wm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:36:30 +0000 (0:00:00.227) 0:00:07.889 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:36:30 +0000 (0:00:00.326) 0:00:08.215 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:36:30 +0000 (0:00:00.021) 0:00:08.236 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:36:30 +0000 (0:00:00.021) 0:00:08.258 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:36:31 +0000 (0:00:00.021) 0:00:08.280 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:36:31 +0000 (0:00:00.020) 0:00:08.300 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:36:31 +0000 (0:00:00.207) 0:00:08.507 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:36:31 +0000 (0:00:00.022) 0:00:08.530 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 18:36:31 +0000 (0:00:00.038) 0:00:08.569 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:36:31 +0000 (0:00:00.060) 0:00:08.629 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:36:31 +0000 (0:00:00.026) 0:00:08.655 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704911790.9143505, "block_size": 4096, "blocks": 8, "ctime": 1704911790.9143505, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25405, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704911790.9143505, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:36:31 +0000 (0:00:00.131) 0:00:08.787 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:36:31 +0000 (0:00:00.022) 0:00:08.810 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024635", "end": "2024-01-10 18:36:31.666567", "rc": 1, "start": "2024-01-10 18:36:31.641932" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:36:31 +0000 (0:00:00.157) 0:00:08.967 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:36:31 +0000 (0:00:00.022) 0:00:08.989 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003664", "end": "2024-01-10 18:36:31.827107", "rc": 0, "start": "2024-01-10 18:36:31.823443" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:36:31 +0000 (0:00:00.138) 0:00:09.127 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:36:31 +0000 (0:00:00.027) 0:00:09.155 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003462", "end": "2024-01-10 18:36:31.994881", "rc": 0, "start": "2024-01-10 18:36:31.991419" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.140) 0:00:09.296 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.025) 0:00:09.321 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.023) 0:00:09.344 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.022) 0:00:09.367 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.021) 0:00:09.389 ***** skipping: [sut] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.024) 0:00:09.413 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.021) 0:00:09.434 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.038) 0:00:09.473 ***** 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.045783", "end": "2024-01-10 18:36:32.350639", "rc": 1, "start": "2024-01-10 18:36:32.304856" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tests_states.yml:45 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.176) 0:00:09.650 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.036) 0:00:09.686 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.022) 0:00:09.708 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.046) 0:00:09.755 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.033) 0:00:09.789 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.034) 0:00:09.824 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003412", "end": "2024-01-10 18:36:32.661608", "rc": 0, "start": "2024-01-10 18:36:32.658196" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.137) 0:00:09.961 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.021) 0:00:09.983 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.020) 0:00:10.003 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.039) 0:00:10.043 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007347", "end": "2024-01-10 18:36:32.882505", "rc": 1, "start": "2024-01-10 18:36:32.875158" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.138) 0:00:10.181 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:36:32 +0000 (0:00:00.034) 0:00:10.216 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.134) 0:00:10.351 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.023) 0:00:10.374 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.037) 0:00:10.412 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.039) 0:00:10.451 ***** included: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.038) 0:00:10.489 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.024) 0:00:10.514 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.020) 0:00:10.535 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.020) 0:00:10.555 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:36:33 +0000 (0:00:00.687) 0:00:11.243 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.938) 0:00:12.181 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.022) 0:00:12.204 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.022) 0:00:12.226 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:36:34 +0000 (0:00:00.025) 0:00:12.251 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.048) 0:00:12.300 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.021) 0:00:12.321 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.019) 0:00:12.340 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.024) 0:00:12.365 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.020) 0:00:12.385 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.021) 0:00:12.406 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.224) 0:00:12.631 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17328vrf081tu/tmpr2c95t2x" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.213) 0:00:12.845 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.253) 0:00:13.099 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.021) 0:00:13.120 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.023) 0:00:13.143 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.022) 0:00:13.166 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:36:35 +0000 (0:00:00.025) 0:00:13.191 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 10 January 2024 18:36:36 +0000 (0:00:00.129) 0:00:13.320 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:36:36 +0000 (0:00:00.023) 0:00:13.344 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 18:36:36 +0000 (0:00:00.042) 0:00:13.386 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:36:36 +0000 (0:00:00.034) 0:00:13.421 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 18:36:36 +0000 (0:00:00.136) 0:00:13.557 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 18:36:36 +0000 (0:00:00.024) 0:00:13.581 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:36:36 +0000 (0:00:00.035) 0:00:13.617 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:36:36 +0000 (0:00:00.022) 0:00:13.640 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704911795.7973647, "block_size": 4096, "blocks": 8, "ctime": 1704911795.7973647, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25405, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704911795.7973647, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:36:36 +0000 (0:00:00.159) 0:00:13.799 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:36:36 +0000 (0:00:00.023) 0:00:13.823 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020684", "end": "2024-01-10 18:36:36.673903", "rc": 1, "start": "2024-01-10 18:36:36.653219" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:36:36 +0000 (0:00:00.150) 0:00:13.973 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:36:36 +0000 (0:00:00.022) 0:00:13.996 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003388", "end": "2024-01-10 18:36:36.832316", "rc": 0, "start": "2024-01-10 18:36:36.828928" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:36:36 +0000 (0:00:00.138) 0:00:14.134 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:36:36 +0000 (0:00:00.026) 0:00:14.161 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003421", "end": "2024-01-10 18:36:36.998212", "rc": 0, "start": "2024-01-10 18:36:36.994791" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.138) 0:00:14.299 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.025) 0:00:14.325 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.022) 0:00:14.348 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.023) 0:00:14.371 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.022) 0:00:14.393 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.019) 0:00:14.412 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.022) 0:00:14.434 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.038) 0:00:14.473 ***** 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.041752", "end": "2024-01-10 18:36:37.350738", "rc": 1, "start": "2024-01-10 18:36:37.308986" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tests_states.yml:65 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.176) 0:00:14.650 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.062) 0:00:14.712 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.024) 0:00:14.736 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.045) 0:00:14.781 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.035) 0:00:14.816 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.034) 0:00:14.851 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003438", "end": "2024-01-10 18:36:37.686051", "rc": 0, "start": "2024-01-10 18:36:37.682613" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.135) 0:00:14.986 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.021) 0:00:15.008 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.021) 0:00:15.029 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.037) 0:00:15.067 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.034) 0:00:15.102 ***** included: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.041) 0:00:15.143 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.030) 0:00:15.174 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.046) 0:00:15.220 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:36:37 +0000 (0:00:00.022) 0:00:15.243 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:36:38 +0000 (0:00:00.687) 0:00:15.931 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.918) 0:00:16.849 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.023) 0:00:16.872 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.021) 0:00:16.893 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.022) 0:00:16.915 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.047) 0:00:16.962 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.022) 0:00:16.984 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.047) 0:00:17.032 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.024) 0:00:17.057 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.023) 0:00:17.081 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:36:39 +0000 (0:00:00.019) 0:00:17.100 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.225) 0:00:17.326 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17328vrf081tu/tmpwwbv9h5r" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.242) 0:00:17.568 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.224) 0:00:17.793 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.020) 0:00:17.814 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.022) 0:00:17.836 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.021) 0:00:17.858 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.019) 0:00:17.878 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.127) 0:00:18.006 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.021) 0:00:18.027 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.038) 0:00:18.065 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.065) 0:00:18.131 ***** included: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.051) 0:00:18.182 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.027) 0:00:18.210 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.022) 0:00:18.233 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:36:40 +0000 (0:00:00.021) 0:00:18.254 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:36:41 +0000 (0:00:00.693) 0:00:18.948 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.913) 0:00:19.862 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.044) 0:00:19.906 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.021) 0:00:19.928 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.021) 0:00:19.950 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.042) 0:00:19.993 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.021) 0:00:20.015 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.021) 0:00:20.036 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.023) 0:00:20.060 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.021) 0:00:20.081 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:36:42 +0000 (0:00:00.019) 0:00:20.101 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:36:43 +0000 (0:00:00.226) 0:00:20.328 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17328vrf081tu/tmpea463yvp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:36:43 +0000 (0:00:00.209) 0:00:20.537 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:36:43 +0000 (0:00:00.465) 0:00:21.003 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:36:43 +0000 (0:00:00.020) 0:00:21.024 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:36:43 +0000 (0:00:00.025) 0:00:21.050 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:36:43 +0000 (0:00:00.023) 0:00:21.073 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:36:43 +0000 (0:00:00.043) 0:00:21.116 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:36:43 +0000 (0:00:00.130) 0:00:21.246 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.041) 0:00:21.288 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.034) 0:00:21.322 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704911803.6333876, "block_size": 4096, "blocks": 0, "ctime": 1704911803.6323874, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17767, "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": 1704911803.6323874, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.135) 0:00:21.457 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.023) 0:00:21.481 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.037) 0:00:21.518 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.021) 0:00:21.540 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704911803.4553869, "block_size": 4096, "blocks": 8, "ctime": 1704911800.4913783, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25406, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704911800.4913783, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.132) 0:00:21.673 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.022) 0:00:21.695 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021530", "end": "2024-01-10 18:36:44.547854", "rc": 1, "start": "2024-01-10 18:36:44.526324" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.152) 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-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.021) 0:00:21.869 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003435", "end": "2024-01-10 18:36:44.706271", "rc": 0, "start": "2024-01-10 18:36:44.702836" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.142) 0:00:22.012 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.053) 0:00:22.066 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003474", "end": "2024-01-10 18:36:44.904029", "rc": 0, "start": "2024-01-10 18:36:44.900555" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.141) 0:00:22.208 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.027) 0:00:22.235 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 18:36:44 +0000 (0:00:00.023) 0:00:22.258 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.023) 0:00:22.281 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.022) 0:00:22.304 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.020) 0:00:22.324 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.023) 0:00:22.347 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.041) 0:00:22.389 ***** 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.047493", "end": "2024-01-10 18:36:45.268979", "rc": 0, "start": "2024-01-10 18:36:45.221486" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tests_states.yml:83 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.180) 0:00:22.569 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.036) 0:00:22.606 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.029) 0:00:22.636 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.044) 0:00:22.680 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.044) 0:00:22.725 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.064) 0:00:22.789 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003320", "end": "2024-01-10 18:36:45.625300", "rc": 0, "start": "2024-01-10 18:36:45.621980" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.135) 0:00:22.925 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.022) 0:00:22.947 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.020) 0:00:22.968 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.039) 0:00:23.008 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.036) 0:00:23.044 ***** included: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.040) 0:00:23.085 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.026) 0:00:23.111 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.020) 0:00:23.131 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:36:45 +0000 (0:00:00.021) 0:00:23.152 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:36:46 +0000 (0:00:00.693) 0:00:23.846 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.928) 0:00:24.774 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.021) 0:00:24.796 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.020) 0:00:24.816 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.019) 0:00:24.836 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.042) 0:00:24.879 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.021) 0:00:24.900 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.021) 0:00:24.921 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.025) 0:00:24.946 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.022) 0:00:24.968 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.021) 0:00:24.990 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:36:47 +0000 (0:00:00.226) 0:00:25.216 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17328vrf081tu/tmpris5exeg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:36:48 +0000 (0:00:00.223) 0:00:25.440 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:36:48 +0000 (0:00:00.226) 0:00:25.666 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:36:48 +0000 (0:00:00.021) 0:00:25.688 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:36:48 +0000 (0:00:00.022) 0:00:25.710 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:36:48 +0000 (0:00:00.023) 0:00:25.734 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:36:48 +0000 (0:00:00.021) 0:00:25.755 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:36:48 +0000 (0:00:00.127) 0:00:25.883 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:36:48 +0000 (0:00:00.023) 0:00:25.906 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:36:48 +0000 (0:00:00.035) 0:00:25.942 ***** included: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:36:48 +0000 (0:00:00.039) 0:00:25.981 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:36:48 +0000 (0:00:00.027) 0:00:26.008 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:36:48 +0000 (0:00:00.021) 0:00:26.030 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:36:48 +0000 (0:00:00.020) 0:00:26.051 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:36:49 +0000 (0:00:00.680) 0:00:26.731 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:36:50 +0000 (0:00:00.929) 0:00:27.661 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:36:50 +0000 (0:00:00.023) 0:00:27.685 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:36:50 +0000 (0:00:00.021) 0:00:27.706 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:36:50 +0000 (0:00:00.021) 0:00:27.727 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:36:50 +0000 (0:00:00.043) 0:00:27.771 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:36:50 +0000 (0:00:00.021) 0:00:27.792 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:36:50 +0000 (0:00:00.021) 0:00:27.814 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:36:50 +0000 (0:00:00.025) 0:00:27.840 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:36:50 +0000 (0:00:00.022) 0:00:27.863 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:36:50 +0000 (0:00:00.022) 0:00:27.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-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:36:50 +0000 (0:00:00.250) 0:00:28.135 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17328vrf081tu/tmp9hpy95hj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:36:51 +0000 (0:00:00.218) 0:00:28.354 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:36:51 +0000 (0:00:00.462) 0:00:28.816 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:36:51 +0000 (0:00:00.022) 0:00:28.839 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:36:51 +0000 (0:00:00.025) 0:00:28.864 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:36:51 +0000 (0:00:00.023) 0:00:28.887 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:36:51 +0000 (0:00:00.021) 0:00:28.908 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:36:51 +0000 (0:00:00.130) 0:00:29.039 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 18:36:51 +0000 (0:00:00.038) 0:00:29.078 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:36:51 +0000 (0:00:00.039) 0:00:29.117 ***** included: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:36:51 +0000 (0:00:00.065) 0:00:29.183 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:36:51 +0000 (0:00:00.028) 0:00:29.211 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:36:51 +0000 (0:00:00.022) 0:00:29.234 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:36:51 +0000 (0:00:00.027) 0:00:29.261 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:36:52 +0000 (0:00:00.699) 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 : Print network provider] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:36:53 +0000 (0:00:00.918) 0:00:30.879 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:36:53 +0000 (0:00:00.022) 0:00:30.902 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:36:53 +0000 (0:00:00.026) 0:00:30.928 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:36:53 +0000 (0:00:00.021) 0:00:30.950 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:36:53 +0000 (0:00:00.066) 0:00:31.016 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:36:53 +0000 (0:00:00.026) 0:00:31.043 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:36:53 +0000 (0:00:00.022) 0:00:31.065 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:36:53 +0000 (0:00:00.024) 0:00:31.089 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:36:53 +0000 (0:00:00.021) 0:00:31.111 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:36:53 +0000 (0:00:00.021) 0:00:31.133 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:36:54 +0000 (0:00:00.225) 0:00:31.359 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17328vrf081tu/tmphboxgr86" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:36:54 +0000 (0:00:00.240) 0:00:31.600 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:36:54 +0000 (0:00:00.228) 0:00:31.829 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:36:54 +0000 (0:00:00.020) 0:00:31.850 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:36:54 +0000 (0:00:00.021) 0:00:31.871 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:36:54 +0000 (0:00:00.022) 0:00:31.894 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:36:54 +0000 (0:00:00.022) 0:00:31.917 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:36:54 +0000 (0:00:00.130) 0:00:32.048 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 18:36:54 +0000 (0:00:00.058) 0:00:32.106 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 18:36:54 +0000 (0:00:00.068) 0:00:32.175 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704911811.44741, "block_size": 4096, "blocks": 0, "ctime": 1704911811.4464102, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17767, "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": 1704911811.4464102, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.150) 0:00:32.325 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.023) 0:00:32.349 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.036) 0:00:32.385 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.024) 0:00:32.410 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.131) 0:00:32.541 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.021) 0:00:32.563 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021318", "end": "2024-01-10 18:36:55.418624", "rc": 1, "start": "2024-01-10 18:36:55.397306" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.165) 0:00:32.729 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.023) 0:00:32.752 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.021) 0:00:32.774 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.022) 0:00:32.796 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.022) 0:00:32.819 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.022) 0:00:32.841 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.025) 0:00:32.867 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.021) 0:00:32.888 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.052) 0:00:32.941 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.039) 0:00:32.980 ***** 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.050409", "end": "2024-01-10 18:36:55.863967", "rc": 0, "start": "2024-01-10 18:36:55.813558" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tests_states.yml:103 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.184) 0:00:33.165 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.036) 0:00:33.201 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.022) 0:00:33.224 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:36:55 +0000 (0:00:00.046) 0:00:33.270 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.033) 0:00:33.304 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.032) 0:00:33.336 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003481", "end": "2024-01-10 18:36:56.170782", "rc": 0, "start": "2024-01-10 18:36:56.167301" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.134) 0:00:33.471 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.021) 0:00:33.493 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.020) 0:00:33.514 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.042) 0:00:33.557 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.069) 0:00:33.626 ***** included: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.041) 0:00:33.667 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.025) 0:00:33.693 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.021) 0:00:33.715 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:36:56 +0000 (0:00:00.020) 0:00:33.736 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:36:57 +0000 (0:00:00.683) 0:00:34.419 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:36:58 +0000 (0:00:00.917) 0:00:35.336 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:36:58 +0000 (0:00:00.047) 0:00:35.384 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:36:58 +0000 (0:00:00.034) 0:00:35.418 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:36:58 +0000 (0:00:00.026) 0:00:35.444 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:36:58 +0000 (0:00:00.053) 0:00:35.498 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:36:58 +0000 (0:00:00.023) 0:00:35.521 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:36:58 +0000 (0:00:00.022) 0:00:35.544 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:36:58 +0000 (0:00:00.024) 0:00:35.569 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:36:58 +0000 (0:00:00.031) 0:00:35.600 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:36:58 +0000 (0:00:00.034) 0:00:35.635 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:36:58 +0000 (0:00:00.229) 0:00:35.865 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17328vrf081tu/tmptxwbhfl1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:36:58 +0000 (0:00:00.216) 0:00:36.082 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.228) 0:00:36.311 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.021) 0:00:36.332 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.022) 0:00:36.354 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.022) 0:00:36.377 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.020) 0:00:36.397 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.154) 0:00:36.551 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.023) 0:00:36.575 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.038) 0:00:36.613 ***** included: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.072) 0:00:36.686 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.029) 0:00:36.715 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.028) 0:00:36.744 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:36:59 +0000 (0:00:00.021) 0:00:36.766 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:37:00 +0000 (0:00:00.684) 0:00:37.450 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:37:01 +0000 (0:00:00.941) 0:00:38.391 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:37:01 +0000 (0:00:00.025) 0:00:38.417 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:37:01 +0000 (0:00:00.026) 0:00:38.444 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:37:01 +0000 (0:00:00.021) 0:00:38.466 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:37:01 +0000 (0:00:00.043) 0:00:38.509 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:37:01 +0000 (0:00:00.022) 0:00:38.531 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:37:01 +0000 (0:00:00.021) 0:00:38.552 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:37:01 +0000 (0:00:00.025) 0:00:38.578 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:37:01 +0000 (0:00:00.021) 0:00:38.600 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:37:01 +0000 (0:00:00.021) 0:00:38.621 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:37:01 +0000 (0:00:00.229) 0:00:38.851 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17328vrf081tu/tmp9nmett9r" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:37:01 +0000 (0:00:00.218) 0:00:39.069 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.466) 0:00:39.536 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.021) 0:00:39.558 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.050) 0:00:39.609 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.023) 0:00:39.632 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.026) 0:00:39.659 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.140) 0:00:39.800 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.053) 0:00:39.853 ***** included: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.045) 0:00:39.898 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.031) 0:00:39.930 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.025) 0:00:39.955 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:37:02 +0000 (0:00:00.020) 0:00:39.976 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:37:03 +0000 (0:00:00.711) 0:00:40.687 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:37:04 +0000 (0:00:00.939) 0:00:41.627 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:37:04 +0000 (0:00:00.022) 0:00:41.650 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:37:04 +0000 (0:00:00.030) 0:00:41.680 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:37:04 +0000 (0:00:00.023) 0:00:41.703 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:37:04 +0000 (0:00:00.043) 0:00:41.747 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:37:04 +0000 (0:00:00.021) 0:00:41.768 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:37:04 +0000 (0:00:00.021) 0:00:41.790 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:37:04 +0000 (0:00:00.023) 0:00:41.814 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:37:04 +0000 (0:00:00.020) 0:00:41.835 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:37:04 +0000 (0:00:00.021) 0:00:41.856 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:37:04 +0000 (0:00:00.251) 0:00:42.108 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17328vrf081tu/tmpymvr1e11" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.234) 0:00:42.343 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.291) 0:00:42.634 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.021) 0:00:42.656 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.022) 0:00:42.679 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.024) 0:00:42.704 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.029) 0:00:42.734 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.162) 0:00:42.897 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.054) 0:00:42.952 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.060) 0:00:43.012 ***** included: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.040) 0:00:43.053 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.029) 0:00:43.082 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.027) 0:00:43.109 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:37:05 +0000 (0:00:00.025) 0:00:43.134 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:37:06 +0000 (0:00:00.714) 0:00:43.849 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:37:07 +0000 (0:00:00.921) 0:00:44.771 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:37:07 +0000 (0:00:00.023) 0:00:44.795 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:37:07 +0000 (0:00:00.023) 0:00:44.818 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:37:07 +0000 (0:00:00.022) 0:00:44.840 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:37:07 +0000 (0:00:00.047) 0:00:44.888 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:37:07 +0000 (0:00:00.032) 0:00:44.920 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:37:07 +0000 (0:00:00.024) 0:00:44.945 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:37:07 +0000 (0:00:00.033) 0:00:44.979 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:37:07 +0000 (0:00:00.036) 0:00:45.015 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:37:07 +0000 (0:00:00.032) 0:00:45.048 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.249) 0:00:45.297 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17328vrf081tu/tmpdnayhoal" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.249) 0:00:45.547 ***** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.223) 0:00:45.771 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.029) 0:00:45.801 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.024) 0:00:45.826 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.023) 0:00:45.849 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.021) 0:00:45.870 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.128) 0:00:45.998 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.038) 0:00:46.037 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.040) 0:00:46.077 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.030) 0:00:46.108 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.140) 0:00:46.248 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:37:08 +0000 (0:00:00.021) 0:00:46.270 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021592", "end": "2024-01-10 18:37:09.124815", "rc": 1, "start": "2024-01-10 18:37:09.103223" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.167) 0:00:46.438 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.092) 0:00:46.530 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.050) 0:00:46.581 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.044) 0:00:46.625 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.038) 0:00:46.664 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.029) 0:00:46.693 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.037) 0:00:46.731 ***** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.035) 0:00:46.766 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.032) 0:00:46.798 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.041) 0:00:46.840 ***** 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.047950", "end": "2024-01-10 18:37:09.720251", "rc": 0, "start": "2024-01-10 18:37:09.672301" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tests_states.yml:126 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.190) 0:00:47.031 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.038) 0:00:47.069 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.034) 0:00:47.104 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.060) 0:00:47.165 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 18:37:09 +0000 (0:00:00.048) 0:00:47.214 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.088) 0:00:47.302 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003434", "end": "2024-01-10 18:37:10.139602", "rc": 0, "start": "2024-01-10 18:37:10.136168" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.138) 0:00:47.441 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.040) 0:00:47.481 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.023) 0:00:47.505 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.046) 0:00:47.551 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.036) 0:00:47.588 ***** included: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.042) 0:00:47.630 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.025) 0:00:47.656 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.021) 0:00:47.678 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:37:10 +0000 (0:00:00.020) 0:00:47.699 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:37:11 +0000 (0:00:00.686) 0:00:48.385 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.937) 0:00:49.323 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.022) 0:00:49.346 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.020) 0:00:49.366 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.019) 0:00:49.386 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.042) 0:00:49.429 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.021) 0:00:49.450 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.022) 0:00:49.473 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.024) 0:00:49.497 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.021) 0:00:49.518 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.021) 0:00:49.540 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.225) 0:00:49.766 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17328vrf081tu/tmpjmrmskjw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.237) 0:00:50.003 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.230) 0:00:50.234 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:37:12 +0000 (0:00:00.027) 0:00:50.262 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.022) 0:00:50.284 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.024) 0:00:50.309 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.021) 0:00:50.331 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.129) 0:00:50.460 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.024) 0:00:50.484 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.035) 0:00:50.520 ***** included: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.039) 0:00:50.559 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.027) 0:00:50.586 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.020) 0:00:50.607 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:37:13 +0000 (0:00:00.019) 0:00:50.627 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:37:14 +0000 (0:00:00.681) 0:00:51.308 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:37:14 +0000 (0:00:00.929) 0:00:52.238 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:37:14 +0000 (0:00:00.024) 0:00:52.262 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:37:15 +0000 (0:00:00.024) 0:00:52.286 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:37:15 +0000 (0:00:00.021) 0:00:52.308 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:37:15 +0000 (0:00:00.043) 0:00:52.352 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:37:15 +0000 (0:00:00.021) 0:00:52.373 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:37:15 +0000 (0:00:00.020) 0:00:52.394 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:37:15 +0000 (0:00:00.023) 0:00:52.418 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:37:15 +0000 (0:00:00.020) 0:00:52.439 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:37:15 +0000 (0:00:00.021) 0:00:52.460 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:37:15 +0000 (0:00:00.246) 0:00:52.707 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17328vrf081tu/tmptih2597o" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:37:15 +0000 (0:00:00.211) 0:00:52.918 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.460) 0:00:53.379 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.021) 0:00:53.401 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.023) 0:00:53.424 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.023) 0:00:53.448 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.020) 0:00:53.468 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.126) 0:00:53.595 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.038) 0:00:53.634 ***** included: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.038) 0:00:53.673 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.025) 0:00:53.698 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.027) 0:00:53.725 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:37:16 +0000 (0:00:00.022) 0:00:53.748 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:37:17 +0000 (0:00:00.707) 0:00:54.455 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.921) 0:00:55.377 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.022) 0:00:55.399 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.021) 0:00:55.421 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.021) 0:00:55.443 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.042) 0:00:55.485 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.020) 0:00:55.506 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.020) 0:00:55.527 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.024) 0:00:55.551 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.045) 0:00:55.597 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.022) 0:00:55.619 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.239) 0:00:55.858 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17328vrf081tu/tmpyhhba54c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:37:18 +0000 (0:00:00.225) 0:00:56.084 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.236) 0:00:56.320 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.021) 0:00:56.341 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.022) 0:00:56.364 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.022) 0:00:56.386 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.020) 0:00:56.407 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.131) 0:00:56.538 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.037) 0:00:56.576 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.034) 0:00:56.611 ***** included: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.071) 0:00:56.682 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.027) 0:00:56.710 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.022) 0:00:56.732 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 18:37:19 +0000 (0:00:00.022) 0:00:56.755 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 18:37:20 +0000 (0:00:00.690) 0:00:57.446 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.914) 0:00:58.361 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.022) 0:00:58.383 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.021) 0:00:58.404 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.020) 0:00:58.425 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.065) 0:00:58.491 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.021) 0:00:58.512 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.021) 0:00:58.533 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.023) 0:00:58.557 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.021) 0:00:58.578 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.020) 0:00:58.599 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.226) 0:00:58.825 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17328vrf081tu/tmpkimepsgw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 18:37:21 +0000 (0:00:00.229) 0:00:59.054 ***** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.221) 0:00:59.275 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.021) 0:00:59.297 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.023) 0:00:59.320 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.022) 0:00:59.343 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.020) 0:00:59.364 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.128) 0:00:59.492 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.041) 0:00:59.534 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.061) 0:00:59.596 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.021) 0:00:59.617 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.137) 0:00:59.755 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.021) 0:00:59.776 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022415", "end": "2024-01-10 18:37:22.628742", "rc": 1, "start": "2024-01-10 18:37:22.606327" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.153) 0:00:59.930 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.022) 0:00:59.952 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.022) 0:00:59.975 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.021) 0:00:59.997 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.021) 0:01:00.019 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.021) 0:01:00.041 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 10 January 2024 18:37:22 +0000 (0:00:00.025) 0:01:00.066 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.680447", "end": "2024-01-10 18:37:23.578504", "rc": 0, "start": "2024-01-10 18:37:22.898057" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 10 January 2024 18:37:23 +0000 (0:00:00.813) 0:01:00.880 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 10 January 2024 18:37:23 +0000 (0:00:00.021) 0:01:00.901 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 18:37:23 +0000 (0:00:00.043) 0:01:00.945 ***** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 18:37:23 +0000 (0:00:00.025) 0:01:00.970 ***** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 18:37:23 +0000 (0:00:00.023) 0:01:00.993 ***** included: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type10xdy443/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 18:37:23 +0000 (0:00:00.039) 0:01:01.032 ***** 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.046392", "end": "2024-01-10 18:37:23.911965", "rc": 0, "start": "2024-01-10 18:37:23.865573" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=335 changed=14 unreachable=0 failed=0 skipped=224 rescued=0 ignored=10 Wednesday 10 January 2024 18:37:23 +0000 (0:00:00.167) 0:01:01.200 ***** =============================================================================== linux-system-roles.network : Install packages --------------------------- 2.41s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 1.86s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.27s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 1.24s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.15s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which packages are installed --------- 1.08s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable network service --------------------- 0.95s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-route_type10xdy443/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-route_type10xdy443/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. ---^---^---^---^---^---