# 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-nm_plugin_hotfixm9clkt90/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/tests_states_initscripts.yml:5 Monday 19 February 2024 00:30:44 +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-nm_plugin_hotfixm9clkt90/tests/tests_states_initscripts.yml:8 Monday 19 February 2024 00:30:45 +0000 (0:00:00.600) 0:00:00.612 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/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-nm_plugin_hotfixm9clkt90/tests/tasks/el_repo_setup.yml:3 Monday 19 February 2024 00:30:45 +0000 (0:00:00.022) 0:00:00.635 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/tasks/el_repo_setup.yml:19 Monday 19 February 2024 00:30:45 +0000 (0:00:00.243) 0:00:00.879 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/tasks/el_repo_setup.yml:24 Monday 19 February 2024 00:30:45 +0000 (0:00:00.197) 0:00:01.077 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/tasks/el_repo_setup.yml:28 Monday 19 February 2024 00:30:45 +0000 (0:00:00.020) 0:00:01.097 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/tasks/el_repo_setup.yml:53 Monday 19 February 2024 00:30:45 +0000 (0:00:00.017) 0:00:01.115 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/tasks/enable_epel.yml:8 Monday 19 February 2024 00:30:45 +0000 (0:00:00.031) 0:00:01.146 ******* 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-nm_plugin_hotfixm9clkt90/tests/tasks/enable_epel.yml:24 Monday 19 February 2024 00:30:45 +0000 (0:00:00.207) 0:00:01.354 ******* 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-nm_plugin_hotfixm9clkt90/tests/tasks/enable_epel.yml:30 Monday 19 February 2024 00:30:46 +0000 (0:00:00.462) 0:00:01.816 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.189409", "end": "2024-02-19 00:30:46.526546", "rc": 0, "start": "2024-02-19 00:30:46.337137" } 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-nm_plugin_hotfixm9clkt90/tests/tasks/enable_epel.yml:35 Monday 19 February 2024 00:30:46 +0000 (0:00:00.320) 0:00:02.137 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/tasks/enable_epel.yml:40 Monday 19 February 2024 00:30:46 +0000 (0:00:00.010) 0:00:02.148 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/tests_states_initscripts.yml:10 Monday 19 February 2024 00:30:46 +0000 (0:00:00.009) 0:00:02.158 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tests_states.yml:3 Monday 19 February 2024 00:30:46 +0000 (0:00:00.009) 0:00:02.167 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tests_states.yml:11 Monday 19 February 2024 00:30:46 +0000 (0:00:00.400) 0:00:02.567 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tests_states.yml:22 Monday 19 February 2024 00:30:46 +0000 (0:00:00.011) 0:00:02.578 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 00:30:47 +0000 (0:00:00.018) 0:00:02.597 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 00:30:47 +0000 (0:00:00.012) 0:00:02.610 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 00:30:47 +0000 (0:00:00.035) 0:00:02.645 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:30:47 +0000 (0:00:00.015) 0:00:02.661 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:30:47 +0000 (0:00:00.014) 0:00:02.675 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003776", "end": "2024-02-19 00:30:47.197542", "rc": 0, "start": "2024-02-19 00:30:47.193766" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:30:47 +0000 (0:00:00.132) 0:00:02.808 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:30:47 +0000 (0:00:00.013) 0:00:02.822 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 00:30:47 +0000 (0:00:00.012) 0:00:02.834 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 00:30:47 +0000 (0:00:00.021) 0:00:02.855 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012476", "end": "2024-02-19 00:30:47.388356", "rc": 1, "start": "2024-02-19 00:30:47.375880" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 00:30:47 +0000 (0:00:00.143) 0:00:02.998 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:30:47 +0000 (0:00:00.016) 0:00:03.014 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 00:30:47 +0000 (0:00:00.131) 0:00:03.146 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 00:30:47 +0000 (0:00:00.012) 0:00:03.159 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 00:30:47 +0000 (0:00:00.018) 0:00:03.177 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:30:47 +0000 (0:00:00.033) 0:00:03.211 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:30:47 +0000 (0:00:00.070) 0:00:03.281 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:30:47 +0000 (0:00:00.013) 0:00:03.294 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:30:47 +0000 (0:00:00.011) 0:00:03.306 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:30:47 +0000 (0:00:00.010) 0:00:03.317 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:30:48 +0000 (0:00:00.816) 0:00:04.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 : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:30:49 +0000 (0:00:01.145) 0:00:05.279 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:30:49 +0000 (0:00:00.022) 0:00:05.301 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:30:49 +0000 (0:00:00.021) 0:00:05.323 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:30:49 +0000 (0:00:00.020) 0:00:05.343 ******* changed: [sut] => { "attempts": 1, "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: dl.fedoraproject.org\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" ] } MSG: https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:40:52 +0000 (0:10:02.466) 0:10:07.810 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:40:52 +0000 (0:00:00.022) 0:10:07.832 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:40:52 +0000 (0:00:00.021) 0:10:07.853 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:40:52 +0000 (0:00:00.024) 0:10:07.877 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:40:52 +0000 (0:00:00.020) 0:10:07.898 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:40:52 +0000 (0:00:00.039) 0:10:07.937 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:40:52 +0000 (0:00:00.384) 0:10:08.321 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17332peev7jn9/tmpadbugx5q" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:40:52 +0000 (0:00:00.226) 0:10:08.548 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:40:53 +0000 (0:00:00.352) 0:10:08.901 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:40:53 +0000 (0:00:00.021) 0:10:08.922 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:40:53 +0000 (0:00:00.022) 0:10:08.944 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:40:53 +0000 (0:00:00.023) 0:10:08.968 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:40:53 +0000 (0:00:00.020) 0:10:08.989 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 00:40:53 +0000 (0:00:00.219) 0:10:09.208 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 00:40:53 +0000 (0:00:00.023) 0:10:09.232 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 00:40:53 +0000 (0:00:00.038) 0:10:09.271 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 00:40:53 +0000 (0:00:00.057) 0:10:09.329 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 00:40:53 +0000 (0:00:00.022) 0:10:09.351 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708303253.2787974, "block_size": 4096, "blocks": 8, "ctime": 1708303253.2787974, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25391, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708303253.2787974, "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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 00:40:53 +0000 (0:00:00.146) 0:10:09.498 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 00:40:53 +0000 (0:00:00.022) 0:10:09.521 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026226", "end": "2024-02-19 00:40:54.072543", "rc": 1, "start": "2024-02-19 00:40:54.046317" } 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 00:40:54 +0000 (0:00:00.171) 0:10:09.692 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 00:40:54 +0000 (0:00:00.021) 0:10:09.714 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004072", "end": "2024-02-19 00:40:54.244066", "rc": 0, "start": "2024-02-19 00:40:54.239994" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 00:40:54 +0000 (0:00:00.151) 0:10:09.865 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 00:40:54 +0000 (0:00:00.026) 0:10:09.892 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004038", "end": "2024-02-19 00:40:54.422092", "rc": 0, "start": "2024-02-19 00:40:54.418054" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 00:40:54 +0000 (0:00:00.151) 0:10:10.044 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 00:40:54 +0000 (0:00:00.026) 0:10:10.070 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 00:40:54 +0000 (0:00:00.024) 0:10:10.095 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 00:40:54 +0000 (0:00:00.023) 0:10:10.118 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 00:40:54 +0000 (0:00:00.023) 0:10:10.142 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 00:40:54 +0000 (0:00:00.025) 0:10:10.168 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 00:40:54 +0000 (0:00:00.021) 0:10:10.190 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 00:40:54 +0000 (0:00:00.039) 0:10:10.229 ******* 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.049152", "end": "2024-02-19 00:40:54.801868", "rc": 1, "start": "2024-02-19 00:40:54.752716" } 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tests_states.yml:45 Monday 19 February 2024 00:40:54 +0000 (0:00:00.191) 0:10:10.420 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 00:40:54 +0000 (0:00:00.036) 0:10:10.457 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 00:40:54 +0000 (0:00:00.022) 0:10:10.479 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 00:40:54 +0000 (0:00:00.046) 0:10:10.526 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:40:54 +0000 (0:00:00.033) 0:10:10.560 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:40:54 +0000 (0:00:00.032) 0:10:10.593 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003862", "end": "2024-02-19 00:40:55.118808", "rc": 0, "start": "2024-02-19 00:40:55.114946" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:40:55 +0000 (0:00:00.145) 0:10:10.738 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:40:55 +0000 (0:00:00.022) 0:10:10.760 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 00:40:55 +0000 (0:00:00.020) 0:10:10.780 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/delete_interface.yml:3 Monday 19 February 2024 00:40:55 +0000 (0:00:00.040) 0:10:10.821 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008024", "end": "2024-02-19 00:40:55.353552", "rc": 1, "start": "2024-02-19 00:40:55.345528" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 00:40:55 +0000 (0:00:00.150) 0:10:10.972 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:40:55 +0000 (0:00:00.056) 0:10:11.028 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 00:40:55 +0000 (0:00:00.145) 0:10:11.174 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 00:40:55 +0000 (0:00:00.024) 0:10:11.199 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 19 February 2024 00:40:55 +0000 (0:00:00.038) 0:10:11.237 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:40:55 +0000 (0:00:00.039) 0:10:11.277 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:40:55 +0000 (0:00:00.038) 0:10:11.316 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:40:55 +0000 (0:00:00.025) 0:10:11.341 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:40:55 +0000 (0:00:00.020) 0:10:11.362 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:40:55 +0000 (0:00:00.021) 0:10:11.383 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:40:56 +0000 (0:00:00.769) 0:10:12.153 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:40:57 +0000 (0:00:01.023) 0:10:13.176 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:40:57 +0000 (0:00:00.022) 0:10:13.199 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:40:57 +0000 (0:00:00.021) 0:10:13.221 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:40:57 +0000 (0:00:00.020) 0:10:13.241 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:40:57 +0000 (0:00:00.042) 0:10:13.284 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:40:57 +0000 (0:00:00.020) 0:10:13.305 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:40:57 +0000 (0:00:00.021) 0:10:13.327 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:40:57 +0000 (0:00:00.024) 0:10:13.352 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:40:57 +0000 (0:00:00.020) 0:10:13.373 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:40:57 +0000 (0:00:00.021) 0:10:13.394 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:40:58 +0000 (0:00:00.248) 0:10:13.643 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17332peev7jn9/tmp5sbu9tnd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:40:58 +0000 (0:00:00.248) 0:10:13.892 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:40:58 +0000 (0:00:00.245) 0:10:14.138 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:40:58 +0000 (0:00:00.022) 0:10:14.160 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:40:58 +0000 (0:00:00.021) 0:10:14.182 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:40:58 +0000 (0:00:00.023) 0:10:14.205 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:40:58 +0000 (0:00:00.021) 0:10:14.227 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 19 February 2024 00:40:58 +0000 (0:00:00.140) 0:10:14.367 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 00:40:58 +0000 (0:00:00.022) 0:10:14.390 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 19 February 2024 00:40:58 +0000 (0:00:00.042) 0:10:14.432 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:40:58 +0000 (0:00:00.034) 0:10:14.466 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 19 February 2024 00:40:59 +0000 (0:00:00.144) 0:10:14.611 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 00:40:59 +0000 (0:00:00.024) 0:10:14.635 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 00:40:59 +0000 (0:00:00.035) 0:10:14.671 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 00:40:59 +0000 (0:00:00.045) 0:10:14.716 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708303258.5157952, "block_size": 4096, "blocks": 8, "ctime": 1708303258.5157952, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25391, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708303258.5157952, "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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 00:40:59 +0000 (0:00:00.145) 0:10:14.862 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 00:40:59 +0000 (0:00:00.022) 0:10:14.884 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024481", "end": "2024-02-19 00:40:59.431576", "rc": 1, "start": "2024-02-19 00:40:59.407095" } 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 00:40:59 +0000 (0:00:00.166) 0:10:15.051 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 00:40:59 +0000 (0:00:00.023) 0:10:15.074 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003880", "end": "2024-02-19 00:40:59.606099", "rc": 0, "start": "2024-02-19 00:40:59.602219" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 00:40:59 +0000 (0:00:00.153) 0:10:15.228 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 00:40:59 +0000 (0:00:00.026) 0:10:15.255 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003879", "end": "2024-02-19 00:40:59.785275", "rc": 0, "start": "2024-02-19 00:40:59.781396" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 00:40:59 +0000 (0:00:00.150) 0:10:15.406 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 00:40:59 +0000 (0:00:00.027) 0:10:15.433 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 00:40:59 +0000 (0:00:00.023) 0:10:15.457 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 00:40:59 +0000 (0:00:00.024) 0:10:15.481 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 00:40:59 +0000 (0:00:00.022) 0:10:15.504 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 00:40:59 +0000 (0:00:00.019) 0:10:15.523 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 00:40:59 +0000 (0:00:00.022) 0:10:15.546 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 00:40:59 +0000 (0:00:00.038) 0:10:15.585 ******* 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.050359", "end": "2024-02-19 00:41:00.159087", "rc": 1, "start": "2024-02-19 00:41:00.108728" } 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tests_states.yml:65 Monday 19 February 2024 00:41:00 +0000 (0:00:00.218) 0:10:15.803 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 00:41:00 +0000 (0:00:00.036) 0:10:15.839 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 00:41:00 +0000 (0:00:00.022) 0:10:15.862 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 00:41:00 +0000 (0:00:00.046) 0:10:15.908 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:41:00 +0000 (0:00:00.033) 0:10:15.941 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:41:00 +0000 (0:00:00.032) 0:10:15.974 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003926", "end": "2024-02-19 00:41:00.504791", "rc": 0, "start": "2024-02-19 00:41:00.500865" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:41:00 +0000 (0:00:00.151) 0:10:16.125 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:41:00 +0000 (0:00:00.021) 0:10:16.147 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 00:41:00 +0000 (0:00:00.021) 0:10:16.168 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 00:41:00 +0000 (0:00:00.037) 0:10:16.206 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:41:00 +0000 (0:00:00.034) 0:10:16.240 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:41:00 +0000 (0:00:00.065) 0:10:16.306 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:41:00 +0000 (0:00:00.026) 0:10:16.332 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:41:00 +0000 (0:00:00.021) 0:10:16.354 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:41:00 +0000 (0:00:00.021) 0:10:16.375 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:41:01 +0000 (0:00:00.764) 0:10:17.139 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:41:02 +0000 (0:00:00.996) 0:10:18.135 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:41:02 +0000 (0:00:00.022) 0:10:18.158 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:41:02 +0000 (0:00:00.020) 0:10:18.179 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:41:02 +0000 (0:00:00.042) 0:10:18.222 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:41:02 +0000 (0:00:00.043) 0:10:18.266 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:41:02 +0000 (0:00:00.021) 0:10:18.287 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:41:02 +0000 (0:00:00.023) 0:10:18.311 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:41:02 +0000 (0:00:00.025) 0:10:18.337 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:41:02 +0000 (0:00:00.021) 0:10:18.358 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:41:02 +0000 (0:00:00.020) 0:10:18.379 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:41:03 +0000 (0:00:00.251) 0:10:18.630 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17332peev7jn9/tmpsk55zcmw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:41:03 +0000 (0:00:00.225) 0:10:18.856 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:41:03 +0000 (0:00:00.244) 0:10:19.101 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:41:03 +0000 (0:00:00.020) 0:10:19.121 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:41:03 +0000 (0:00:00.022) 0:10:19.144 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:41:03 +0000 (0:00:00.022) 0:10:19.167 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:41:03 +0000 (0:00:00.020) 0:10:19.187 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 00:41:03 +0000 (0:00:00.138) 0:10:19.326 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 00:41:03 +0000 (0:00:00.045) 0:10:19.371 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 00:41:03 +0000 (0:00:00.037) 0:10:19.409 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:41:03 +0000 (0:00:00.039) 0:10:19.448 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:41:03 +0000 (0:00:00.039) 0:10:19.488 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:41:03 +0000 (0:00:00.027) 0:10:19.515 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:41:03 +0000 (0:00:00.021) 0:10:19.536 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:41:03 +0000 (0:00:00.021) 0:10:19.558 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:41:04 +0000 (0:00:00.769) 0:10:20.327 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:41:05 +0000 (0:00:00.996) 0:10:21.324 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:41:05 +0000 (0:00:00.022) 0:10:21.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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:41:05 +0000 (0:00:00.021) 0:10:21.368 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:41:05 +0000 (0:00:00.021) 0:10:21.390 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:41:05 +0000 (0:00:00.042) 0:10:21.432 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:41:05 +0000 (0:00:00.021) 0:10:21.454 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:41:05 +0000 (0:00:00.020) 0:10:21.475 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:41:05 +0000 (0:00:00.025) 0:10:21.501 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:41:05 +0000 (0:00:00.021) 0:10:21.522 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:41:05 +0000 (0:00:00.020) 0:10:21.543 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:41:06 +0000 (0:00:00.244) 0:10:21.788 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17332peev7jn9/tmpbsnjutu8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:41:06 +0000 (0:00:00.227) 0:10:22.015 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:41:06 +0000 (0:00:00.538) 0:10:22.554 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:41:06 +0000 (0:00:00.020) 0:10:22.575 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:41:07 +0000 (0:00:00.023) 0:10:22.599 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:41:07 +0000 (0:00:00.023) 0:10:22.622 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:41:07 +0000 (0:00:00.021) 0:10:22.644 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 00:41:07 +0000 (0:00:00.140) 0:10:22.785 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 00:41:07 +0000 (0:00:00.041) 0:10:22.826 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:41:07 +0000 (0:00:00.035) 0:10:22.862 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708303266.8537917, "block_size": 4096, "blocks": 0, "ctime": 1708303266.8527918, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17687, "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": 1708303266.8527918, "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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 00:41:07 +0000 (0:00:00.144) 0:10:23.006 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 19 February 2024 00:41:07 +0000 (0:00:00.023) 0:10:23.030 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 00:41:07 +0000 (0:00:00.035) 0:10:23.065 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 00:41:07 +0000 (0:00:00.021) 0:10:23.087 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708303266.6617918, "block_size": 4096, "blocks": 8, "ctime": 1708303263.4777932, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25391, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708303263.4777932, "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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 00:41:07 +0000 (0:00:00.145) 0:10:23.232 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 00:41:07 +0000 (0:00:00.049) 0:10:23.281 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025562", "end": "2024-02-19 00:41:07.830770", "rc": 1, "start": "2024-02-19 00:41:07.805208" } 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 00:41:07 +0000 (0:00:00.169) 0:10:23.451 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 00:41:07 +0000 (0:00:00.023) 0:10:23.474 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003868", "end": "2024-02-19 00:41:08.003780", "rc": 0, "start": "2024-02-19 00:41:07.999912" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 00:41:08 +0000 (0:00:00.151) 0:10:23.626 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 00:41:08 +0000 (0:00:00.026) 0:10:23.653 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003937", "end": "2024-02-19 00:41:08.181609", "rc": 0, "start": "2024-02-19 00:41:08.177672" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 00:41:08 +0000 (0:00:00.150) 0:10:23.804 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 19 February 2024 00:41:08 +0000 (0:00:00.027) 0:10:23.831 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 19 February 2024 00:41:08 +0000 (0:00:00.023) 0:10:23.854 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 19 February 2024 00:41:08 +0000 (0:00:00.024) 0:10:23.878 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 00:41:08 +0000 (0:00:00.022) 0:10:23.900 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 00:41:08 +0000 (0:00:00.019) 0:10:23.920 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 00:41:08 +0000 (0:00:00.022) 0:10:23.943 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 00:41:08 +0000 (0:00:00.038) 0:10:23.981 ******* 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.054097", "end": "2024-02-19 00:41:08.557023", "rc": 0, "start": "2024-02-19 00:41:08.502926" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tests_states.yml:83 Monday 19 February 2024 00:41:08 +0000 (0:00:00.196) 0:10:24.178 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 00:41:08 +0000 (0:00:00.061) 0:10:24.240 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 00:41:08 +0000 (0:00:00.022) 0:10:24.263 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 00:41:08 +0000 (0:00:00.044) 0:10:24.307 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:41:08 +0000 (0:00:00.035) 0:10:24.343 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:41:08 +0000 (0:00:00.033) 0:10:24.377 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003921", "end": "2024-02-19 00:41:08.906254", "rc": 0, "start": "2024-02-19 00:41:08.902333" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:41:08 +0000 (0:00:00.149) 0:10:24.526 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:41:08 +0000 (0:00:00.022) 0:10:24.549 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 00:41:08 +0000 (0:00:00.021) 0:10:24.570 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 00:41:09 +0000 (0:00:00.040) 0:10:24.611 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:41:09 +0000 (0:00:00.035) 0:10:24.646 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:41:09 +0000 (0:00:00.039) 0:10:24.685 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:41:09 +0000 (0:00:00.025) 0:10:24.711 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:41:09 +0000 (0:00:00.049) 0:10:24.760 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:41:09 +0000 (0:00:00.021) 0:10:24.782 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:41:09 +0000 (0:00:00.751) 0:10:25.533 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:41:10 +0000 (0:00:00.999) 0:10:26.532 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:41:10 +0000 (0:00:00.022) 0:10:26.554 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:41:10 +0000 (0:00:00.021) 0:10:26.576 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:41:11 +0000 (0:00:00.021) 0:10:26.598 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:41:11 +0000 (0:00:00.043) 0:10:26.641 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:41:11 +0000 (0:00:00.043) 0:10:26.685 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:41:11 +0000 (0:00:00.021) 0:10:26.706 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:41:11 +0000 (0:00:00.026) 0:10:26.733 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:41:11 +0000 (0:00:00.020) 0:10:26.754 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:41:11 +0000 (0:00:00.021) 0:10:26.776 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:41:11 +0000 (0:00:00.245) 0:10:27.022 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17332peev7jn9/tmp28yyusk5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:41:11 +0000 (0:00:00.227) 0:10:27.250 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:41:11 +0000 (0:00:00.247) 0:10:27.497 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:41:11 +0000 (0:00:00.021) 0:10:27.519 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:41:11 +0000 (0:00:00.022) 0:10:27.541 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:41:11 +0000 (0:00:00.022) 0:10:27.564 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:41:11 +0000 (0:00:00.021) 0:10:27.586 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 00:41:12 +0000 (0:00:00.139) 0:10:27.725 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 00:41:12 +0000 (0:00:00.022) 0:10:27.748 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:41:12 +0000 (0:00:00.060) 0:10:27.808 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:41:12 +0000 (0:00:00.039) 0:10:27.848 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:41:12 +0000 (0:00:00.026) 0:10:27.874 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:41:12 +0000 (0:00:00.021) 0:10:27.896 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:41:12 +0000 (0:00:00.021) 0:10:27.918 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:41:13 +0000 (0:00:00.753) 0:10:28.671 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:41:14 +0000 (0:00:00.991) 0:10:29.662 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:41:14 +0000 (0:00:00.045) 0:10:29.707 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:41:14 +0000 (0:00:00.021) 0:10:29.729 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:41:14 +0000 (0:00:00.021) 0:10:29.751 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:41:14 +0000 (0:00:00.042) 0:10:29.793 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:41:14 +0000 (0:00:00.022) 0:10:29.816 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:41:14 +0000 (0:00:00.021) 0:10:29.837 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:41:14 +0000 (0:00:00.024) 0:10:29.862 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:41:14 +0000 (0:00:00.021) 0:10:29.883 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:41:14 +0000 (0:00:00.021) 0:10:29.905 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:41:14 +0000 (0:00:00.246) 0:10:30.151 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17332peev7jn9/tmppf1hvyqk" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:41:14 +0000 (0:00:00.223) 0:10:30.374 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:41:15 +0000 (0:00:00.506) 0:10:30.880 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:41:15 +0000 (0:00:00.020) 0:10:30.901 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:41:15 +0000 (0:00:00.022) 0:10:30.923 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:41:15 +0000 (0:00:00.021) 0:10:30.945 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:41:15 +0000 (0:00:00.043) 0:10:30.988 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 00:41:15 +0000 (0:00:00.140) 0:10:31.129 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 00:41:15 +0000 (0:00:00.038) 0:10:31.167 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:41:15 +0000 (0:00:00.039) 0:10:31.207 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:41:15 +0000 (0:00:00.039) 0:10:31.246 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:41:15 +0000 (0:00:00.026) 0:10:31.273 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:41:15 +0000 (0:00:00.021) 0:10:31.294 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:41:15 +0000 (0:00:00.021) 0:10:31.315 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:41:16 +0000 (0:00:00.763) 0:10:32.079 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:41:17 +0000 (0:00:01.020) 0:10:33.099 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:41:17 +0000 (0:00:00.022) 0:10:33.122 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:41:17 +0000 (0:00:00.020) 0:10:33.142 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:41:17 +0000 (0:00:00.021) 0:10:33.164 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:41:17 +0000 (0:00:00.043) 0:10:33.207 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:41:17 +0000 (0:00:00.021) 0:10:33.228 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:41:17 +0000 (0:00:00.021) 0:10:33.250 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:41:17 +0000 (0:00:00.024) 0:10:33.275 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:41:17 +0000 (0:00:00.021) 0:10:33.296 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:41:17 +0000 (0:00:00.021) 0:10:33.318 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:41:17 +0000 (0:00:00.247) 0:10:33.565 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17332peev7jn9/tmp5pbur32h" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:41:18 +0000 (0:00:00.250) 0:10:33.815 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:41:18 +0000 (0:00:00.256) 0:10:34.072 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:41:18 +0000 (0:00:00.022) 0:10:34.094 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:41:18 +0000 (0:00:00.022) 0:10:34.117 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:41:18 +0000 (0:00:00.024) 0:10:34.142 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:41:18 +0000 (0:00:00.022) 0:10:34.165 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 00:41:18 +0000 (0:00:00.141) 0:10:34.306 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_device_present.yml:3 Monday 19 February 2024 00:41:18 +0000 (0:00:00.044) 0:10:34.351 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 19 February 2024 00:41:18 +0000 (0:00:00.034) 0:10:34.385 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708303275.1897883, "block_size": 4096, "blocks": 0, "ctime": 1708303275.1847885, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17687, "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": 1708303275.1847885, "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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_device_present.yml:5 Monday 19 February 2024 00:41:18 +0000 (0:00:00.144) 0:10:34.530 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 00:41:18 +0000 (0:00:00.023) 0:10:34.553 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 00:41:18 +0000 (0:00:00.036) 0:10:34.590 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 00:41:19 +0000 (0:00:00.021) 0:10:34.611 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 00:41:19 +0000 (0:00:00.168) 0:10:34.779 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 00:41:19 +0000 (0:00:00.021) 0:10:34.801 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024678", "end": "2024-02-19 00:41:19.350911", "rc": 1, "start": "2024-02-19 00:41:19.326233" } 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 00:41:19 +0000 (0:00:00.169) 0:10:34.971 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 00:41:19 +0000 (0:00:00.022) 0:10:34.993 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 00:41:19 +0000 (0:00:00.022) 0:10:35.016 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 00:41:19 +0000 (0:00:00.022) 0:10:35.039 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 00:41:19 +0000 (0:00:00.023) 0:10:35.062 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 00:41:19 +0000 (0:00:00.023) 0:10:35.086 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 00:41:19 +0000 (0:00:00.023) 0:10:35.109 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 00:41:19 +0000 (0:00:00.020) 0:10:35.130 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 00:41:19 +0000 (0:00:00.022) 0:10:35.153 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 00:41:19 +0000 (0:00:00.040) 0:10:35.193 ******* 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.052571", "end": "2024-02-19 00:41:19.768028", "rc": 0, "start": "2024-02-19 00:41:19.715457" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tests_states.yml:103 Monday 19 February 2024 00:41:19 +0000 (0:00:00.195) 0:10:35.388 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 00:41:19 +0000 (0:00:00.036) 0:10:35.425 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 00:41:19 +0000 (0:00:00.022) 0:10:35.447 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 00:41:19 +0000 (0:00:00.092) 0:10:35.540 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:41:19 +0000 (0:00:00.034) 0:10:35.574 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:41:20 +0000 (0:00:00.033) 0:10:35.608 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003873", "end": "2024-02-19 00:41:20.137805", "rc": 0, "start": "2024-02-19 00:41:20.133932" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:41:20 +0000 (0:00:00.150) 0:10:35.758 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:41:20 +0000 (0:00:00.024) 0:10:35.783 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 00:41:20 +0000 (0:00:00.023) 0:10:35.807 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 00:41:20 +0000 (0:00:00.045) 0:10:35.853 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:41:20 +0000 (0:00:00.036) 0:10:35.889 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:41:20 +0000 (0:00:00.039) 0:10:35.929 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:41:20 +0000 (0:00:00.028) 0:10:35.958 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:41:20 +0000 (0:00:00.025) 0:10:35.984 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:41:20 +0000 (0:00:00.021) 0:10:36.005 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:41:21 +0000 (0:00:00.805) 0:10:36.811 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:41:22 +0000 (0:00:01.004) 0:10:37.816 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:41:22 +0000 (0:00:00.022) 0:10:37.838 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:41:22 +0000 (0:00:00.021) 0:10:37.859 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:41:22 +0000 (0:00:00.020) 0:10:37.880 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:41:22 +0000 (0:00:00.042) 0:10:37.923 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:41:22 +0000 (0:00:00.021) 0:10:37.944 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:41:22 +0000 (0:00:00.020) 0:10:37.965 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:41:22 +0000 (0:00:00.045) 0:10:38.010 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:41:22 +0000 (0:00:00.022) 0:10:38.033 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:41:22 +0000 (0:00:00.021) 0:10:38.054 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:41:22 +0000 (0:00:00.246) 0:10:38.301 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17332peev7jn9/tmprmztp6fg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:41:22 +0000 (0:00:00.224) 0:10:38.526 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:41:23 +0000 (0:00:00.250) 0:10:38.776 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:41:23 +0000 (0:00:00.021) 0:10:38.798 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:41:23 +0000 (0:00:00.022) 0:10:38.820 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:41:23 +0000 (0:00:00.022) 0:10:38.843 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:41:23 +0000 (0:00:00.021) 0:10:38.864 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 00:41:23 +0000 (0:00:00.138) 0:10:39.003 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 00:41:23 +0000 (0:00:00.021) 0:10:39.025 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:41:23 +0000 (0:00:00.034) 0:10:39.060 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:41:23 +0000 (0:00:00.062) 0:10:39.122 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:41:23 +0000 (0:00:00.025) 0:10:39.148 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:41:23 +0000 (0:00:00.021) 0:10:39.170 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:41:23 +0000 (0:00:00.021) 0:10:39.191 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:41:24 +0000 (0:00:00.741) 0:10:39.933 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:41:25 +0000 (0:00:00.993) 0:10:40.926 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:41:25 +0000 (0:00:00.022) 0:10:40.949 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:41:25 +0000 (0:00:00.021) 0:10:40.970 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:41:25 +0000 (0:00:00.042) 0:10:41.013 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:41:25 +0000 (0:00:00.042) 0:10:41.056 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:41:25 +0000 (0:00:00.021) 0:10:41.078 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:41:25 +0000 (0:00:00.021) 0:10:41.099 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:41:25 +0000 (0:00:00.024) 0:10:41.124 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:41:25 +0000 (0:00:00.021) 0:10:41.145 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:41:25 +0000 (0:00:00.021) 0:10:41.166 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:41:25 +0000 (0:00:00.245) 0:10:41.412 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17332peev7jn9/tmp_2kz4bfv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:41:26 +0000 (0:00:00.224) 0:10:41.636 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:41:26 +0000 (0:00:00.497) 0:10:42.133 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:41:26 +0000 (0:00:00.021) 0:10:42.154 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:41:26 +0000 (0:00:00.022) 0:10:42.177 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:41:26 +0000 (0:00:00.022) 0:10:42.199 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:41:26 +0000 (0:00:00.021) 0:10:42.221 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/remove_profile.yml:3 Monday 19 February 2024 00:41:26 +0000 (0:00:00.161) 0:10:42.383 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:41:26 +0000 (0:00:00.035) 0:10:42.418 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:41:26 +0000 (0:00:00.039) 0:10:42.458 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:41:26 +0000 (0:00:00.027) 0:10:42.485 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:41:26 +0000 (0:00:00.022) 0:10:42.508 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:41:26 +0000 (0:00:00.021) 0:10:42.530 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:41:27 +0000 (0:00:00.748) 0:10:43.278 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:41:28 +0000 (0:00:01.020) 0:10:44.299 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:41:28 +0000 (0:00:00.022) 0:10:44.321 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:41:28 +0000 (0:00:00.021) 0:10:44.343 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:41:28 +0000 (0:00:00.020) 0:10:44.364 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:41:28 +0000 (0:00:00.043) 0:10:44.408 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:41:28 +0000 (0:00:00.021) 0:10:44.429 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:41:28 +0000 (0:00:00.021) 0:10:44.450 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:41:28 +0000 (0:00:00.025) 0:10:44.475 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:41:28 +0000 (0:00:00.021) 0:10:44.496 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:41:28 +0000 (0:00:00.021) 0:10:44.518 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:41:29 +0000 (0:00:00.245) 0:10:44.763 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17332peev7jn9/tmpoxr6bvbf" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:41:29 +0000 (0:00:00.222) 0:10:44.986 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:41:29 +0000 (0:00:00.255) 0:10:45.241 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:41:29 +0000 (0:00:00.020) 0:10:45.262 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:41:29 +0000 (0:00:00.049) 0:10:45.311 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:41:29 +0000 (0:00:00.023) 0:10:45.335 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:41:29 +0000 (0:00:00.021) 0:10:45.357 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 00:41:29 +0000 (0:00:00.139) 0:10:45.497 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 00:41:29 +0000 (0:00:00.039) 0:10:45.536 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:41:29 +0000 (0:00:00.040) 0:10:45.576 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:41:30 +0000 (0:00:00.040) 0:10:45.617 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:41:30 +0000 (0:00:00.025) 0:10:45.642 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:41:30 +0000 (0:00:00.021) 0:10:45.664 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:41:30 +0000 (0:00:00.021) 0:10:45.685 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:41:30 +0000 (0:00:00.786) 0:10:46.472 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:41:31 +0000 (0:00:01.028) 0:10:47.500 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:41:31 +0000 (0:00:00.023) 0:10:47.524 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:41:31 +0000 (0:00:00.021) 0:10:47.545 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:41:31 +0000 (0:00:00.022) 0:10:47.567 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:41:32 +0000 (0:00:00.042) 0:10:47.610 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:41:32 +0000 (0:00:00.023) 0:10:47.633 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:41:32 +0000 (0:00:00.024) 0:10:47.658 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:41:32 +0000 (0:00:00.025) 0:10:47.683 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:41:32 +0000 (0:00:00.023) 0:10:47.706 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:41:32 +0000 (0:00:00.021) 0:10:47.728 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:41:32 +0000 (0:00:00.272) 0:10:48.000 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17332peev7jn9/tmpf1r625lx" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:41:32 +0000 (0:00:00.228) 0:10:48.229 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:41:32 +0000 (0:00:00.244) 0:10:48.474 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:41:32 +0000 (0:00:00.021) 0:10:48.495 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:41:32 +0000 (0:00:00.023) 0:10:48.519 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:41:32 +0000 (0:00:00.025) 0:10:48.544 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:41:32 +0000 (0:00:00.022) 0:10:48.567 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 00:41:33 +0000 (0:00:00.141) 0:10:48.709 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 00:41:33 +0000 (0:00:00.039) 0:10:48.749 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 00:41:33 +0000 (0:00:00.038) 0:10:48.787 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 00:41:33 +0000 (0:00:00.022) 0:10:48.809 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 00:41:33 +0000 (0:00:00.147) 0:10:48.956 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 00:41:33 +0000 (0:00:00.022) 0:10:48.978 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024818", "end": "2024-02-19 00:41:33.528551", "rc": 1, "start": "2024-02-19 00:41:33.503733" } 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 00:41:33 +0000 (0:00:00.196) 0:10:49.175 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 00:41:33 +0000 (0:00:00.023) 0:10:49.198 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 00:41:33 +0000 (0:00:00.023) 0:10:49.222 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 00:41:33 +0000 (0:00:00.022) 0:10:49.244 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 00:41:33 +0000 (0:00:00.022) 0:10:49.267 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 00:41:33 +0000 (0:00:00.022) 0:10:49.289 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 00:41:33 +0000 (0:00:00.024) 0:10:49.314 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 00:41:33 +0000 (0:00:00.025) 0:10:49.340 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 00:41:33 +0000 (0:00:00.022) 0:10:49.362 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 00:41:33 +0000 (0:00:00.039) 0:10:49.401 ******* 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.053498", "end": "2024-02-19 00:41:33.977993", "rc": 0, "start": "2024-02-19 00:41:33.924495" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tests_states.yml:126 Monday 19 February 2024 00:41:34 +0000 (0:00:00.198) 0:10:49.599 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:5 Monday 19 February 2024 00:41:34 +0000 (0:00:00.035) 0:10:49.635 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:9 Monday 19 February 2024 00:41:34 +0000 (0:00:00.021) 0:10:49.657 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:21 Monday 19 February 2024 00:41:34 +0000 (0:00:00.047) 0:10:49.705 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/show_interfaces.yml:3 Monday 19 February 2024 00:41:34 +0000 (0:00:00.035) 0:10:49.740 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 19 February 2024 00:41:34 +0000 (0:00:00.064) 0:10:49.805 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003839", "end": "2024-02-19 00:41:34.334807", "rc": 0, "start": "2024-02-19 00:41:34.330968" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 19 February 2024 00:41:34 +0000 (0:00:00.149) 0:10:49.955 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/show_interfaces.yml:5 Monday 19 February 2024 00:41:34 +0000 (0:00:00.022) 0:10:49.978 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:24 Monday 19 February 2024 00:41:34 +0000 (0:00:00.022) 0:10:50.000 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 19 February 2024 00:41:34 +0000 (0:00:00.046) 0:10:50.046 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:41:34 +0000 (0:00:00.035) 0:10:50.082 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:41:34 +0000 (0:00:00.039) 0:10:50.121 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:41:34 +0000 (0:00:00.027) 0:10:50.148 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:41:34 +0000 (0:00:00.021) 0:10:50.170 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:41:34 +0000 (0:00:00.021) 0:10:50.191 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:41:35 +0000 (0:00:00.820) 0:10:51.011 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:41:36 +0000 (0:00:01.002) 0:10:52.014 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:41:36 +0000 (0:00:00.022) 0:10:52.036 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:41:36 +0000 (0:00:00.022) 0:10:52.059 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:41:36 +0000 (0:00:00.021) 0:10:52.080 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:41:36 +0000 (0:00:00.043) 0:10:52.123 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:41:36 +0000 (0:00:00.021) 0:10:52.145 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:41:36 +0000 (0:00:00.020) 0:10:52.166 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:41:36 +0000 (0:00:00.024) 0:10:52.191 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:41:36 +0000 (0:00:00.021) 0:10:52.212 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:41:36 +0000 (0:00:00.022) 0:10:52.235 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:41:36 +0000 (0:00:00.250) 0:10:52.486 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17332peev7jn9/tmpjfh32jq4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:41:37 +0000 (0:00:00.226) 0:10:52.712 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:41:37 +0000 (0:00:00.246) 0:10:52.959 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:41:37 +0000 (0:00:00.021) 0:10:52.980 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:41:37 +0000 (0:00:00.022) 0:10:53.003 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:41:37 +0000 (0:00:00.023) 0:10:53.027 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:41:37 +0000 (0:00:00.021) 0:10:53.048 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 19 February 2024 00:41:37 +0000 (0:00:00.141) 0:10:53.190 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/activate_profile.yml:3 Monday 19 February 2024 00:41:37 +0000 (0:00:00.022) 0:10:53.212 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:41:37 +0000 (0:00:00.035) 0:10:53.248 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:41:37 +0000 (0:00:00.038) 0:10:53.286 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:41:37 +0000 (0:00:00.026) 0:10:53.312 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:41:37 +0000 (0:00:00.021) 0:10:53.334 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:41:37 +0000 (0:00:00.050) 0:10:53.384 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:41:38 +0000 (0:00:00.769) 0:10:54.154 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:41:39 +0000 (0:00:00.997) 0:10:55.152 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:41:39 +0000 (0:00:00.022) 0:10:55.174 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:41:39 +0000 (0:00:00.021) 0:10:55.196 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:41:39 +0000 (0:00:00.021) 0:10:55.218 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:41:39 +0000 (0:00:00.044) 0:10:55.262 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:41:39 +0000 (0:00:00.021) 0:10:55.283 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:41:39 +0000 (0:00:00.045) 0:10:55.329 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:41:39 +0000 (0:00:00.025) 0:10:55.354 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:41:39 +0000 (0:00:00.023) 0:10:55.378 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:41:39 +0000 (0:00:00.022) 0:10:55.400 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:41:40 +0000 (0:00:00.252) 0:10:55.653 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17332peev7jn9/tmp_6t3p2od" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:41:40 +0000 (0:00:00.232) 0:10:55.885 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:41:40 +0000 (0:00:00.514) 0:10:56.400 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:41:40 +0000 (0:00:00.021) 0:10:56.421 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:41:40 +0000 (0:00:00.022) 0:10:56.444 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:41:40 +0000 (0:00:00.021) 0:10:56.466 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:41:40 +0000 (0:00:00.021) 0:10:56.487 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 00:41:41 +0000 (0:00:00.141) 0:10:56.629 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:41:41 +0000 (0:00:00.034) 0:10:56.664 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:41:41 +0000 (0:00:00.064) 0:10:56.728 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:41:41 +0000 (0:00:00.027) 0:10:56.755 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:41:41 +0000 (0:00:00.021) 0:10:56.777 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:41:41 +0000 (0:00:00.021) 0:10:56.798 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:41:41 +0000 (0:00:00.763) 0:10:57.562 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:41:42 +0000 (0:00:01.005) 0:10:58.567 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:41:42 +0000 (0:00:00.022) 0:10:58.590 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:41:43 +0000 (0:00:00.045) 0:10:58.635 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:41:43 +0000 (0:00:00.022) 0:10:58.657 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:41:43 +0000 (0:00:00.042) 0:10:58.700 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:41:43 +0000 (0:00:00.021) 0:10:58.722 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:41:43 +0000 (0:00:00.021) 0:10:58.743 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:41:43 +0000 (0:00:00.025) 0:10:58.768 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:41:43 +0000 (0:00:00.021) 0:10:58.790 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:41:43 +0000 (0:00:00.021) 0:10:58.811 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:41:43 +0000 (0:00:00.248) 0:10:59.060 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17332peev7jn9/tmp1mbeleho" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:41:43 +0000 (0:00:00.226) 0:10:59.286 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:41:43 +0000 (0:00:00.259) 0:10:59.546 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:41:43 +0000 (0:00:00.021) 0:10:59.567 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:41:43 +0000 (0:00:00.022) 0:10:59.589 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:41:44 +0000 (0:00:00.021) 0:10:59.611 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:41:44 +0000 (0:00:00.020) 0:10:59.632 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:30 Monday 19 February 2024 00:41:44 +0000 (0:00:00.164) 0:10:59.796 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 19 February 2024 00:41:44 +0000 (0:00:00.039) 0:10:59.836 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 19 February 2024 00:41:44 +0000 (0:00:00.035) 0:10:59.871 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 19 February 2024 00:41:44 +0000 (0:00:00.039) 0:10:59.910 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 19 February 2024 00:41:44 +0000 (0:00:00.025) 0:10:59.936 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 19 February 2024 00:41:44 +0000 (0:00:00.021) 0:10:59.958 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 19 February 2024 00:41:44 +0000 (0:00:00.020) 0:10:59.978 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 19 February 2024 00:41:45 +0000 (0:00:00.743) 0:11:00.722 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 19 February 2024 00:41:46 +0000 (0:00:00.992) 0:11:01.714 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 19 February 2024 00:41:46 +0000 (0:00:00.022) 0:11:01.737 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 19 February 2024 00:41:46 +0000 (0:00:00.021) 0:11:01.758 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 19 February 2024 00:41:46 +0000 (0:00:00.024) 0:11:01.783 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 19 February 2024 00:41:46 +0000 (0:00:00.043) 0:11:01.827 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 19 February 2024 00:41:46 +0000 (0:00:00.022) 0:11:01.849 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 19 February 2024 00:41:46 +0000 (0:00:00.022) 0:11:01.871 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 19 February 2024 00:41:46 +0000 (0:00:00.024) 0:11:01.896 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 19 February 2024 00:41:46 +0000 (0:00:00.021) 0:11:01.917 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 19 February 2024 00:41:46 +0000 (0:00:00.020) 0:11:01.938 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 19 February 2024 00:41:46 +0000 (0:00:00.246) 0:11:02.184 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17332peev7jn9/tmpipfesrqe" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 19 February 2024 00:41:46 +0000 (0:00:00.224) 0:11:02.409 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 19 February 2024 00:41:47 +0000 (0:00:00.300) 0:11:02.710 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 19 February 2024 00:41:47 +0000 (0:00:00.021) 0:11:02.731 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 19 February 2024 00:41:47 +0000 (0:00:00.023) 0:11:02.755 ******* 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-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 19 February 2024 00:41:47 +0000 (0:00:00.023) 0:11:02.778 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 19 February 2024 00:41:47 +0000 (0:00:00.021) 0:11:02.799 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:36 Monday 19 February 2024 00:41:47 +0000 (0:00:00.138) 0:11:02.938 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 19 February 2024 00:41:47 +0000 (0:00:00.042) 0:11:02.981 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 19 February 2024 00:41:47 +0000 (0:00:00.036) 0:11:03.017 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 19 February 2024 00:41:47 +0000 (0:00:00.021) 0:11:03.039 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 19 February 2024 00:41:47 +0000 (0:00:00.142) 0:11:03.182 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 19 February 2024 00:41:47 +0000 (0:00:00.021) 0:11:03.203 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023568", "end": "2024-02-19 00:41:47.749181", "rc": 1, "start": "2024-02-19 00:41:47.725613" } 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 19 February 2024 00:41:47 +0000 (0:00:00.165) 0:11:03.369 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 19 February 2024 00:41:47 +0000 (0:00:00.022) 0:11:03.391 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 19 February 2024 00:41:47 +0000 (0:00:00.022) 0:11:03.414 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 19 February 2024 00:41:47 +0000 (0:00:00.021) 0:11:03.436 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 19 February 2024 00:41:47 +0000 (0:00:00.049) 0:11:03.485 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 19 February 2024 00:41:47 +0000 (0:00:00.022) 0:11:03.508 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 19 February 2024 00:41:47 +0000 (0:00:00.024) 0:11:03.532 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.742259", "end": "2024-02-19 00:41:48.797189", "rc": 0, "start": "2024-02-19 00:41:48.054930" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 19 February 2024 00:41:48 +0000 (0:00:00.885) 0:11:04.418 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 19 February 2024 00:41:48 +0000 (0:00:00.023) 0:11:04.441 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:42 Monday 19 February 2024 00:41:48 +0000 (0:00:00.022) 0:11:04.464 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:47 Monday 19 February 2024 00:41:48 +0000 (0:00:00.026) 0:11:04.490 ******* 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-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/run_test.yml:66 Monday 19 February 2024 00:41:48 +0000 (0:00:00.022) 0:11:04.512 ******* included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 19 February 2024 00:41:48 +0000 (0:00:00.045) 0:11:04.558 ******* 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.052748", "end": "2024-02-19 00:41:49.133972", "rc": 0, "start": "2024-02-19 00:41:49.081224" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/check_network_dns.yml:6 Monday 19 February 2024 00:41:49 +0000 (0:00:00.198) 0:11:04.756 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008084", "end": "2024-02-19 00:41:49.287399", "rc": 0, "start": "2024-02-19 00:41:49.279315" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:da:f9:91:80:bb brd ff:ff:ff:ff:ff:ff inet 10.31.41.188/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 2759sec preferred_lft 2759sec inet6 fe80::cda:f9ff:fe91:80bb/64 scope link valid_lft forever preferred_lft forever 36: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 9e:02:5e:9f:79:cb brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever inet6 fe80::9c02:5eff:fe9f:79cb/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.188 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev rpltstbr proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/playbooks/tasks/check_network_dns.yml:24 Monday 19 February 2024 00:41:49 +0000 (0:00:00.152) 0:11:04.908 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.512219", "end": "2024-02-19 00:41:49.949833", "rc": 0, "start": "2024-02-19 00:41:49.437614" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1313 0 --:--:-- --:--:-- --:--:-- 1314 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1126 0 --:--:-- --:--:-- --:--:-- 1127 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=338 changed=14 unreachable=0 failed=0 skipped=224 rescued=0 ignored=10 Monday 19 February 2024 00:41:49 +0000 (0:00:00.650) 0:11:05.559 ******* =============================================================================== linux-system-roles.network : Install packages ------------------------- 602.64s /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 2.06s /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.38s /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Configure networking connection profiles --- 1.34s /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 1.15s /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.13s /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Check which packages are installed --------- 1.03s /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-nm_plugin_hotfixm9clkt90/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-nm_plugin_hotfixm9clkt90/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. ---^---^---^---^---^---