# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-skip_initscriptsatey4119/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /WORKDIR/git-skip_initscriptsatey4119/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/tests_states_initscripts.yml:4 Wednesday 20 December 2023 20:44:57 +0000 (0:00:00.011) 0:00:00.011 **** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-skip_initscriptsatey4119/tests/tests_states_initscripts.yml:8 Wednesday 20 December 2023 20:44:58 +0000 (0:00:00.692) 0:00:00.703 **** included: /WORKDIR/git-skip_initscriptsatey4119/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-skip_initscriptsatey4119/tests/tasks/el_repo_setup.yml:3 Wednesday 20 December 2023 20:44:58 +0000 (0:00:00.011) 0:00:00.715 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/tasks/el_repo_setup.yml:17 Wednesday 20 December 2023 20:44:58 +0000 (0:00:00.240) 0:00:00.955 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/tasks/el_repo_setup.yml:22 Wednesday 20 December 2023 20:44:58 +0000 (0:00:00.178) 0:00:01.134 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/tasks/el_repo_setup.yml:26 Wednesday 20 December 2023 20:44:58 +0000 (0:00:00.013) 0:00:01.147 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/tasks/el_repo_setup.yml:51 Wednesday 20 December 2023 20:44:58 +0000 (0:00:00.009) 0:00:01.156 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/tasks/enable_epel.yml:8 Wednesday 20 December 2023 20:44:58 +0000 (0:00:00.021) 0:00:01.177 **** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/tasks/enable_epel.yml:24 Wednesday 20 December 2023 20:44:59 +0000 (0:00:00.190) 0:00:01.368 **** 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-skip_initscriptsatey4119/tests/tasks/enable_epel.yml:30 Wednesday 20 December 2023 20:44:59 +0000 (0:00:00.420) 0:00:01.788 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.195225", "end": "2023-12-20 20:44:59.877847", "rc": 0, "start": "2023-12-20 20:44:59.682622" } 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-skip_initscriptsatey4119/tests/tasks/enable_epel.yml:35 Wednesday 20 December 2023 20:44:59 +0000 (0:00:00.321) 0:00:02.109 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '8'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/tasks/enable_epel.yml:40 Wednesday 20 December 2023 20:44:59 +0000 (0:00:00.011) 0:00:02.120 **** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/tests_states_initscripts.yml:10 Wednesday 20 December 2023 20:44:59 +0000 (0:00:00.011) 0:00:02.132 **** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tests_states.yml:3 Wednesday 20 December 2023 20:44:59 +0000 (0:00:00.016) 0:00:02.148 **** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tests_states.yml:11 Wednesday 20 December 2023 20:45:00 +0000 (0:00:00.556) 0:00:02.704 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tests_states.yml:22 Wednesday 20 December 2023 20:45:00 +0000 (0:00:00.017) 0:00:02.722 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 20:45:00 +0000 (0:00:00.021) 0:00:02.743 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 20:45:00 +0000 (0:00:00.018) 0:00:02.761 **** 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-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 20:45:00 +0000 (0:00:00.043) 0:00:02.805 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:45:00 +0000 (0:00:00.021) 0:00:02.826 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:45:00 +0000 (0:00:00.030) 0:00:02.857 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004049", "end": "2023-12-20 20:45:00.803333", "rc": 0, "start": "2023-12-20 20:45:00.799284" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:45:00 +0000 (0:00:00.176) 0:00:03.033 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:45:00 +0000 (0:00:00.022) 0:00:03.056 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 20:45:00 +0000 (0:00:00.018) 0:00:03.074 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 20 December 2023 20:45:00 +0000 (0:00:00.032) 0:00:03.107 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011296", "end": "2023-12-20 20:45:01.026228", "rc": 1, "start": "2023-12-20 20:45:01.014932" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 20:45:01 +0000 (0:00:00.152) 0:00:03.259 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:45:01 +0000 (0:00:00.038) 0:00:03.298 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 20:45:01 +0000 (0:00:00.148) 0:00:03.447 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 20:45:01 +0000 (0:00:00.022) 0:00:03.469 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 20:45:01 +0000 (0:00:00.035) 0:00:03.505 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 20:45:01 +0000 (0:00:00.036) 0:00:03.542 **** included: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:45:01 +0000 (0:00:00.028) 0:00:03.570 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 20:45:01 +0000 (0:00:00.021) 0:00:03.592 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 20:45:01 +0000 (0:00:00.021) 0:00:03.613 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 20:45:01 +0000 (0:00:00.020) 0:00:03.634 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 20:45:02 +0000 (0:00:00.976) 0:00:04.610 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 20:45:03 +0000 (0:00:00.841) 0:00:05.452 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 20:45:03 +0000 (0:00:00.031) 0:00:05.483 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 20:45:03 +0000 (0:00:00.032) 0:00:05.515 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 20:45:03 +0000 (0:00:00.029) 0:00:05.545 **** 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 [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 20:45:05 +0000 (0:00:02.482) 0:00:08.028 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 20:45:05 +0000 (0:00:00.040) 0:00:08.068 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 20:45:05 +0000 (0:00:00.032) 0:00:08.101 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 20:45:05 +0000 (0:00:00.043) 0:00:08.144 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 20:45:05 +0000 (0:00:00.028) 0:00:08.173 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 20:45:06 +0000 (0:00:00.058) 0:00:08.231 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 20:45:06 +0000 (0:00:00.422) 0:00:08.654 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11086ms83ylle/tmp566selql" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 20:45:06 +0000 (0:00:00.243) 0:00:08.897 **** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 20:45:07 +0000 (0:00:00.371) 0:00:09.269 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 20:45:07 +0000 (0:00:00.029) 0:00:09.298 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 20:45:07 +0000 (0:00:00.028) 0:00:09.327 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 20:45:07 +0000 (0:00:00.029) 0:00:09.356 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 20:45:07 +0000 (0:00:00.027) 0:00:09.384 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 20:45:07 +0000 (0:00:00.206) 0:00:09.590 **** 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-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 20:45:07 +0000 (0:00:00.030) 0:00:09.621 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 20:45:07 +0000 (0:00:00.064) 0:00:09.685 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 20:45:07 +0000 (0:00:00.040) 0:00:09.726 **** 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-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 20:45:07 +0000 (0:00:00.032) 0:00:09.758 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703105107.0263681, "block_size": 4096, "blocks": 8, "ctime": 1703105107.0263681, "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": 1703105107.0263681, "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-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 20:45:07 +0000 (0:00:00.144) 0:00:09.903 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 20:45:07 +0000 (0:00:00.027) 0:00:09.931 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025554", "end": "2023-12-20 20:45:07.863262", "rc": 1, "start": "2023-12-20 20:45:07.837708" } 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-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 20:45:07 +0000 (0:00:00.169) 0:00:10.100 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 20:45:07 +0000 (0:00:00.047) 0:00:10.147 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004164", "end": "2023-12-20 20:45:08.059771", "rc": 0, "start": "2023-12-20 20:45:08.055607" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 20:45:08 +0000 (0:00:00.151) 0:00:10.298 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 20:45:08 +0000 (0:00:00.032) 0:00:10.331 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003814", "end": "2023-12-20 20:45:08.240470", "rc": 0, "start": "2023-12-20 20:45:08.236656" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 20:45:08 +0000 (0:00:00.151) 0:00:10.482 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 20:45:08 +0000 (0:00:00.031) 0:00:10.514 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 20:45:08 +0000 (0:00:00.028) 0:00:10.543 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 20:45:08 +0000 (0:00:00.030) 0:00:10.573 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 20:45:08 +0000 (0:00:00.031) 0:00:10.605 **** skipping: [sut] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 20:45:08 +0000 (0:00:00.028) 0:00:10.633 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 20:45:08 +0000 (0:00:00.029) 0:00:10.663 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 20:45:08 +0000 (0:00:00.043) 0:00:10.707 **** 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.046621", "end": "2023-12-20 20:45:08.661837", "rc": 1, "start": "2023-12-20 20:45:08.615216" } 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-skip_initscriptsatey4119/tests/playbooks/tests_states.yml:45 Wednesday 20 December 2023 20:45:08 +0000 (0:00:00.193) 0:00:10.900 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 20:45:08 +0000 (0:00:00.038) 0:00:10.938 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 20:45:08 +0000 (0:00:00.029) 0:00:10.968 **** 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. '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-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 20:45:08 +0000 (0:00:00.051) 0:00:11.019 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:45:08 +0000 (0:00:00.041) 0:00:11.061 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:45:08 +0000 (0:00:00.097) 0:00:11.158 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004310", "end": "2023-12-20 20:45:09.131332", "rc": 0, "start": "2023-12-20 20:45:09.127022" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:45:09 +0000 (0:00:00.224) 0:00:11.383 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:45:09 +0000 (0:00:00.030) 0:00:11.414 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 20:45:09 +0000 (0:00:00.040) 0:00:11.454 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 20 December 2023 20:45:09 +0000 (0:00:00.045) 0:00:11.500 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007913", "end": "2023-12-20 20:45:09.411359", "rc": 1, "start": "2023-12-20 20:45:09.403446" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 20:45:09 +0000 (0:00:00.149) 0:00:11.650 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:45:09 +0000 (0:00:00.042) 0:00:11.692 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 20:45:09 +0000 (0:00:00.146) 0:00:11.838 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 20:45:09 +0000 (0:00:00.041) 0:00:11.880 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 20 December 2023 20:45:09 +0000 (0:00:00.047) 0:00:11.928 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 20:45:09 +0000 (0:00:00.062) 0:00:11.990 **** included: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:45:09 +0000 (0:00:00.045) 0:00:12.036 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 20:45:09 +0000 (0:00:00.031) 0:00:12.068 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 20:45:09 +0000 (0:00:00.052) 0:00:12.120 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 20:45:09 +0000 (0:00:00.028) 0:00:12.149 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 20:45:10 +0000 (0:00:00.849) 0:00:12.999 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 20:45:11 +0000 (0:00:00.686) 0:00:13.685 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 20:45:11 +0000 (0:00:00.029) 0:00:13.715 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 20:45:11 +0000 (0:00:00.028) 0:00:13.744 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 20:45:11 +0000 (0:00:00.030) 0:00:13.774 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 20:45:11 +0000 (0:00:00.050) 0:00:13.824 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 20:45:11 +0000 (0:00:00.028) 0:00:13.853 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 20:45:11 +0000 (0:00:00.027) 0:00:13.880 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 20:45:11 +0000 (0:00:00.031) 0:00:13.912 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 20:45:11 +0000 (0:00:00.028) 0:00:13.941 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 20:45:11 +0000 (0:00:00.026) 0:00:13.967 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 20:45:12 +0000 (0:00:00.249) 0:00:14.217 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11086ms83ylle/tmpp1eej95z" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 20:45:12 +0000 (0:00:00.223) 0:00:14.440 **** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 20:45:12 +0000 (0:00:00.269) 0:00:14.710 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 20:45:12 +0000 (0:00:00.044) 0:00:14.754 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 20:45:12 +0000 (0:00:00.064) 0:00:14.819 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 20:45:12 +0000 (0:00:00.034) 0:00:14.853 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 20:45:12 +0000 (0:00:00.033) 0:00:14.886 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 20 December 2023 20:45:12 +0000 (0:00:00.148) 0:00:15.035 **** 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-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 20:45:12 +0000 (0:00:00.029) 0:00:15.064 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 20:45:12 +0000 (0:00:00.042) 0:00:15.107 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:45:12 +0000 (0:00:00.036) 0:00:15.144 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 20:45:13 +0000 (0:00:00.141) 0:00:15.286 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 20:45:13 +0000 (0:00:00.028) 0:00:15.314 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 20:45:13 +0000 (0:00:00.038) 0:00:15.353 **** 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-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 20:45:13 +0000 (0:00:00.028) 0:00:15.382 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703105112.4583564, "block_size": 4096, "blocks": 8, "ctime": 1703105112.4583564, "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": 1703105112.4583564, "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-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 20:45:13 +0000 (0:00:00.141) 0:00:15.523 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 20:45:13 +0000 (0:00:00.029) 0:00:15.553 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021332", "end": "2023-12-20 20:45:13.476894", "rc": 1, "start": "2023-12-20 20:45:13.455562" } 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-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 20:45:13 +0000 (0:00:00.174) 0:00:15.727 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 20:45:13 +0000 (0:00:00.034) 0:00:15.762 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003860", "end": "2023-12-20 20:45:13.671165", "rc": 0, "start": "2023-12-20 20:45:13.667305" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 20:45:13 +0000 (0:00:00.177) 0:00:15.939 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 20:45:13 +0000 (0:00:00.035) 0:00:15.975 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003864", "end": "2023-12-20 20:45:13.885385", "rc": 0, "start": "2023-12-20 20:45:13.881521" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 20:45:13 +0000 (0:00:00.158) 0:00:16.133 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 20:45:13 +0000 (0:00:00.033) 0:00:16.167 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 20:45:13 +0000 (0:00:00.033) 0:00:16.201 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 20:45:14 +0000 (0:00:00.029) 0:00:16.230 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 20:45:14 +0000 (0:00:00.028) 0:00:16.259 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 20:45:14 +0000 (0:00:00.035) 0:00:16.294 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 20:45:14 +0000 (0:00:00.037) 0:00:16.331 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 20:45:14 +0000 (0:00:00.069) 0:00:16.401 **** 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.044119", "end": "2023-12-20 20:45:14.368348", "rc": 1, "start": "2023-12-20 20:45:14.324229" } 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-skip_initscriptsatey4119/tests/playbooks/tests_states.yml:65 Wednesday 20 December 2023 20:45:14 +0000 (0:00:00.233) 0:00:16.634 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 20:45:14 +0000 (0:00:00.046) 0:00:16.681 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 20:45:14 +0000 (0:00:00.030) 0:00:16.711 **** 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. '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-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 20:45:14 +0000 (0:00:00.050) 0:00:16.762 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:45:14 +0000 (0:00:00.038) 0:00:16.801 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:45:14 +0000 (0:00:00.080) 0:00:16.881 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003912", "end": "2023-12-20 20:45:14.790759", "rc": 0, "start": "2023-12-20 20:45:14.786847" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:45:14 +0000 (0:00:00.149) 0:00:17.031 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:45:14 +0000 (0:00:00.031) 0:00:17.062 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 20:45:14 +0000 (0:00:00.037) 0:00:17.099 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 20:45:14 +0000 (0:00:00.042) 0:00:17.142 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 20:45:14 +0000 (0:00:00.047) 0:00:17.190 **** included: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:45:15 +0000 (0:00:00.042) 0:00:17.233 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 20:45:15 +0000 (0:00:00.031) 0:00:17.264 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 20:45:15 +0000 (0:00:00.027) 0:00:17.292 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 20:45:15 +0000 (0:00:00.029) 0:00:17.321 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 20:45:15 +0000 (0:00:00.831) 0:00:18.152 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 20:45:16 +0000 (0:00:00.680) 0:00:18.833 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 20:45:16 +0000 (0:00:00.031) 0:00:18.864 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 20:45:16 +0000 (0:00:00.052) 0:00:18.917 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 20:45:16 +0000 (0:00:00.028) 0:00:18.946 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 20:45:16 +0000 (0:00:00.052) 0:00:18.998 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 20:45:16 +0000 (0:00:00.028) 0:00:19.027 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 20:45:16 +0000 (0:00:00.031) 0:00:19.058 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 20:45:16 +0000 (0:00:00.045) 0:00:19.104 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 20:45:16 +0000 (0:00:00.048) 0:00:19.152 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 20:45:16 +0000 (0:00:00.044) 0:00:19.196 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 20:45:17 +0000 (0:00:00.278) 0:00:19.474 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11086ms83ylle/tmpjdv_v_0r" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 20:45:17 +0000 (0:00:00.251) 0:00:19.726 **** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 20:45:17 +0000 (0:00:00.242) 0:00:19.969 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 20:45:17 +0000 (0:00:00.046) 0:00:20.016 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 20:45:17 +0000 (0:00:00.055) 0:00:20.071 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 20:45:17 +0000 (0:00:00.041) 0:00:20.112 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 20:45:17 +0000 (0:00:00.031) 0:00:20.144 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 20:45:18 +0000 (0:00:00.154) 0:00:20.299 **** 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-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 20:45:18 +0000 (0:00:00.027) 0:00:20.327 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 20:45:18 +0000 (0:00:00.040) 0:00:20.368 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 20:45:18 +0000 (0:00:00.081) 0:00:20.449 **** included: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:45:18 +0000 (0:00:00.051) 0:00:20.501 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 20:45:18 +0000 (0:00:00.032) 0:00:20.533 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 20:45:18 +0000 (0:00:00.030) 0:00:20.564 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 20:45:18 +0000 (0:00:00.029) 0:00:20.594 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 20:45:19 +0000 (0:00:00.826) 0:00:21.421 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 20:45:19 +0000 (0:00:00.679) 0:00:22.101 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 20:45:19 +0000 (0:00:00.036) 0:00:22.137 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 20:45:19 +0000 (0:00:00.029) 0:00:22.167 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 20:45:19 +0000 (0:00:00.028) 0:00:22.195 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 20:45:20 +0000 (0:00:00.054) 0:00:22.249 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 20:45:20 +0000 (0:00:00.032) 0:00:22.282 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 20:45:20 +0000 (0:00:00.029) 0:00:22.311 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 20:45:20 +0000 (0:00:00.033) 0:00:22.344 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 20:45:20 +0000 (0:00:00.060) 0:00:22.405 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 20:45:20 +0000 (0:00:00.027) 0:00:22.433 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 20:45:20 +0000 (0:00:00.247) 0:00:22.681 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11086ms83ylle/tmpfmzil0y6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 20:45:20 +0000 (0:00:00.219) 0:00:22.901 **** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 20:45:21 +0000 (0:00:00.482) 0:00:23.383 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 20:45:21 +0000 (0:00:00.028) 0:00:23.412 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 20:45:21 +0000 (0:00:00.029) 0:00:23.442 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 20:45:21 +0000 (0:00:00.031) 0:00:23.473 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 20:45:21 +0000 (0:00:00.031) 0:00:23.504 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 20:45:21 +0000 (0:00:00.150) 0:00:23.655 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_present.yml for sut => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:45:21 +0000 (0:00:00.044) 0:00:23.699 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:45:21 +0000 (0:00:00.038) 0:00:23.738 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703105121.071338, "block_size": 4096, "blocks": 0, "ctime": 1703105121.070338, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17547, "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": 1703105121.070338, "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-skip_initscriptsatey4119/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:45:21 +0000 (0:00:00.147) 0:00:23.886 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 20:45:21 +0000 (0:00:00.028) 0:00:23.914 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 20:45:21 +0000 (0:00:00.040) 0:00:23.954 **** 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-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 20:45:21 +0000 (0:00:00.065) 0:00:24.019 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703105120.8913383, "block_size": 4096, "blocks": 8, "ctime": 1703105117.7213452, "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": 1703105117.7213452, "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-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 20:45:21 +0000 (0:00:00.145) 0:00:24.165 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 20:45:21 +0000 (0:00:00.028) 0:00:24.193 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022571", "end": "2023-12-20 20:45:22.119127", "rc": 1, "start": "2023-12-20 20:45:22.096556" } 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-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 20:45:22 +0000 (0:00:00.163) 0:00:24.357 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 20:45:22 +0000 (0:00:00.027) 0:00:24.384 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003771", "end": "2023-12-20 20:45:22.292836", "rc": 0, "start": "2023-12-20 20:45:22.289065" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 20:45:22 +0000 (0:00:00.149) 0:00:24.533 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 20:45:22 +0000 (0:00:00.031) 0:00:24.564 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003915", "end": "2023-12-20 20:45:22.477057", "rc": 0, "start": "2023-12-20 20:45:22.473142" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 20:45:22 +0000 (0:00:00.152) 0:00:24.717 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 20:45:22 +0000 (0:00:00.035) 0:00:24.752 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 20:45:22 +0000 (0:00:00.034) 0:00:24.787 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 20:45:22 +0000 (0:00:00.040) 0:00:24.827 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 20:45:22 +0000 (0:00:00.034) 0:00:24.861 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 20:45:22 +0000 (0:00:00.028) 0:00:24.890 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 20:45:22 +0000 (0:00:00.029) 0:00:24.919 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 20:45:22 +0000 (0:00:00.043) 0:00:24.963 **** 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.048841", "end": "2023-12-20 20:45:22.917981", "rc": 0, "start": "2023-12-20 20:45:22.869140" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tests_states.yml:83 Wednesday 20 December 2023 20:45:22 +0000 (0:00:00.192) 0:00:25.156 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 20:45:22 +0000 (0:00:00.038) 0:00:25.194 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 20:45:23 +0000 (0:00:00.053) 0:00:25.248 **** 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. '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-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 20:45:23 +0000 (0:00:00.052) 0:00:25.300 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:45:23 +0000 (0:00:00.039) 0:00:25.339 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:45:23 +0000 (0:00:00.037) 0:00:25.377 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003898", "end": "2023-12-20 20:45:23.289149", "rc": 0, "start": "2023-12-20 20:45:23.285251" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:45:23 +0000 (0:00:00.151) 0:00:25.528 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:45:23 +0000 (0:00:00.029) 0:00:25.557 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 20:45:23 +0000 (0:00:00.027) 0:00:25.585 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 20:45:23 +0000 (0:00:00.042) 0:00:25.628 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 20:45:23 +0000 (0:00:00.045) 0:00:25.673 **** included: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:45:23 +0000 (0:00:00.046) 0:00:25.719 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 20:45:23 +0000 (0:00:00.033) 0:00:25.753 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 20:45:23 +0000 (0:00:00.029) 0:00:25.783 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 20:45:23 +0000 (0:00:00.042) 0:00:25.825 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 20:45:24 +0000 (0:00:00.893) 0:00:26.718 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 20:45:25 +0000 (0:00:00.683) 0:00:27.401 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 20:45:25 +0000 (0:00:00.028) 0:00:27.430 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 20:45:25 +0000 (0:00:00.028) 0:00:27.459 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 20:45:25 +0000 (0:00:00.029) 0:00:27.489 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 20:45:25 +0000 (0:00:00.059) 0:00:27.549 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 20:45:25 +0000 (0:00:00.030) 0:00:27.580 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 20:45:25 +0000 (0:00:00.031) 0:00:27.612 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 20:45:25 +0000 (0:00:00.034) 0:00:27.646 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 20:45:25 +0000 (0:00:00.030) 0:00:27.677 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 20:45:25 +0000 (0:00:00.029) 0:00:27.706 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 20:45:25 +0000 (0:00:00.263) 0:00:27.970 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11086ms83ylle/tmpzl3i3wuq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 20:45:25 +0000 (0:00:00.230) 0:00:28.201 **** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 20:45:26 +0000 (0:00:00.230) 0:00:28.431 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 20:45:26 +0000 (0:00:00.028) 0:00:28.459 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 20:45:26 +0000 (0:00:00.028) 0:00:28.487 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 20:45:26 +0000 (0:00:00.028) 0:00:28.515 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 20:45:26 +0000 (0:00:00.056) 0:00:28.572 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 20:45:26 +0000 (0:00:00.149) 0:00:28.722 **** 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-skip_initscriptsatey4119/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 20:45:26 +0000 (0:00:00.029) 0:00:28.751 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 20:45:26 +0000 (0:00:00.046) 0:00:28.798 **** included: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:45:26 +0000 (0:00:00.054) 0:00:28.853 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 20:45:26 +0000 (0:00:00.035) 0:00:28.889 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 20:45:26 +0000 (0:00:00.029) 0:00:28.918 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 20:45:26 +0000 (0:00:00.033) 0:00:28.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 [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 20:45:27 +0000 (0:00:00.833) 0:00:29.786 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 20:45:28 +0000 (0:00:00.679) 0:00:30.465 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 20:45:28 +0000 (0:00:00.034) 0:00:30.500 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 20:45:28 +0000 (0:00:00.033) 0:00:30.533 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 20:45:28 +0000 (0:00:00.031) 0:00:30.564 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 20:45:28 +0000 (0:00:00.122) 0:00:30.687 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 20:45:28 +0000 (0:00:00.030) 0:00:30.717 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 20:45:28 +0000 (0:00:00.031) 0:00:30.749 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 20:45:28 +0000 (0:00:00.045) 0:00:30.795 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 20:45:28 +0000 (0:00:00.040) 0:00:30.835 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 20:45:28 +0000 (0:00:00.028) 0:00:30.863 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 20:45:28 +0000 (0:00:00.273) 0:00:31.137 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11086ms83ylle/tmpraa8bumz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 20:45:29 +0000 (0:00:00.254) 0:00:31.392 **** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 20:45:29 +0000 (0:00:00.481) 0:00:31.874 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 20:45:29 +0000 (0:00:00.034) 0:00:31.909 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 20:45:29 +0000 (0:00:00.033) 0:00:31.942 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 20:45:29 +0000 (0:00:00.031) 0:00:31.974 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 20:45:29 +0000 (0:00:00.031) 0:00:32.005 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 20:45:29 +0000 (0:00:00.156) 0:00:32.161 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 20 December 2023 20:45:29 +0000 (0:00:00.052) 0:00:32.213 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 20:45:30 +0000 (0:00:00.048) 0:00:32.262 **** included: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:45:30 +0000 (0:00:00.072) 0:00:32.334 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 20:45:30 +0000 (0:00:00.050) 0:00:32.385 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 20:45:30 +0000 (0:00:00.038) 0:00:32.423 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 20:45:30 +0000 (0:00:00.031) 0:00:32.455 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 20:45:31 +0000 (0:00:00.835) 0:00:33.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 [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 20:45:31 +0000 (0:00:00.678) 0:00:33.969 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 20:45:31 +0000 (0:00:00.030) 0:00:33.999 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 20:45:31 +0000 (0:00:00.038) 0:00:34.037 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 20:45:31 +0000 (0:00:00.034) 0:00:34.072 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 20:45:31 +0000 (0:00:00.054) 0:00:34.126 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 20:45:31 +0000 (0:00:00.031) 0:00:34.157 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 20:45:31 +0000 (0:00:00.029) 0:00:34.187 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 20:45:32 +0000 (0:00:00.035) 0:00:34.222 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 20:45:32 +0000 (0:00:00.033) 0:00:34.256 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 20:45:32 +0000 (0:00:00.028) 0:00:34.284 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 20:45:32 +0000 (0:00:00.290) 0:00:34.574 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11086ms83ylle/tmpup6nhey6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 20:45:32 +0000 (0:00:00.219) 0:00:34.794 **** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 20:45:32 +0000 (0:00:00.236) 0:00:35.031 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 20:45:32 +0000 (0:00:00.029) 0:00:35.060 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 20:45:32 +0000 (0:00:00.030) 0:00:35.091 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 20:45:32 +0000 (0:00:00.030) 0:00:35.122 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 20:45:32 +0000 (0:00:00.028) 0:00:35.151 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 20:45:33 +0000 (0:00:00.150) 0:00:35.301 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 20:45:33 +0000 (0:00:00.044) 0:00:35.345 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 20:45:33 +0000 (0:00:00.036) 0:00:35.382 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703105129.5623198, "block_size": 4096, "blocks": 0, "ctime": 1703105129.5613198, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17547, "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": 1703105129.5613198, "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-skip_initscriptsatey4119/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 20:45:33 +0000 (0:00:00.141) 0:00:35.523 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 20:45:33 +0000 (0:00:00.030) 0:00:35.554 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 20:45:33 +0000 (0:00:00.038) 0:00:35.593 **** 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-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 20:45:33 +0000 (0:00:00.026) 0:00:35.619 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 20:45:33 +0000 (0:00:00.141) 0:00:35.761 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 20:45:33 +0000 (0:00:00.051) 0:00:35.812 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022567", "end": "2023-12-20 20:45:33.739061", "rc": 1, "start": "2023-12-20 20:45:33.716494" } 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-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 20:45:33 +0000 (0:00:00.163) 0:00:35.976 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 20:45:33 +0000 (0:00:00.028) 0:00:36.004 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 20:45:33 +0000 (0:00:00.028) 0:00:36.033 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 20:45:33 +0000 (0:00:00.031) 0:00:36.064 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 20:45:33 +0000 (0:00:00.041) 0:00:36.105 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 20:45:33 +0000 (0:00:00.033) 0:00:36.139 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 20:45:33 +0000 (0:00:00.030) 0:00:36.169 **** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 20:45:33 +0000 (0:00:00.025) 0:00:36.195 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 20:45:34 +0000 (0:00:00.031) 0:00:36.227 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 20:45:34 +0000 (0:00:00.055) 0:00:36.282 **** 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.051350", "end": "2023-12-20 20:45:34.237952", "rc": 0, "start": "2023-12-20 20:45:34.186602" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tests_states.yml:102 Wednesday 20 December 2023 20:45:34 +0000 (0:00:00.194) 0:00:36.476 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 20:45:34 +0000 (0:00:00.039) 0:00:36.515 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 20:45:34 +0000 (0:00:00.027) 0:00:36.542 **** 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-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 20:45:34 +0000 (0:00:00.052) 0:00:36.595 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:45:34 +0000 (0:00:00.036) 0:00:36.631 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:45:34 +0000 (0:00:00.063) 0:00:36.695 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003982", "end": "2023-12-20 20:45:34.603647", "rc": 0, "start": "2023-12-20 20:45:34.599665" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:45:34 +0000 (0:00:00.147) 0:00:36.842 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:45:34 +0000 (0:00:00.028) 0:00:36.871 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 20:45:34 +0000 (0:00:00.029) 0:00:36.900 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 20:45:34 +0000 (0:00:00.046) 0:00:36.947 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 20:45:34 +0000 (0:00:00.047) 0:00:36.994 **** included: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:45:34 +0000 (0:00:00.045) 0:00:37.040 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 20:45:34 +0000 (0:00:00.046) 0:00:37.086 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 20:45:34 +0000 (0:00:00.034) 0:00:37.120 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 20:45:34 +0000 (0:00:00.040) 0:00:37.161 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 20:45:35 +0000 (0:00:00.861) 0:00:38.022 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 20:45:36 +0000 (0:00:00.678) 0:00:38.700 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 20:45:36 +0000 (0:00:00.071) 0:00:38.772 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 20:45:36 +0000 (0:00:00.031) 0:00:38.803 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 20:45:36 +0000 (0:00:00.034) 0:00:38.837 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 20:45:36 +0000 (0:00:00.053) 0:00:38.891 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 20:45:36 +0000 (0:00:00.031) 0:00:38.922 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 20:45:36 +0000 (0:00:00.051) 0:00:38.973 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 20:45:36 +0000 (0:00:00.058) 0:00:39.032 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 20:45:36 +0000 (0:00:00.038) 0:00:39.070 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 20:45:36 +0000 (0:00:00.029) 0:00:39.099 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 20:45:37 +0000 (0:00:00.251) 0:00:39.351 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11086ms83ylle/tmpm34ld93j" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 20:45:37 +0000 (0:00:00.244) 0:00:39.596 **** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 20:45:37 +0000 (0:00:00.245) 0:00:39.841 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 20:45:37 +0000 (0:00:00.031) 0:00:39.872 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 20:45:37 +0000 (0:00:00.036) 0:00:39.908 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 20:45:37 +0000 (0:00:00.031) 0:00:39.940 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 20:45:37 +0000 (0:00:00.033) 0:00:39.973 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 20:45:37 +0000 (0:00:00.147) 0:00:40.120 **** 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-skip_initscriptsatey4119/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 20:45:37 +0000 (0:00:00.034) 0:00:40.155 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 20:45:38 +0000 (0:00:00.127) 0:00:40.282 **** included: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:45:38 +0000 (0:00:00.050) 0:00:40.332 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 20:45:38 +0000 (0:00:00.040) 0:00:40.373 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 20:45:38 +0000 (0:00:00.041) 0:00:40.414 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 20:45:38 +0000 (0:00:00.031) 0:00:40.445 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 20:45:39 +0000 (0:00:00.833) 0:00:41.279 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 20:45:39 +0000 (0:00:00.689) 0:00:41.968 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 20:45:39 +0000 (0:00:00.043) 0:00:42.012 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 20:45:39 +0000 (0:00:00.055) 0:00:42.067 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 20:45:39 +0000 (0:00:00.037) 0:00:42.105 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 20:45:39 +0000 (0:00:00.061) 0:00:42.166 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 20:45:39 +0000 (0:00:00.033) 0:00:42.200 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 20:45:40 +0000 (0:00:00.036) 0:00:42.236 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 20:45:40 +0000 (0:00:00.038) 0:00:42.274 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 20:45:40 +0000 (0:00:00.038) 0:00:42.313 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 20:45:40 +0000 (0:00:00.061) 0:00:42.374 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 20:45:40 +0000 (0:00:00.249) 0:00:42.624 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11086ms83ylle/tmpqrcyi9s3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 20:45:40 +0000 (0:00:00.227) 0:00:42.852 **** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 20:45:41 +0000 (0:00:00.482) 0:00:43.334 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 20:45:41 +0000 (0:00:00.028) 0:00:43.363 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 20:45:41 +0000 (0:00:00.028) 0:00:43.391 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 20:45:41 +0000 (0:00:00.029) 0:00:43.421 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 20:45:41 +0000 (0:00:00.035) 0:00:43.456 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 20 December 2023 20:45:41 +0000 (0:00:00.148) 0:00:43.605 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 20:45:41 +0000 (0:00:00.050) 0:00:43.656 **** included: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:45:41 +0000 (0:00:00.053) 0:00:43.709 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 20:45:41 +0000 (0:00:00.038) 0:00:43.748 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 20:45:41 +0000 (0:00:00.055) 0:00:43.803 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 20:45:41 +0000 (0:00:00.105) 0:00:43.908 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 20:45:42 +0000 (0:00:00.850) 0:00:44.759 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 20:45:43 +0000 (0:00:00.763) 0:00:45.522 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 20:45:43 +0000 (0:00:00.042) 0:00:45.565 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 20:45:43 +0000 (0:00:00.030) 0:00:45.596 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 20:45:43 +0000 (0:00:00.031) 0:00:45.627 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 20:45:43 +0000 (0:00:00.054) 0:00:45.682 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 20:45:43 +0000 (0:00:00.042) 0:00:45.724 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 20:45:43 +0000 (0:00:00.029) 0:00:45.754 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 20:45:43 +0000 (0:00:00.036) 0:00:45.791 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 20:45:43 +0000 (0:00:00.030) 0:00:45.821 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 20:45:43 +0000 (0:00:00.026) 0:00:45.848 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 20:45:43 +0000 (0:00:00.251) 0:00:46.100 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11086ms83ylle/tmpb0_70og_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 20:45:44 +0000 (0:00:00.225) 0:00:46.325 **** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 20:45:44 +0000 (0:00:00.238) 0:00:46.564 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 20:45:44 +0000 (0:00:00.030) 0:00:46.594 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 20:45:44 +0000 (0:00:00.034) 0:00:46.629 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 20:45:44 +0000 (0:00:00.042) 0:00:46.672 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 20:45:44 +0000 (0:00:00.044) 0:00:46.716 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 20:45:44 +0000 (0:00:00.187) 0:00:46.903 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 20:45:44 +0000 (0:00:00.042) 0:00:46.946 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 20:45:44 +0000 (0:00:00.046) 0:00:46.993 **** included: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:45:44 +0000 (0:00:00.044) 0:00:47.037 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 20:45:44 +0000 (0:00:00.033) 0:00:47.070 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 20:45:44 +0000 (0:00:00.031) 0:00:47.102 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 20:45:44 +0000 (0:00:00.032) 0:00:47.134 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 20:45:45 +0000 (0:00:00.832) 0:00:47.967 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 20:45:46 +0000 (0:00:00.688) 0:00:48.655 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 20:45:46 +0000 (0:00:00.046) 0:00:48.702 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 20:45:46 +0000 (0:00:00.045) 0:00:48.747 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 20:45:46 +0000 (0:00:00.047) 0:00:48.794 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 20:45:46 +0000 (0:00:00.093) 0:00:48.888 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 20:45:46 +0000 (0:00:00.030) 0:00:48.918 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 20:45:46 +0000 (0:00:00.032) 0:00:48.951 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 20:45:46 +0000 (0:00:00.045) 0:00:48.997 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 20:45:46 +0000 (0:00:00.033) 0:00:49.030 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 20:45:46 +0000 (0:00:00.030) 0:00:49.061 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 20:45:47 +0000 (0:00:00.291) 0:00:49.352 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11086ms83ylle/tmpe1cmmlts" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 20:45:47 +0000 (0:00:00.294) 0:00:49.646 **** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 20:45:47 +0000 (0:00:00.245) 0:00:49.892 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 20:45:47 +0000 (0:00:00.033) 0:00:49.925 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 20:45:47 +0000 (0:00:00.032) 0:00:49.958 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 20:45:47 +0000 (0:00:00.034) 0:00:49.993 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 20:45:47 +0000 (0:00:00.029) 0:00:50.022 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 20:45:47 +0000 (0:00:00.157) 0:00:50.180 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 20:45:48 +0000 (0:00:00.041) 0:00:50.221 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 20:45:48 +0000 (0:00:00.039) 0:00:50.261 **** 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-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 20:45:48 +0000 (0:00:00.057) 0:00:50.318 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 20:45:48 +0000 (0:00:00.151) 0:00:50.470 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 20:45:48 +0000 (0:00:00.029) 0:00:50.499 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022253", "end": "2023-12-20 20:45:48.425760", "rc": 1, "start": "2023-12-20 20:45:48.403507" } 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-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 20:45:48 +0000 (0:00:00.163) 0:00:50.663 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 20:45:48 +0000 (0:00:00.029) 0:00:50.693 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 20:45:48 +0000 (0:00:00.033) 0:00:50.727 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 20:45:48 +0000 (0:00:00.028) 0:00:50.755 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 20:45:48 +0000 (0:00:00.044) 0:00:50.800 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 20:45:48 +0000 (0:00:00.030) 0:00:50.830 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 20:45:48 +0000 (0:00:00.031) 0:00:50.862 **** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 20:45:48 +0000 (0:00:00.032) 0:00:50.894 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 20:45:48 +0000 (0:00:00.029) 0:00:50.923 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 20:45:48 +0000 (0:00:00.043) 0:00:50.967 **** 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.047315", "end": "2023-12-20 20:45:48.919949", "rc": 0, "start": "2023-12-20 20:45:48.872634" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tests_states.yml:124 Wednesday 20 December 2023 20:45:48 +0000 (0:00:00.192) 0:00:51.160 **** included: /WORKDIR/git-skip_initscriptsatey4119/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-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 20:45:48 +0000 (0:00:00.040) 0:00:51.201 **** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 20:45:49 +0000 (0:00:00.029) 0:00:51.231 **** 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-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 20:45:49 +0000 (0:00:00.058) 0:00:51.289 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 20:45:49 +0000 (0:00:00.072) 0:00:51.361 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 20:45:49 +0000 (0:00:00.061) 0:00:51.423 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003974", "end": "2023-12-20 20:45:49.330085", "rc": 0, "start": "2023-12-20 20:45:49.326111" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 20:45:49 +0000 (0:00:00.145) 0:00:51.568 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 20:45:49 +0000 (0:00:00.029) 0:00:51.597 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 20:45:49 +0000 (0:00:00.029) 0:00:51.626 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 20:45:49 +0000 (0:00:00.046) 0:00:51.673 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 20:45:49 +0000 (0:00:00.047) 0:00:51.720 **** included: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:45:49 +0000 (0:00:00.045) 0:00:51.766 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 20:45:49 +0000 (0:00:00.032) 0:00:51.798 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 20:45:49 +0000 (0:00:00.029) 0:00:51.828 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 20:45:49 +0000 (0:00:00.028) 0:00:51.856 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 20:45:50 +0000 (0:00:00.833) 0:00:52.690 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 20:45:51 +0000 (0:00:00.762) 0:00:53.452 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 20:45:51 +0000 (0:00:00.042) 0:00:53.495 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 20:45:51 +0000 (0:00:00.029) 0:00:53.525 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 20:45:51 +0000 (0:00:00.029) 0:00:53.554 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 20:45:51 +0000 (0:00:00.050) 0:00:53.604 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 20:45:51 +0000 (0:00:00.029) 0:00:53.633 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 20:45:51 +0000 (0:00:00.028) 0:00:53.662 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 20:45:51 +0000 (0:00:00.034) 0:00:53.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 [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 20:45:51 +0000 (0:00:00.029) 0:00:53.726 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 20:45:51 +0000 (0:00:00.026) 0:00:53.752 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 20:45:51 +0000 (0:00:00.248) 0:00:54.001 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11086ms83ylle/tmp3m2a7e3w" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 20:45:52 +0000 (0:00:00.220) 0:00:54.222 **** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 20:45:52 +0000 (0:00:00.233) 0:00:54.455 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 20:45:52 +0000 (0:00:00.028) 0:00:54.484 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 20:45:52 +0000 (0:00:00.030) 0:00:54.515 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 20:45:52 +0000 (0:00:00.029) 0:00:54.545 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 20:45:52 +0000 (0:00:00.027) 0:00:54.572 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 20:45:52 +0000 (0:00:00.145) 0:00:54.718 **** 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-skip_initscriptsatey4119/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 20:45:52 +0000 (0:00:00.064) 0:00:54.783 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 20:45:52 +0000 (0:00:00.047) 0:00:54.830 **** included: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:45:52 +0000 (0:00:00.045) 0:00:54.876 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 20:45:52 +0000 (0:00:00.035) 0:00:54.911 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 20:45:52 +0000 (0:00:00.030) 0:00:54.941 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 20:45:52 +0000 (0:00:00.029) 0:00:54.971 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 20:45:53 +0000 (0:00:00.828) 0:00:55.799 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 20:45:54 +0000 (0:00:00.681) 0:00:56.481 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 20:45:54 +0000 (0:00:00.032) 0:00:56.514 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 20:45:54 +0000 (0:00:00.029) 0:00:56.543 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 20:45:54 +0000 (0:00:00.033) 0:00:56.577 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 20:45:54 +0000 (0:00:00.053) 0:00:56.630 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 20:45:54 +0000 (0:00:00.030) 0:00:56.660 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 20:45:54 +0000 (0:00:00.028) 0:00:56.689 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 20:45:54 +0000 (0:00:00.066) 0:00:56.756 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 20:45:54 +0000 (0:00:00.030) 0:00:56.786 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 20:45:54 +0000 (0:00:00.031) 0:00:56.818 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 20:45:54 +0000 (0:00:00.250) 0:00:57.068 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11086ms83ylle/tmpmwvjril7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 20:45:55 +0000 (0:00:00.226) 0:00:57.294 **** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 20:45:55 +0000 (0:00:00.477) 0:00:57.772 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 20:45:55 +0000 (0:00:00.030) 0:00:57.802 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 20:45:55 +0000 (0:00:00.030) 0:00:57.832 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 20:45:55 +0000 (0:00:00.029) 0:00:57.862 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 20:45:55 +0000 (0:00:00.029) 0:00:57.891 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 20:45:55 +0000 (0:00:00.149) 0:00:58.040 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 20:45:55 +0000 (0:00:00.048) 0:00:58.089 **** included: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:45:55 +0000 (0:00:00.046) 0:00:58.135 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 20:45:55 +0000 (0:00:00.031) 0:00:58.166 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 20:45:55 +0000 (0:00:00.028) 0:00:58.195 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 20:45:56 +0000 (0:00:00.027) 0:00:58.223 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 20:45:56 +0000 (0:00:00.899) 0:00:59.122 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 20:45:57 +0000 (0:00:00.685) 0:00:59.807 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 20:45:57 +0000 (0:00:00.029) 0:00:59.837 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 20:45:57 +0000 (0:00:00.028) 0:00:59.865 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 20:45:57 +0000 (0:00:00.029) 0:00:59.894 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 20:45:57 +0000 (0:00:00.050) 0:00:59.945 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 20:45:57 +0000 (0:00:00.029) 0:00:59.974 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 20:45:57 +0000 (0:00:00.028) 0:01:00.002 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 20:45:57 +0000 (0:00:00.033) 0:01:00.035 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 20:45:57 +0000 (0:00:00.029) 0:01:00.064 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 20:45:57 +0000 (0:00:00.027) 0:01:00.092 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 20:45:58 +0000 (0:00:00.249) 0:01:00.341 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11086ms83ylle/tmp0b2ao1pj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 20:45:58 +0000 (0:00:00.219) 0:01:00.561 **** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 20:45:58 +0000 (0:00:00.241) 0:01:00.802 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 20:45:58 +0000 (0:00:00.030) 0:01:00.832 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 20:45:58 +0000 (0:00:00.030) 0:01:00.863 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 20:45:58 +0000 (0:00:00.029) 0:01:00.893 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 20:45:58 +0000 (0:00:00.062) 0:01:00.955 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 20:45:58 +0000 (0:00:00.149) 0:01:01.104 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 20:45:58 +0000 (0:00:00.042) 0:01:01.147 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 20 December 2023 20:45:58 +0000 (0:00:00.049) 0:01:01.196 **** included: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 20 December 2023 20:45:59 +0000 (0:00:00.043) 0:01:01.240 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 20 December 2023 20:45:59 +0000 (0:00:00.031) 0:01:01.271 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 20 December 2023 20:45:59 +0000 (0:00:00.030) 0:01:01.302 **** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 20 December 2023 20:45:59 +0000 (0:00:00.028) 0:01:01.331 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 20 December 2023 20:45:59 +0000 (0:00:00.826) 0:01:02.157 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 20 December 2023 20:46:00 +0000 (0:00:00.681) 0:01:02.839 **** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 20 December 2023 20:46:00 +0000 (0:00:00.029) 0:01:02.868 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 20 December 2023 20:46:00 +0000 (0:00:00.029) 0:01:02.897 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 20 December 2023 20:46:00 +0000 (0:00:00.098) 0:01:02.996 **** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 20 December 2023 20:46:00 +0000 (0:00:00.052) 0:01:03.048 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Wednesday 20 December 2023 20:46:00 +0000 (0:00:00.028) 0:01:03.077 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Wednesday 20 December 2023 20:46:00 +0000 (0:00:00.029) 0:01:03.106 **** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Wednesday 20 December 2023 20:46:00 +0000 (0:00:00.036) 0:01:03.143 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Wednesday 20 December 2023 20:46:00 +0000 (0:00:00.032) 0:01:03.175 **** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Wednesday 20 December 2023 20:46:00 +0000 (0:00:00.027) 0:01:03.202 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Wednesday 20 December 2023 20:46:01 +0000 (0:00:00.258) 0:01:03.461 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11086ms83ylle/tmpiuqp9776" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 20 December 2023 20:46:01 +0000 (0:00:00.226) 0:01:03.687 **** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Wednesday 20 December 2023 20:46:01 +0000 (0:00:00.238) 0:01:03.925 **** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Wednesday 20 December 2023 20:46:01 +0000 (0:00:00.029) 0:01:03.955 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Wednesday 20 December 2023 20:46:01 +0000 (0:00:00.029) 0:01:03.984 **** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Wednesday 20 December 2023 20:46:01 +0000 (0:00:00.030) 0:01:04.015 **** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 20 December 2023 20:46:01 +0000 (0:00:00.029) 0:01:04.044 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 20:46:01 +0000 (0:00:00.151) 0:01:04.195 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 20:46:02 +0000 (0:00:00.046) 0:01:04.241 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 20:46:02 +0000 (0:00:00.069) 0:01:04.311 **** 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-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 20:46:02 +0000 (0:00:00.028) 0:01:04.340 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 20:46:02 +0000 (0:00:00.141) 0:01:04.481 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 20:46:02 +0000 (0:00:00.027) 0:01:04.508 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023011", "end": "2023-12-20 20:46:02.435581", "rc": 1, "start": "2023-12-20 20:46:02.412570" } 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-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 20:46:02 +0000 (0:00:00.165) 0:01:04.673 **** skipping: [sut] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 20:46:02 +0000 (0:00:00.027) 0:01:04.701 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 20:46:02 +0000 (0:00:00.026) 0:01:04.727 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 20:46:02 +0000 (0:00:00.026) 0:01:04.754 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 20:46:02 +0000 (0:00:00.026) 0:01:04.781 **** skipping: [sut] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 20:46:02 +0000 (0:00:00.026) 0:01:04.807 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 20 December 2023 20:46:02 +0000 (0:00:00.030) 0:01:04.838 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.404882", "end": "2023-12-20 20:46:03.146783", "rc": 0, "start": "2023-12-20 20:46:02.741901" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 20 December 2023 20:46:03 +0000 (0:00:00.547) 0:01:05.386 **** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 20 December 2023 20:46:03 +0000 (0:00:00.028) 0:01:05.415 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 20:46:03 +0000 (0:00:00.028) 0:01:05.443 **** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 20:46:03 +0000 (0:00:00.029) 0:01:05.473 **** 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-skip_initscriptsatey4119/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 20:46:03 +0000 (0:00:00.028) 0:01:05.502 **** included: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-skip_initscriptsatey4119/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 20:46:03 +0000 (0:00:00.042) 0:01:05.545 **** 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.050386", "end": "2023-12-20 20:46:03.499000", "rc": 0, "start": "2023-12-20 20:46:03.448614" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. PLAY RECAP ********************************************************************* sut : ok=335 changed=14 unreachable=0 failed=0 skipped=224 rescued=0 ignored=10 Wednesday 20 December 2023 20:46:03 +0000 (0:00:00.254) 0:01:05.799 **** =============================================================================== fedora.linux_system_roles.network : Install packages -------------------- 2.48s /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 0.98s /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.90s /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.89s /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.86s /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.85s /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.85s /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.84s /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 0.84s /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.83s /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.83s /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.83s /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.83s /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.83s /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.83s /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.83s /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.83s /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.76s /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 0.76s /WORKDIR/git-skip_initscriptsatey4119/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-skip_initscriptsatey4119/tests/tests_states_initscripts.yml:4 ---- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---