# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /WORKDIR/git-route_typeodyj10gt/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/tests_states_initscripts.yml:4 Thursday 21 December 2023 16:56:50 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeodyj10gt/tests/tests_states_initscripts.yml:8 Thursday 21 December 2023 16:56:51 +0000 (0:00:00.566) 0:00:00.578 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 16:56:51 +0000 (0:00:00.030) 0:00:00.609 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/tasks/el_repo_setup.yml:19 Thursday 21 December 2023 16:56:51 +0000 (0:00:00.234) 0:00:00.843 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/tasks/el_repo_setup.yml:24 Thursday 21 December 2023 16:56:51 +0000 (0:00:00.205) 0:00:01.049 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/tasks/el_repo_setup.yml:28 Thursday 21 December 2023 16:56:51 +0000 (0:00:00.027) 0:00:01.076 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/tasks/el_repo_setup.yml:53 Thursday 21 December 2023 16:56:51 +0000 (0:00:00.022) 0:00:01.099 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 16:56:51 +0000 (0:00:00.046) 0:00:01.145 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 16:56:52 +0000 (0:00:00.201) 0:00:01.347 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 16:56:52 +0000 (0:00:00.462) 0:00:01.809 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.194975", "end": "2023-12-21 16:56:52.808980", "rc": 0, "start": "2023-12-21 16:56:52.614005" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 16:56:52 +0000 (0:00:00.333) 0:00:02.143 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 16:56:52 +0000 (0:00:00.042) 0:00:02.185 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/tests_states_initscripts.yml:10 Thursday 21 December 2023 16:56:52 +0000 (0:00:00.022) 0:00:02.207 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_states.yml:3 Thursday 21 December 2023 16:56:52 +0000 (0:00:00.029) 0:00:02.237 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_states.yml:11 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.419) 0:00:02.656 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_states.yml:22 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.027) 0:00:02.683 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.027) 0:00:02.711 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.040) 0:00:02.751 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.072) 0:00:02.824 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.021) 0:00:02.846 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.016) 0:00:02.862 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003568", "end": "2023-12-21 16:56:53.669241", "rc": 0, "start": "2023-12-21 16:56:53.665673" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.164) 0:00:03.026 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.024) 0:00:03.050 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.014) 0:00:03.065 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.046) 0:00:03.112 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011589", "end": "2023-12-21 16:56:53.968727", "rc": 1, "start": "2023-12-21 16:56:53.957138" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:56:53 +0000 (0:00:00.196) 0:00:03.309 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:56:54 +0000 (0:00:00.048) 0:00:03.357 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:56:54 +0000 (0:00:00.152) 0:00:03.509 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:56:54 +0000 (0:00:00.029) 0:00:03.538 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:56:54 +0000 (0:00:00.033) 0:00:03.572 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:56:54 +0000 (0:00:00.043) 0:00:03.615 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:56:54 +0000 (0:00:00.076) 0:00:03.691 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:56:54 +0000 (0:00:00.012) 0:00:03.704 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:56:54 +0000 (0:00:00.012) 0:00:03.716 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:56:54 +0000 (0:00:00.010) 0:00:03.727 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:56:55 +0000 (0:00:00.831) 0:00:04.559 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:56:56 +0000 (0:00:00.831) 0:00:05.390 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:56:56 +0000 (0:00:00.049) 0:00:05.439 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:56:56 +0000 (0:00:00.031) 0:00:05.470 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:56:56 +0000 (0:00:00.022) 0:00:05.493 ***** changed: [sut] => { "changed": true, "changes": { "installed": [ "bridge-utils" ] }, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7_9.1.x86_64 providing dhclient is already installed", "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 rhel-Server 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:56:58 +0000 (0:00:02.477) 0:00:07.971 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:56:58 +0000 (0:00:00.040) 0:00:08.012 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:56:58 +0000 (0:00:00.036) 0:00:08.048 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:56:58 +0000 (0:00:00.040) 0:00:08.089 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:56:58 +0000 (0:00:00.053) 0:00:08.143 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:56:58 +0000 (0:00:00.022) 0:00:08.165 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:56:59 +0000 (0:00:00.462) 0:00:08.628 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17017grole128/tmpragfwlar" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:56:59 +0000 (0:00:00.232) 0:00:08.861 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:56:59 +0000 (0:00:00.365) 0:00:09.226 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:56:59 +0000 (0:00:00.024) 0:00:09.250 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:56:59 +0000 (0:00:00.022) 0:00:09.272 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:57:00 +0000 (0:00:00.049) 0:00:09.322 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:57:00 +0000 (0:00:00.024) 0:00:09.347 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:57:00 +0000 (0:00:00.338) 0:00:09.685 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:57:00 +0000 (0:00:00.034) 0:00:09.720 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:57:00 +0000 (0:00:00.045) 0:00:09.765 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:57:00 +0000 (0:00:00.042) 0:00:09.808 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:57:00 +0000 (0:00:00.023) 0:00:09.831 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177819.8857956, "block_size": 4096, "blocks": 8, "ctime": 1703177819.8857956, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427533, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703177819.8857956, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:57:00 +0000 (0:00:00.189) 0:00:10.020 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:57:00 +0000 (0:00:00.039) 0:00:10.060 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026740", "end": "2023-12-21 16:57:00.928068", "rc": 1, "start": "2023-12-21 16:57:00.901328" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:57:00 +0000 (0:00:00.202) 0:00:10.262 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:57:00 +0000 (0:00:00.030) 0:00:10.293 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003631", "end": "2023-12-21 16:57:01.102091", "rc": 0, "start": "2023-12-21 16:57:01.098460" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.145) 0:00:10.439 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.027) 0:00:10.467 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003693", "end": "2023-12-21 16:57:01.278363", "rc": 0, "start": "2023-12-21 16:57:01.274670" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.150) 0:00:10.617 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.031) 0:00:10.649 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.030) 0:00:10.680 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.031) 0:00:10.711 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.025) 0:00:10.737 ***** skipping: [sut] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.028) 0:00:10.766 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.022) 0:00:10.788 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.040) 0:00:10.828 ***** 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.052164", "end": "2023-12-21 16:57:01.684307", "rc": 1, "start": "2023-12-21 16:57:01.632143" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_states.yml:45 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.191) 0:00:11.020 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.036) 0:00:11.057 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.048) 0:00:11.105 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.050) 0:00:11.156 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.076) 0:00:11.233 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:57:01 +0000 (0:00:00.061) 0:00:11.294 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003702", "end": "2023-12-21 16:57:02.105199", "rc": 0, "start": "2023-12-21 16:57:02.101497" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:57:02 +0000 (0:00:00.148) 0:00:11.442 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:57:02 +0000 (0:00:00.024) 0:00:11.466 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:57:02 +0000 (0:00:00.061) 0:00:11.527 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 16:57:02 +0000 (0:00:00.078) 0:00:11.606 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007639", "end": "2023-12-21 16:57:02.461227", "rc": 1, "start": "2023-12-21 16:57:02.453588" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:57:02 +0000 (0:00:00.189) 0:00:11.796 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:57:02 +0000 (0:00:00.040) 0:00:11.836 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:57:02 +0000 (0:00:00.173) 0:00:12.009 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:57:02 +0000 (0:00:00.026) 0:00:12.035 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 21 December 2023 16:57:02 +0000 (0:00:00.066) 0:00:12.102 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:57:02 +0000 (0:00:00.046) 0:00:12.148 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:57:02 +0000 (0:00:00.044) 0:00:12.193 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:57:02 +0000 (0:00:00.039) 0:00:12.232 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:57:02 +0000 (0:00:00.029) 0:00:12.262 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:57:03 +0000 (0:00:00.058) 0:00:12.320 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:57:03 +0000 (0:00:00.755) 0:00:13.076 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:57:04 +0000 (0:00:00.647) 0:00:13.723 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:57:04 +0000 (0:00:00.053) 0:00:13.776 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:57:04 +0000 (0:00:00.022) 0:00:13.798 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:57:04 +0000 (0:00:00.022) 0:00:13.821 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:57:04 +0000 (0:00:00.074) 0:00:13.895 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:57:04 +0000 (0:00:00.052) 0:00:13.948 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:57:04 +0000 (0:00:00.034) 0:00:13.982 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:57:04 +0000 (0:00:00.027) 0:00:14.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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:57:04 +0000 (0:00:00.027) 0:00:14.037 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:57:04 +0000 (0:00:00.036) 0:00:14.074 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:57:05 +0000 (0:00:00.278) 0:00:14.353 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17017grole128/tmp04ag7gx1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:57:05 +0000 (0:00:00.250) 0:00:14.604 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:57:05 +0000 (0:00:00.236) 0:00:14.841 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:57:05 +0000 (0:00:00.022) 0:00:14.863 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:57:05 +0000 (0:00:00.023) 0:00:14.886 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:57:05 +0000 (0:00:00.021) 0:00:14.908 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:57:05 +0000 (0:00:00.021) 0:00:14.929 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 21 December 2023 16:57:05 +0000 (0:00:00.161) 0:00:15.091 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:57:05 +0000 (0:00:00.026) 0:00:15.118 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:57:05 +0000 (0:00:00.048) 0:00:15.167 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:57:05 +0000 (0:00:00.043) 0:00:15.210 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.160) 0:00:15.371 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.052) 0:00:15.423 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.055) 0:00:15.478 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.038) 0:00:15.517 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177825.5036716, "block_size": 4096, "blocks": 8, "ctime": 1703177825.5036716, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427533, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703177825.5036716, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.136) 0:00:15.653 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.033) 0:00:15.687 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024290", "end": "2023-12-21 16:57:06.508362", "rc": 1, "start": "2023-12-21 16:57:06.484072" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.175) 0:00:15.862 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.035) 0:00:15.898 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003691", "end": "2023-12-21 16:57:06.704087", "rc": 0, "start": "2023-12-21 16:57:06.700396" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.162) 0:00:16.061 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.038) 0:00:16.099 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003701", "end": "2023-12-21 16:57:06.913364", "rc": 0, "start": "2023-12-21 16:57:06.909663" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.156) 0:00:16.255 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.029) 0:00:16.285 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:57:06 +0000 (0:00:00.024) 0:00:16.310 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.024) 0:00:16.334 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.025) 0:00:16.359 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.023) 0:00:16.383 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.025) 0:00:16.408 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.053) 0:00:16.462 ***** 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.045462", "end": "2023-12-21 16:57:07.307052", "rc": 1, "start": "2023-12-21 16:57:07.261590" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_states.yml:65 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.185) 0:00:16.648 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.039) 0:00:16.687 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.025) 0:00:16.713 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.058) 0:00:16.772 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.038) 0:00:16.810 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.036) 0:00:16.847 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003256", "end": "2023-12-21 16:57:07.667010", "rc": 0, "start": "2023-12-21 16:57:07.663754" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.167) 0:00:17.014 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.025) 0:00:17.040 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.022) 0:00:17.062 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.038) 0:00:17.101 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.040) 0:00:17.141 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.068) 0:00:17.210 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.031) 0:00:17.242 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.024) 0:00:17.266 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:57:07 +0000 (0:00:00.024) 0:00:17.290 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:57:08 +0000 (0:00:00.766) 0:00:18.056 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:57:09 +0000 (0:00:00.766) 0:00:18.823 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:57:09 +0000 (0:00:00.072) 0:00:18.896 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:57:09 +0000 (0:00:00.068) 0:00:18.964 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:57:09 +0000 (0:00:00.036) 0:00:19.001 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:57:09 +0000 (0:00:00.093) 0:00:19.095 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:57:09 +0000 (0:00:00.050) 0:00:19.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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:57:09 +0000 (0:00:00.040) 0:00:19.185 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:57:09 +0000 (0:00:00.058) 0:00:19.244 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:57:09 +0000 (0:00:00.036) 0:00:19.281 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:57:09 +0000 (0:00:00.021) 0:00:19.303 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:57:10 +0000 (0:00:00.280) 0:00:19.583 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17017grole128/tmpae2_l9li" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:57:10 +0000 (0:00:00.381) 0:00:19.965 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:57:10 +0000 (0:00:00.254) 0:00:20.219 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:57:10 +0000 (0:00:00.029) 0:00:20.248 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:57:10 +0000 (0:00:00.028) 0:00:20.276 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:57:11 +0000 (0:00:00.085) 0:00:20.362 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:57:11 +0000 (0:00:00.028) 0:00:20.390 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:57:11 +0000 (0:00:00.181) 0:00:20.572 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:57:11 +0000 (0:00:00.040) 0:00:20.612 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:57:11 +0000 (0:00:00.046) 0:00:20.659 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:57:11 +0000 (0:00:00.066) 0:00:20.725 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:57:11 +0000 (0:00:00.045) 0:00:20.771 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:57:11 +0000 (0:00:00.027) 0:00:20.798 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:57:11 +0000 (0:00:00.026) 0:00:20.825 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:57:11 +0000 (0:00:00.039) 0:00:20.865 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:57:12 +0000 (0:00:00.756) 0:00:21.621 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:57:13 +0000 (0:00:00.711) 0:00:22.333 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:57:13 +0000 (0:00:00.030) 0:00:22.363 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:57:13 +0000 (0:00:00.034) 0:00:22.397 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:57:13 +0000 (0:00:00.030) 0:00:22.427 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:57:13 +0000 (0:00:00.050) 0:00:22.478 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:57:13 +0000 (0:00:00.036) 0:00:22.514 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:57:13 +0000 (0:00:00.031) 0:00:22.546 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:57:13 +0000 (0:00:00.036) 0:00:22.583 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:57:13 +0000 (0:00:00.048) 0:00:22.632 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:57:13 +0000 (0:00:00.061) 0:00:22.693 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:57:13 +0000 (0:00:00.264) 0:00:22.958 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17017grole128/tmpf32nrcmd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:57:13 +0000 (0:00:00.233) 0:00:23.191 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:57:14 +0000 (0:00:00.501) 0:00:23.692 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:57:14 +0000 (0:00:00.023) 0:00:23.716 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:57:14 +0000 (0:00:00.022) 0:00:23.739 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:57:14 +0000 (0:00:00.022) 0:00:23.762 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:57:14 +0000 (0:00:00.021) 0:00:23.784 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:57:14 +0000 (0:00:00.144) 0:00:23.929 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:57:14 +0000 (0:00:00.065) 0:00:23.994 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:57:14 +0000 (0:00:00.050) 0:00:24.045 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177834.280478, "block_size": 4096, "blocks": 0, "ctime": 1703177834.279478, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17507, "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": 1703177834.279478, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:57:14 +0000 (0:00:00.142) 0:00:24.187 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:57:14 +0000 (0:00:00.031) 0:00:24.219 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:57:14 +0000 (0:00:00.055) 0:00:24.274 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:57:15 +0000 (0:00:00.081) 0:00:24.355 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177834.103482, "block_size": 4096, "blocks": 8, "ctime": 1703177830.8695533, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427533, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703177830.8695533, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:57:15 +0000 (0:00:00.181) 0:00:24.537 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:57:15 +0000 (0:00:00.057) 0:00:24.595 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023796", "end": "2023-12-21 16:57:15.439829", "rc": 1, "start": "2023-12-21 16:57:15.416033" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:57:15 +0000 (0:00:00.219) 0:00:24.815 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:57:15 +0000 (0:00:00.026) 0:00:24.841 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003477", "end": "2023-12-21 16:57:15.652260", "rc": 0, "start": "2023-12-21 16:57:15.648783" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:57:15 +0000 (0:00:00.158) 0:00:25.000 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:57:15 +0000 (0:00:00.043) 0:00:25.043 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003418", "end": "2023-12-21 16:57:15.846254", "rc": 0, "start": "2023-12-21 16:57:15.842836" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:57:15 +0000 (0:00:00.141) 0:00:25.184 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:57:15 +0000 (0:00:00.028) 0:00:25.212 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:57:15 +0000 (0:00:00.025) 0:00:25.238 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:57:15 +0000 (0:00:00.028) 0:00:25.267 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:57:15 +0000 (0:00:00.024) 0:00:25.292 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:57:16 +0000 (0:00:00.020) 0:00:25.313 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:57:16 +0000 (0:00:00.042) 0:00:25.355 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:57:16 +0000 (0:00:00.054) 0:00:25.410 ***** 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.051646", "end": "2023-12-21 16:57:16.260984", "rc": 0, "start": "2023-12-21 16:57:16.209338" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_states.yml:83 Thursday 21 December 2023 16:57:16 +0000 (0:00:00.187) 0:00:25.597 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:57:16 +0000 (0:00:00.059) 0:00:25.657 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:57:16 +0000 (0:00:00.104) 0:00:25.761 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:57:16 +0000 (0:00:00.055) 0:00:25.816 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:57:16 +0000 (0:00:00.042) 0:00:25.859 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:57:16 +0000 (0:00:00.064) 0:00:25.923 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003601", "end": "2023-12-21 16:57:16.729013", "rc": 0, "start": "2023-12-21 16:57:16.725412" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:57:16 +0000 (0:00:00.156) 0:00:26.080 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:57:16 +0000 (0:00:00.035) 0:00:26.115 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:57:16 +0000 (0:00:00.052) 0:00:26.167 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:57:16 +0000 (0:00:00.058) 0:00:26.226 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:57:17 +0000 (0:00:00.087) 0:00:26.314 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:57:17 +0000 (0:00:00.088) 0:00:26.402 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:57:17 +0000 (0:00:00.088) 0:00:26.490 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:57:17 +0000 (0:00:00.057) 0:00:26.548 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:57:17 +0000 (0:00:00.044) 0:00:26.592 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:57:18 +0000 (0:00:00.787) 0:00:27.380 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:57:18 +0000 (0:00:00.736) 0:00:28.117 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:57:18 +0000 (0:00:00.084) 0:00:28.201 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:57:18 +0000 (0:00:00.047) 0:00:28.249 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:57:18 +0000 (0:00:00.035) 0:00:28.285 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:57:19 +0000 (0:00:00.109) 0:00:28.394 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:57:19 +0000 (0:00:00.024) 0:00:28.419 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:57:19 +0000 (0:00:00.026) 0:00:28.446 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:57:19 +0000 (0:00:00.029) 0:00:28.475 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:57:19 +0000 (0:00:00.026) 0:00:28.501 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:57:19 +0000 (0:00:00.063) 0:00:28.565 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:57:19 +0000 (0:00:00.313) 0:00:28.878 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17017grole128/tmppfygn9r5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:57:19 +0000 (0:00:00.401) 0:00:29.279 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:57:20 +0000 (0:00:00.353) 0:00:29.633 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:57:20 +0000 (0:00:00.092) 0:00:29.725 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:57:20 +0000 (0:00:00.048) 0:00:29.774 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:57:20 +0000 (0:00:00.044) 0:00:29.818 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:57:20 +0000 (0:00:00.045) 0:00:29.864 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:57:20 +0000 (0:00:00.156) 0:00:30.020 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:57:20 +0000 (0:00:00.030) 0:00:30.051 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:57:20 +0000 (0:00:00.076) 0:00:30.128 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:57:20 +0000 (0:00:00.072) 0:00:30.200 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:57:20 +0000 (0:00:00.047) 0:00:30.248 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:57:21 +0000 (0:00:00.069) 0:00:30.317 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:57:21 +0000 (0:00:00.052) 0:00:30.370 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:57:21 +0000 (0:00:00.836) 0:00:31.206 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:57:22 +0000 (0:00:00.715) 0:00:31.921 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:57:22 +0000 (0:00:00.022) 0:00:31.944 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:57:22 +0000 (0:00:00.022) 0:00:31.966 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:57:22 +0000 (0:00:00.021) 0:00:31.987 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:57:22 +0000 (0:00:00.043) 0:00:32.031 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:57:22 +0000 (0:00:00.039) 0:00:32.071 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:57:22 +0000 (0:00:00.022) 0:00:32.093 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:57:22 +0000 (0:00:00.031) 0:00:32.125 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:57:22 +0000 (0:00:00.048) 0:00:32.173 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:57:22 +0000 (0:00:00.036) 0:00:32.210 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:57:23 +0000 (0:00:00.299) 0:00:32.510 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17017grole128/tmpin87fkpb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:57:23 +0000 (0:00:00.222) 0:00:32.732 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:57:23 +0000 (0:00:00.501) 0:00:33.234 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:57:23 +0000 (0:00:00.023) 0:00:33.257 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:57:23 +0000 (0:00:00.022) 0:00:33.280 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:57:23 +0000 (0:00:00.026) 0:00:33.306 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:57:24 +0000 (0:00:00.025) 0:00:33.332 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:57:24 +0000 (0:00:00.183) 0:00:33.516 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 16:57:24 +0000 (0:00:00.080) 0:00:33.596 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:57:24 +0000 (0:00:00.061) 0:00:33.658 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:57:24 +0000 (0:00:00.052) 0:00:33.710 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:57:24 +0000 (0:00:00.043) 0:00:33.754 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:57:24 +0000 (0:00:00.034) 0:00:33.788 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:57:24 +0000 (0:00:00.041) 0:00:33.829 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:57:25 +0000 (0:00:00.859) 0:00:34.689 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:57:26 +0000 (0:00:00.739) 0:00:35.428 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:57:26 +0000 (0:00:00.164) 0:00:35.593 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:57:26 +0000 (0:00:00.092) 0:00:35.685 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:57:26 +0000 (0:00:00.065) 0:00:35.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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:57:26 +0000 (0:00:00.155) 0:00:35.906 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:57:26 +0000 (0:00:00.063) 0:00:35.970 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:57:26 +0000 (0:00:00.058) 0:00:36.029 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:57:26 +0000 (0:00:00.032) 0:00:36.062 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:57:26 +0000 (0:00:00.084) 0:00:36.146 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:57:26 +0000 (0:00:00.032) 0:00:36.179 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:57:27 +0000 (0:00:00.327) 0:00:36.506 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17017grole128/tmpu_wp60tm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:57:27 +0000 (0:00:00.398) 0:00:36.905 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:57:27 +0000 (0:00:00.401) 0:00:37.306 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:57:28 +0000 (0:00:00.044) 0:00:37.350 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:57:28 +0000 (0:00:00.046) 0:00:37.397 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:57:28 +0000 (0:00:00.068) 0:00:37.465 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:57:28 +0000 (0:00:00.039) 0:00:37.504 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:57:28 +0000 (0:00:00.169) 0:00:37.674 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:57:28 +0000 (0:00:00.096) 0:00:37.771 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:57:28 +0000 (0:00:00.151) 0:00:37.923 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703177843.8252676, "block_size": 4096, "blocks": 0, "ctime": 1703177843.8222675, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17507, "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": 1703177843.8222675, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:57:28 +0000 (0:00:00.216) 0:00:38.139 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 16:57:28 +0000 (0:00:00.079) 0:00:38.219 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:57:28 +0000 (0:00:00.071) 0:00:38.290 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:57:29 +0000 (0:00:00.027) 0:00:38.318 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:57:29 +0000 (0:00:00.152) 0:00:38.471 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:57:29 +0000 (0:00:00.052) 0:00:38.523 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024374", "end": "2023-12-21 16:57:29.394291", "rc": 1, "start": "2023-12-21 16:57:29.369917" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:57:29 +0000 (0:00:00.247) 0:00:38.771 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:57:29 +0000 (0:00:00.058) 0:00:38.829 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:57:29 +0000 (0:00:00.067) 0:00:38.897 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:57:29 +0000 (0:00:00.031) 0:00:38.929 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:57:29 +0000 (0:00:00.059) 0:00:38.989 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 16:57:29 +0000 (0:00:00.137) 0:00:39.126 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:57:29 +0000 (0:00:00.112) 0:00:39.239 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:57:30 +0000 (0:00:00.133) 0:00:39.373 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:57:30 +0000 (0:00:00.056) 0:00:39.430 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:57:30 +0000 (0:00:00.048) 0:00:39.478 ***** 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.053920", "end": "2023-12-21 16:57:30.335014", "rc": 0, "start": "2023-12-21 16:57:30.281094" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_states.yml:103 Thursday 21 December 2023 16:57:30 +0000 (0:00:00.274) 0:00:39.753 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:57:30 +0000 (0:00:00.122) 0:00:39.876 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:57:30 +0000 (0:00:00.136) 0:00:40.012 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:57:30 +0000 (0:00:00.234) 0:00:40.246 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:57:31 +0000 (0:00:00.216) 0:00:40.463 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:57:31 +0000 (0:00:00.113) 0:00:40.577 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003482", "end": "2023-12-21 16:57:31.460501", "rc": 0, "start": "2023-12-21 16:57:31.457019" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:57:31 +0000 (0:00:00.261) 0:00:40.838 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:57:31 +0000 (0:00:00.050) 0:00:40.889 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:57:31 +0000 (0:00:00.027) 0:00:40.916 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:57:31 +0000 (0:00:00.110) 0:00:41.026 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:57:31 +0000 (0:00:00.155) 0:00:41.182 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:57:31 +0000 (0:00:00.115) 0:00:41.297 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:57:32 +0000 (0:00:00.082) 0:00:41.379 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:57:32 +0000 (0:00:00.033) 0:00:41.413 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:57:32 +0000 (0:00:00.066) 0:00:41.479 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:57:33 +0000 (0:00:00.830) 0:00:42.310 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:57:33 +0000 (0:00:00.726) 0:00:43.036 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:57:33 +0000 (0:00:00.031) 0:00:43.068 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:57:33 +0000 (0:00:00.047) 0:00:43.115 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:57:33 +0000 (0:00:00.048) 0:00:43.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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:57:33 +0000 (0:00:00.076) 0:00:43.241 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:57:33 +0000 (0:00:00.040) 0:00:43.281 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:57:34 +0000 (0:00:00.045) 0:00:43.327 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:57:34 +0000 (0:00:00.032) 0:00:43.359 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:57:34 +0000 (0:00:00.080) 0:00:43.440 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:57:34 +0000 (0:00:00.041) 0:00:43.481 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:57:34 +0000 (0:00:00.313) 0:00:43.794 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17017grole128/tmp_c6t1c84" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:57:34 +0000 (0:00:00.269) 0:00:44.064 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:57:35 +0000 (0:00:00.291) 0:00:44.356 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:57:35 +0000 (0:00:00.035) 0:00:44.391 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:57:35 +0000 (0:00:00.122) 0:00:44.514 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:57:35 +0000 (0:00:00.074) 0:00:44.588 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:57:35 +0000 (0:00:00.107) 0:00:44.695 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:57:35 +0000 (0:00:00.202) 0:00:44.898 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:57:35 +0000 (0:00:00.067) 0:00:44.965 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:57:35 +0000 (0:00:00.071) 0:00:45.036 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:57:35 +0000 (0:00:00.066) 0:00:45.103 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:57:35 +0000 (0:00:00.074) 0:00:45.177 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:57:35 +0000 (0:00:00.057) 0:00:45.235 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:57:36 +0000 (0:00:00.100) 0:00:45.335 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:57:36 +0000 (0:00:00.855) 0:00:46.191 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:57:37 +0000 (0:00:00.757) 0:00:46.949 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:57:37 +0000 (0:00:00.154) 0:00:47.103 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:57:37 +0000 (0:00:00.071) 0:00:47.175 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:57:37 +0000 (0:00:00.075) 0:00:47.250 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:57:38 +0000 (0:00:00.103) 0:00:47.354 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:57:38 +0000 (0:00:00.067) 0:00:47.422 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:57:38 +0000 (0:00:00.090) 0:00:47.512 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:57:38 +0000 (0:00:00.035) 0:00:47.547 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:57:38 +0000 (0:00:00.056) 0:00:47.603 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:57:38 +0000 (0:00:00.050) 0:00:47.654 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:57:38 +0000 (0:00:00.280) 0:00:47.934 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17017grole128/tmpov39dtd2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:57:38 +0000 (0:00:00.248) 0:00:48.182 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:57:39 +0000 (0:00:00.547) 0:00:48.729 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:57:39 +0000 (0:00:00.062) 0:00:48.792 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:57:39 +0000 (0:00:00.058) 0:00:48.850 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:57:39 +0000 (0:00:00.039) 0:00:48.889 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:57:39 +0000 (0:00:00.072) 0:00:48.961 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 16:57:39 +0000 (0:00:00.247) 0:00:49.209 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:57:39 +0000 (0:00:00.057) 0:00:49.267 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:57:40 +0000 (0:00:00.062) 0:00:49.329 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:57:40 +0000 (0:00:00.040) 0:00:49.369 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:57:40 +0000 (0:00:00.029) 0:00:49.398 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:57:40 +0000 (0:00:00.045) 0:00:49.444 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:57:40 +0000 (0:00:00.825) 0:00:50.269 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:57:41 +0000 (0:00:00.733) 0:00:51.003 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:57:41 +0000 (0:00:00.040) 0:00:51.044 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:57:41 +0000 (0:00:00.068) 0:00:51.113 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:57:41 +0000 (0:00:00.030) 0:00:51.143 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:57:41 +0000 (0:00:00.082) 0:00:51.226 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:57:41 +0000 (0:00:00.040) 0:00:51.266 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:57:41 +0000 (0:00:00.026) 0:00:51.293 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:57:42 +0000 (0:00:00.027) 0:00:51.321 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:57:42 +0000 (0:00:00.022) 0:00:51.343 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:57:42 +0000 (0:00:00.022) 0:00:51.366 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:57:42 +0000 (0:00:00.256) 0:00:51.622 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17017grole128/tmph163vdp6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:57:42 +0000 (0:00:00.343) 0:00:51.966 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:57:42 +0000 (0:00:00.307) 0:00:52.273 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:57:42 +0000 (0:00:00.024) 0:00:52.297 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:57:43 +0000 (0:00:00.023) 0:00:52.321 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:57:43 +0000 (0:00:00.024) 0:00:52.345 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:57:43 +0000 (0:00:00.021) 0:00:52.366 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:57:43 +0000 (0:00:00.135) 0:00:52.502 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 16:57:43 +0000 (0:00:00.075) 0:00:52.577 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:57:43 +0000 (0:00:00.078) 0:00:52.655 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:57:43 +0000 (0:00:00.042) 0:00:52.697 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:57:43 +0000 (0:00:00.034) 0:00:52.732 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:57:43 +0000 (0:00:00.033) 0:00:52.766 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:57:43 +0000 (0:00:00.050) 0:00:52.816 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:57:44 +0000 (0:00:00.813) 0:00:53.630 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.704) 0:00:54.334 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.107) 0:00:54.442 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.050) 0:00:54.492 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.043) 0:00:54.536 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.054) 0:00:54.590 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.024) 0:00:54.615 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.050) 0:00:54.665 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.035) 0:00:54.701 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.040) 0:00:54.741 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.062) 0:00:54.803 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:57:45 +0000 (0:00:00.386) 0:00:55.190 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17017grole128/tmp6bz1rec4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:57:46 +0000 (0:00:00.603) 0:00:55.794 ***** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:57:46 +0000 (0:00:00.383) 0:00:56.177 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:57:46 +0000 (0:00:00.028) 0:00:56.206 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:57:46 +0000 (0:00:00.063) 0:00:56.269 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:57:46 +0000 (0:00:00.026) 0:00:56.295 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:57:47 +0000 (0:00:00.021) 0:00:56.316 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:57:47 +0000 (0:00:00.138) 0:00:56.454 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 16:57:47 +0000 (0:00:00.064) 0:00:56.519 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:57:47 +0000 (0:00:00.051) 0:00:56.571 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:57:47 +0000 (0:00:00.145) 0:00:56.717 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:57:47 +0000 (0:00:00.301) 0:00:57.019 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:57:47 +0000 (0:00:00.048) 0:00:57.067 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025457", "end": "2023-12-21 16:57:47.986750", "rc": 1, "start": "2023-12-21 16:57:47.961293" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:57:48 +0000 (0:00:00.312) 0:00:57.380 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:57:48 +0000 (0:00:00.097) 0:00:57.478 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:57:48 +0000 (0:00:00.080) 0:00:57.558 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:57:48 +0000 (0:00:00.027) 0:00:57.585 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:57:48 +0000 (0:00:00.045) 0:00:57.631 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 16:57:48 +0000 (0:00:00.025) 0:00:57.656 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:57:48 +0000 (0:00:00.053) 0:00:57.710 ***** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:57:48 +0000 (0:00:00.094) 0:00:57.804 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:57:48 +0000 (0:00:00.045) 0:00:57.850 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:57:48 +0000 (0:00:00.077) 0:00:57.928 ***** 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.052536", "end": "2023-12-21 16:57:48.810109", "rc": 0, "start": "2023-12-21 16:57:48.757573" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tests_states.yml:126 Thursday 21 December 2023 16:57:48 +0000 (0:00:00.247) 0:00:58.176 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:57:48 +0000 (0:00:00.057) 0:00:58.233 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:57:48 +0000 (0:00:00.032) 0:00:58.265 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:57:49 +0000 (0:00:00.069) 0:00:58.335 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:57:49 +0000 (0:00:00.077) 0:00:58.412 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:57:49 +0000 (0:00:00.089) 0:00:58.502 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003489", "end": "2023-12-21 16:57:49.321379", "rc": 0, "start": "2023-12-21 16:57:49.317890" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:57:49 +0000 (0:00:00.176) 0:00:58.679 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:57:49 +0000 (0:00:00.053) 0:00:58.733 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:57:49 +0000 (0:00:00.047) 0:00:58.780 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:57:49 +0000 (0:00:00.065) 0:00:58.846 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:57:49 +0000 (0:00:00.049) 0:00:58.896 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:57:49 +0000 (0:00:00.083) 0:00:58.979 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:57:49 +0000 (0:00:00.033) 0:00:59.013 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:57:49 +0000 (0:00:00.033) 0:00:59.046 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:57:49 +0000 (0:00:00.070) 0:00:59.117 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:57:50 +0000 (0:00:00.786) 0:00:59.903 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:57:51 +0000 (0:00:00.693) 0:01:00.597 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:57:51 +0000 (0:00:00.045) 0:01:00.643 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:57:51 +0000 (0:00:00.033) 0:01:00.676 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:57:51 +0000 (0:00:00.085) 0:01:00.762 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:57:51 +0000 (0:00:00.075) 0:01:00.837 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:57:51 +0000 (0:00:00.068) 0:01:00.906 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:57:51 +0000 (0:00:00.025) 0:01:00.931 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:57:51 +0000 (0:00:00.147) 0:01:01.079 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:57:51 +0000 (0:00:00.048) 0:01:01.127 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:57:51 +0000 (0:00:00.045) 0:01:01.172 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:57:52 +0000 (0:00:00.295) 0:01:01.467 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17017grole128/tmpf6ks5mu8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:57:52 +0000 (0:00:00.374) 0:01:01.841 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:57:52 +0000 (0:00:00.254) 0:01:02.096 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:57:52 +0000 (0:00:00.034) 0:01:02.131 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:57:52 +0000 (0:00:00.034) 0:01:02.165 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:57:52 +0000 (0:00:00.045) 0:01:02.211 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:57:52 +0000 (0:00:00.050) 0:01:02.261 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:57:53 +0000 (0:00:00.176) 0:01:02.438 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:57:53 +0000 (0:00:00.062) 0:01:02.500 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:57:53 +0000 (0:00:00.175) 0:01:02.676 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:57:53 +0000 (0:00:00.106) 0:01:02.782 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:57:53 +0000 (0:00:00.098) 0:01:02.881 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:57:53 +0000 (0:00:00.026) 0:01:02.907 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:57:53 +0000 (0:00:00.044) 0:01:02.952 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:57:54 +0000 (0:00:00.767) 0:01:03.719 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:57:55 +0000 (0:00:00.858) 0:01:04.578 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:57:55 +0000 (0:00:00.068) 0:01:04.646 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:57:55 +0000 (0:00:00.040) 0:01:04.687 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:57:55 +0000 (0:00:00.043) 0:01:04.730 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:57:55 +0000 (0:00:00.159) 0:01:04.889 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:57:55 +0000 (0:00:00.045) 0:01:04.935 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:57:55 +0000 (0:00:00.115) 0:01:05.050 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:57:55 +0000 (0:00:00.073) 0:01:05.123 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:57:55 +0000 (0:00:00.073) 0:01:05.197 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:57:55 +0000 (0:00:00.112) 0:01:05.310 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:57:56 +0000 (0:00:00.462) 0:01:05.772 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17017grole128/tmpd43tdhpg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:57:56 +0000 (0:00:00.260) 0:01:06.032 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.474) 0:01:06.507 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.050) 0:01:06.558 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.044) 0:01:06.602 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.076) 0:01:06.679 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.040) 0:01:06.719 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.168) 0:01:06.888 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.048) 0:01:06.936 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.083) 0:01:07.020 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.044) 0:01:07.064 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.025) 0:01:07.090 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:57:57 +0000 (0:00:00.031) 0:01:07.121 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:57:58 +0000 (0:00:00.756) 0:01:07.878 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:57:59 +0000 (0:00:00.736) 0:01:08.614 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:57:59 +0000 (0:00:00.053) 0:01:08.668 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:57:59 +0000 (0:00:00.057) 0:01:08.725 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:57:59 +0000 (0:00:00.036) 0:01:08.762 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:57:59 +0000 (0:00:00.077) 0:01:08.840 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:57:59 +0000 (0:00:00.042) 0:01:08.882 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:57:59 +0000 (0:00:00.064) 0:01:08.946 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:57:59 +0000 (0:00:00.105) 0:01:09.052 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:57:59 +0000 (0:00:00.085) 0:01:09.137 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:57:59 +0000 (0:00:00.044) 0:01:09.181 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:58:00 +0000 (0:00:00.262) 0:01:09.443 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17017grole128/tmpg5igjxxl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:58:00 +0000 (0:00:00.296) 0:01:09.740 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:58:00 +0000 (0:00:00.340) 0:01:10.081 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:58:00 +0000 (0:00:00.121) 0:01:10.203 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:58:00 +0000 (0:00:00.063) 0:01:10.267 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:58:00 +0000 (0:00:00.034) 0:01:10.302 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:58:01 +0000 (0:00:00.051) 0:01:10.353 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:58:01 +0000 (0:00:00.189) 0:01:10.542 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 16:58:01 +0000 (0:00:00.064) 0:01:10.607 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:58:01 +0000 (0:00:00.071) 0:01:10.678 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:58:01 +0000 (0:00:00.068) 0:01:10.746 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:58:01 +0000 (0:00:00.033) 0:01:10.779 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:58:01 +0000 (0:00:00.065) 0:01:10.845 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:58:01 +0000 (0:00:00.056) 0:01:10.902 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:58:02 +0000 (0:00:00.820) 0:01:11.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-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.666) 0:01:12.389 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.025) 0:01:12.415 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.041) 0:01:12.456 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.024) 0:01:12.480 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.067) 0:01:12.547 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.053) 0:01:12.601 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.035) 0:01:12.636 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.051) 0:01:12.687 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.027) 0:01:12.715 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.023) 0:01:12.738 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:58:03 +0000 (0:00:00.302) 0:01:13.041 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17017grole128/tmplqogebn1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:58:04 +0000 (0:00:00.286) 0:01:13.328 ***** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:58:04 +0000 (0:00:00.302) 0:01:13.631 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:58:04 +0000 (0:00:00.022) 0:01:13.653 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:58:04 +0000 (0:00:00.026) 0:01:13.679 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:58:04 +0000 (0:00:00.030) 0:01:13.710 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:58:04 +0000 (0:00:00.022) 0:01:13.733 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:58:04 +0000 (0:00:00.131) 0:01:13.864 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 16:58:04 +0000 (0:00:00.047) 0:01:13.912 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:58:04 +0000 (0:00:00.044) 0:01:13.956 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:58:04 +0000 (0:00:00.034) 0:01:13.990 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:58:04 +0000 (0:00:00.145) 0:01:14.136 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:58:04 +0000 (0:00:00.022) 0:01:14.158 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023653", "end": "2023-12-21 16:58:04.980204", "rc": 1, "start": "2023-12-21 16:58:04.956551" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:58:05 +0000 (0:00:00.164) 0:01:14.322 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:58:05 +0000 (0:00:00.025) 0:01:14.347 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:58:05 +0000 (0:00:00.026) 0:01:14.374 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:58:05 +0000 (0:00:00.089) 0:01:14.464 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:58:05 +0000 (0:00:00.038) 0:01:14.503 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 16:58:05 +0000 (0:00:00.066) 0:01:14.569 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 21 December 2023 16:58:05 +0000 (0:00:00.029) 0:01:14.599 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.404937", "end": "2023-12-21 16:58:05.822535", "rc": 0, "start": "2023-12-21 16:58:05.417598" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 21 December 2023 16:58:05 +0000 (0:00:00.581) 0:01:15.180 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 21 December 2023 16:58:05 +0000 (0:00:00.049) 0:01:15.229 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:58:05 +0000 (0:00:00.029) 0:01:15.259 ***** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:58:06 +0000 (0:00:00.077) 0:01:15.336 ***** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:58:06 +0000 (0:00:00.026) 0:01:15.363 ***** included: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typeodyj10gt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:58:06 +0000 (0:00:00.057) 0:01:15.420 ***** 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.053369", "end": "2023-12-21 16:58:06.275130", "rc": 0, "start": "2023-12-21 16:58:06.221761" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=335 changed=14 unreachable=0 failed=0 skipped=224 rescued=0 ignored=10 Thursday 21 December 2023 16:58:06 +0000 (0:00:00.186) 0:01:15.607 ***** =============================================================================== linux-system-roles.network : Install packages --------------------------- 2.83s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 2.02s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.67s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.66s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Configure networking connection profiles --- 1.52s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.31s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.19s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Re-test connectivity ----------------------- 1.06s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:155 linux-system-roles.network : Configure networking connection profiles --- 1.03s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 0.96s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 0.95s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which services are running ----------- 0.86s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.86s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.86s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.84s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.83s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.83s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.83s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.83s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-route_typeodyj10gt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---