# 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-code_refactorx95r6s3q/.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-code_refactorx95r6s3q/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tests_states_initscripts.yml:4 Thursday 30 November 2023 18:42:46 +0000 (0:00:00.017) 0:00:00.017 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tests_states_initscripts.yml:8 Thursday 30 November 2023 18:42:47 +0000 (0:00:00.774) 0:00:00.792 ***** included: /WORKDIR/git-code_refactorx95r6s3q/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-code_refactorx95r6s3q/tests/tasks/el_repo_setup.yml:3 Thursday 30 November 2023 18:42:47 +0000 (0:00:00.014) 0:00:00.806 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/el_repo_setup.yml:17 Thursday 30 November 2023 18:42:47 +0000 (0:00:00.239) 0:00:01.045 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/el_repo_setup.yml:22 Thursday 30 November 2023 18:42:47 +0000 (0:00:00.218) 0:00:01.264 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/el_repo_setup.yml:26 Thursday 30 November 2023 18:42:47 +0000 (0:00:00.017) 0:00:01.281 ***** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/el_repo_setup.yml:51 Thursday 30 November 2023 18:42:47 +0000 (0:00:00.012) 0:00:01.294 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/enable_epel.yml:8 Thursday 30 November 2023 18:42:47 +0000 (0:00:00.026) 0:00:01.320 ***** 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-code_refactorx95r6s3q/tests/tasks/enable_epel.yml:24 Thursday 30 November 2023 18:42:48 +0000 (0:00:00.209) 0:00:01.530 ***** 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-code_refactorx95r6s3q/tests/tasks/enable_epel.yml:30 Thursday 30 November 2023 18:42:48 +0000 (0:00:00.447) 0:00:01.977 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.177408", "end": "2023-11-30 18:42:48.787667", "rc": 0, "start": "2023-11-30 18:42:48.610259" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/tasks/enable_epel.yml:35 Thursday 30 November 2023 18:42:48 +0000 (0:00:00.307) 0:00:02.285 ***** 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-code_refactorx95r6s3q/tests/tasks/enable_epel.yml:40 Thursday 30 November 2023 18:42:48 +0000 (0:00:00.010) 0:00:02.296 ***** 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-code_refactorx95r6s3q/tests/tests_states_initscripts.yml:10 Thursday 30 November 2023 18:42:48 +0000 (0:00:00.009) 0:00:02.306 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tests_states.yml:3 Thursday 30 November 2023 18:42:48 +0000 (0:00:00.019) 0:00:02.325 ***** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tests_states.yml:11 Thursday 30 November 2023 18:42:49 +0000 (0:00:00.533) 0:00:02.859 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tests_states.yml:22 Thursday 30 November 2023 18:42:49 +0000 (0:00:00.025) 0:00:02.884 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:5 Thursday 30 November 2023 18:42:49 +0000 (0:00:00.030) 0:00:02.915 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:9 Thursday 30 November 2023 18:42:49 +0000 (0:00:00.023) 0:00:02.939 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:21 Thursday 30 November 2023 18:42:49 +0000 (0:00:00.057) 0:00:02.996 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:42:49 +0000 (0:00:00.027) 0:00:03.023 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:42:49 +0000 (0:00:00.026) 0:00:03.050 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003851", "end": "2023-11-30 18:42:49.700207", "rc": 0, "start": "2023-11-30 18:42:49.696356" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:42:49 +0000 (0:00:00.153) 0:00:03.203 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:42:49 +0000 (0:00:00.035) 0:00:03.239 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:24 Thursday 30 November 2023 18:42:49 +0000 (0:00:00.025) 0:00:03.265 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-code_refactorx95r6s3q/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-code_refactorx95r6s3q/tests/playbooks/tasks/delete_interface.yml:3 Thursday 30 November 2023 18:42:49 +0000 (0:00:00.044) 0:00:03.309 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011047", "end": "2023-11-30 18:42:49.969567", "rc": 1, "start": "2023-11-30 18:42:49.958520" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 30 November 2023 18:42:49 +0000 (0:00:00.157) 0:00:03.466 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:42:50 +0000 (0:00:00.031) 0:00:03.498 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 30 November 2023 18:42:50 +0000 (0:00:00.143) 0:00:03.642 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:30 Thursday 30 November 2023 18:42:50 +0000 (0:00:00.030) 0:00:03.673 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 30 November 2023 18:42:50 +0000 (0:00:00.032) 0:00:03.705 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:42:50 +0000 (0:00:00.058) 0:00:03.764 ***** included: /WORKDIR/git-code_refactorx95r6s3q/.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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:42:50 +0000 (0:00:00.055) 0:00:03.820 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:42:50 +0000 (0:00:00.038) 0:00:03.858 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:42:50 +0000 (0:00:00.029) 0:00:03.887 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:42:50 +0000 (0:00:00.028) 0:00:03.916 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:42:51 +0000 (0:00:00.937) 0:00:04.853 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:42:52 +0000 (0:00:01.204) 0:00:06.057 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:42:52 +0000 (0:00:00.041) 0:00:06.099 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:42:52 +0000 (0:00:00.034) 0:00:06.133 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:42:52 +0000 (0:00:00.041) 0:00:06.175 ***** changed: [sut] => { "changed": true, "changes": { "installed": [ "bridge-utils" ] }, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7.centos.1.x86_64 providing dhclient is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:42:54 +0000 (0:00:02.282) 0:00:08.457 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:42:55 +0000 (0:00:00.041) 0:00:08.499 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:42:55 +0000 (0:00:00.038) 0:00:08.537 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:42:55 +0000 (0:00:00.046) 0:00:08.584 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:42:55 +0000 (0:00:00.038) 0:00:08.622 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:42:55 +0000 (0:00:00.050) 0:00:08.672 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:42:55 +0000 (0:00:00.477) 0:00:09.150 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10794cufbc2bs/tmp4mhbed94" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:42:55 +0000 (0:00:00.238) 0:00:09.388 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:42:56 +0000 (0:00:00.438) 0:00:09.827 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:42:56 +0000 (0:00:00.047) 0:00:09.874 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:42:56 +0000 (0:00:00.043) 0:00:09.918 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:42:56 +0000 (0:00:00.045) 0:00:09.963 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:42:56 +0000 (0:00:00.054) 0:00:10.018 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 30 November 2023 18:42:56 +0000 (0:00:00.260) 0:00:10.279 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:36 Thursday 30 November 2023 18:42:56 +0000 (0:00:00.046) 0:00:10.325 ***** included: /WORKDIR/git-code_refactorx95r6s3q/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-code_refactorx95r6s3q/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 18:42:56 +0000 (0:00:00.065) 0:00:10.390 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 18:42:56 +0000 (0:00:00.049) 0:00:10.439 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 18:42:56 +0000 (0:00:00.033) 0:00:10.473 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369776.3116932, "block_size": 4096, "blocks": 8, "ctime": 1701369776.3116932, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701369776.3116932, "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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 18:42:57 +0000 (0:00:00.161) 0:00:10.634 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 18:42:57 +0000 (0:00:00.049) 0:00:10.684 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025785", "end": "2023-11-30 18:42:57.355888", "rc": 1, "start": "2023-11-30 18:42:57.330103" } 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 18:42:57 +0000 (0:00:00.185) 0:00:10.869 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 18:42:57 +0000 (0:00:00.110) 0:00:10.979 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003840", "end": "2023-11-30 18:42:57.633706", "rc": 0, "start": "2023-11-30 18:42:57.629866" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 18:42:57 +0000 (0:00:00.164) 0:00:11.144 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 18:42:57 +0000 (0:00:00.038) 0:00:11.182 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003617", "end": "2023-11-30 18:42:57.830926", "rc": 0, "start": "2023-11-30 18:42:57.827309" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 18:42:57 +0000 (0:00:00.161) 0:00:11.344 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 18:42:57 +0000 (0:00:00.045) 0:00:11.389 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 18:42:57 +0000 (0:00:00.050) 0:00:11.440 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 18:42:58 +0000 (0:00:00.056) 0:00:11.496 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:42 Thursday 30 November 2023 18:42:58 +0000 (0:00:00.045) 0:00:11.542 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:47 Thursday 30 November 2023 18:42:58 +0000 (0:00:00.049) 0:00:11.592 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:66 Thursday 30 November 2023 18:42:58 +0000 (0:00:00.041) 0:00:11.633 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 30 November 2023 18:42:58 +0000 (0:00:00.067) 0:00:11.700 ***** 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.046800", "end": "2023-11-30 18:42:58.393183", "rc": 1, "start": "2023-11-30 18:42:58.346383" } 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-code_refactorx95r6s3q/tests/playbooks/tests_states.yml:45 Thursday 30 November 2023 18:42:58 +0000 (0:00:00.202) 0:00:11.902 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:5 Thursday 30 November 2023 18:42:58 +0000 (0:00:00.055) 0:00:11.958 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:9 Thursday 30 November 2023 18:42:58 +0000 (0:00:00.037) 0:00:11.996 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:21 Thursday 30 November 2023 18:42:58 +0000 (0:00:00.069) 0:00:12.066 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:42:58 +0000 (0:00:00.071) 0:00:12.137 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:42:58 +0000 (0:00:00.051) 0:00:12.188 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004290", "end": "2023-11-30 18:42:58.841430", "rc": 0, "start": "2023-11-30 18:42:58.837140" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:42:58 +0000 (0:00:00.169) 0:00:12.358 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:42:58 +0000 (0:00:00.048) 0:00:12.406 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:24 Thursday 30 November 2023 18:42:58 +0000 (0:00:00.036) 0:00:12.443 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-code_refactorx95r6s3q/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-code_refactorx95r6s3q/tests/playbooks/tasks/delete_interface.yml:3 Thursday 30 November 2023 18:42:59 +0000 (0:00:00.065) 0:00:12.509 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008554", "end": "2023-11-30 18:42:59.161887", "rc": 1, "start": "2023-11-30 18:42:59.153333" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 30 November 2023 18:42:59 +0000 (0:00:00.158) 0:00:12.668 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:42:59 +0000 (0:00:00.045) 0:00:12.713 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 30 November 2023 18:42:59 +0000 (0:00:00.159) 0:00:12.873 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:30 Thursday 30 November 2023 18:42:59 +0000 (0:00:00.040) 0:00:12.913 ***** included: /WORKDIR/git-code_refactorx95r6s3q/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-code_refactorx95r6s3q/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 30 November 2023 18:42:59 +0000 (0:00:00.055) 0:00:12.969 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:42:59 +0000 (0:00:00.056) 0:00:13.025 ***** included: /WORKDIR/git-code_refactorx95r6s3q/.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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:42:59 +0000 (0:00:00.068) 0:00:13.093 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:42:59 +0000 (0:00:00.126) 0:00:13.220 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:42:59 +0000 (0:00:00.040) 0:00:13.260 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:42:59 +0000 (0:00:00.051) 0:00:13.312 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:43:00 +0000 (0:00:00.788) 0:00:14.101 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:43:01 +0000 (0:00:00.992) 0:00:15.093 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:43:01 +0000 (0:00:00.051) 0:00:15.145 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:43:01 +0000 (0:00:00.048) 0:00:15.194 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:43:01 +0000 (0:00:00.036) 0:00:15.231 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:43:01 +0000 (0:00:00.065) 0:00:15.296 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:43:01 +0000 (0:00:00.036) 0:00:15.332 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:43:01 +0000 (0:00:00.044) 0:00:15.377 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:43:01 +0000 (0:00:00.062) 0:00:15.439 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:43:02 +0000 (0:00:00.045) 0:00:15.484 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:43:02 +0000 (0:00:00.040) 0:00:15.525 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:43:02 +0000 (0:00:00.278) 0:00:15.803 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10794cufbc2bs/tmpqse1xi56" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:43:02 +0000 (0:00:00.232) 0:00:16.036 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:43:02 +0000 (0:00:00.356) 0:00:16.392 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:43:02 +0000 (0:00:00.047) 0:00:16.439 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:43:02 +0000 (0:00:00.041) 0:00:16.481 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:43:03 +0000 (0:00:00.042) 0:00:16.523 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:43:03 +0000 (0:00:00.054) 0:00:16.578 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 30 November 2023 18:43:03 +0000 (0:00:00.165) 0:00:16.743 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:36 Thursday 30 November 2023 18:43:03 +0000 (0:00:00.036) 0:00:16.780 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-code_refactorx95r6s3q/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-code_refactorx95r6s3q/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 30 November 2023 18:43:03 +0000 (0:00:00.056) 0:00:16.836 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:43:03 +0000 (0:00:00.048) 0:00:16.884 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 30 November 2023 18:43:03 +0000 (0:00:00.149) 0:00:17.034 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 18:43:03 +0000 (0:00:00.039) 0:00:17.073 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 18:43:03 +0000 (0:00:00.058) 0:00:17.131 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 18:43:03 +0000 (0:00:00.040) 0:00:17.172 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369782.8326366, "block_size": 4096, "blocks": 8, "ctime": 1701369782.8326366, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25383, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701369782.8326366, "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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 18:43:03 +0000 (0:00:00.163) 0:00:17.335 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 18:43:03 +0000 (0:00:00.040) 0:00:17.376 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021445", "end": "2023-11-30 18:43:04.051289", "rc": 1, "start": "2023-11-30 18:43:04.029844" } 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 18:43:04 +0000 (0:00:00.209) 0:00:17.585 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 18:43:04 +0000 (0:00:00.037) 0:00:17.623 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003531", "end": "2023-11-30 18:43:04.269396", "rc": 0, "start": "2023-11-30 18:43:04.265865" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 18:43:04 +0000 (0:00:00.160) 0:00:17.783 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 18:43:04 +0000 (0:00:00.047) 0:00:17.831 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003662", "end": "2023-11-30 18:43:04.477646", "rc": 0, "start": "2023-11-30 18:43:04.473984" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 18:43:04 +0000 (0:00:00.161) 0:00:17.992 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 18:43:04 +0000 (0:00:00.049) 0:00:18.042 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 18:43:04 +0000 (0:00:00.054) 0:00:18.097 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 18:43:04 +0000 (0:00:00.076) 0:00:18.173 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:42 Thursday 30 November 2023 18:43:04 +0000 (0:00:00.056) 0:00:18.230 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:47 Thursday 30 November 2023 18:43:04 +0000 (0:00:00.037) 0:00:18.267 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:66 Thursday 30 November 2023 18:43:04 +0000 (0:00:00.042) 0:00:18.310 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 30 November 2023 18:43:04 +0000 (0:00:00.063) 0:00:18.374 ***** 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.042268", "end": "2023-11-30 18:43:05.069620", "rc": 1, "start": "2023-11-30 18:43:05.027352" } 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-code_refactorx95r6s3q/tests/playbooks/tests_states.yml:65 Thursday 30 November 2023 18:43:05 +0000 (0:00:00.214) 0:00:18.588 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:5 Thursday 30 November 2023 18:43:05 +0000 (0:00:00.068) 0:00:18.657 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:9 Thursday 30 November 2023 18:43:05 +0000 (0:00:00.054) 0:00:18.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-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:21 Thursday 30 November 2023 18:43:05 +0000 (0:00:00.108) 0:00:18.820 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:43:05 +0000 (0:00:00.095) 0:00:18.916 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:43:05 +0000 (0:00:00.062) 0:00:18.978 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003817", "end": "2023-11-30 18:43:05.622486", "rc": 0, "start": "2023-11-30 18:43:05.618669" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:43:05 +0000 (0:00:00.160) 0:00:19.138 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:43:05 +0000 (0:00:00.052) 0:00:19.191 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:24 Thursday 30 November 2023 18:43:05 +0000 (0:00:00.059) 0:00:19.250 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 30 November 2023 18:43:05 +0000 (0:00:00.091) 0:00:19.342 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:43:05 +0000 (0:00:00.086) 0:00:19.428 ***** included: /WORKDIR/git-code_refactorx95r6s3q/.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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:43:06 +0000 (0:00:00.087) 0:00:19.516 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:43:06 +0000 (0:00:00.080) 0:00:19.596 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:43:06 +0000 (0:00:00.049) 0:00:19.645 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:43:06 +0000 (0:00:00.043) 0:00:19.689 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:43:06 +0000 (0:00:00.783) 0:00:20.473 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:43:08 +0000 (0:00:01.045) 0:00:21.519 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:43:08 +0000 (0:00:00.038) 0:00:21.557 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:43:08 +0000 (0:00:00.035) 0:00:21.593 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:43:08 +0000 (0:00:00.047) 0:00:21.641 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:43:08 +0000 (0:00:00.097) 0:00:21.738 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:43:08 +0000 (0:00:00.052) 0:00:21.791 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:43:08 +0000 (0:00:00.046) 0:00:21.837 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:43:08 +0000 (0:00:00.057) 0:00:21.895 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:43:08 +0000 (0:00:00.050) 0:00:21.945 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:43:08 +0000 (0:00:00.049) 0:00:21.994 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:43:08 +0000 (0:00:00.284) 0:00:22.279 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10794cufbc2bs/tmpgcw_6_o4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:43:09 +0000 (0:00:00.254) 0:00:22.533 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:43:09 +0000 (0:00:00.260) 0:00:22.794 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:43:09 +0000 (0:00:00.040) 0:00:22.834 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:43:09 +0000 (0:00:00.043) 0:00:22.877 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:43:09 +0000 (0:00:00.043) 0:00:22.921 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:43:09 +0000 (0:00:00.043) 0:00:22.965 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 30 November 2023 18:43:09 +0000 (0:00:00.230) 0:00:23.195 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:30 Thursday 30 November 2023 18:43:09 +0000 (0:00:00.052) 0:00:23.248 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/activate_profile.yml:3 Thursday 30 November 2023 18:43:09 +0000 (0:00:00.062) 0:00:23.311 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:43:09 +0000 (0:00:00.061) 0:00:23.373 ***** included: /WORKDIR/git-code_refactorx95r6s3q/.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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:43:09 +0000 (0:00:00.059) 0:00:23.433 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:43:09 +0000 (0:00:00.045) 0:00:23.479 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:43:10 +0000 (0:00:00.036) 0:00:23.516 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:43:10 +0000 (0:00:00.040) 0:00:23.556 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:43:10 +0000 (0:00:00.765) 0:00:24.322 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:43:11 +0000 (0:00:01.022) 0:00:25.344 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:43:11 +0000 (0:00:00.054) 0:00:25.399 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:43:11 +0000 (0:00:00.052) 0:00:25.452 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:43:12 +0000 (0:00:00.052) 0:00:25.505 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:43:12 +0000 (0:00:00.150) 0:00:25.655 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:43:12 +0000 (0:00:00.042) 0:00:25.698 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:43:12 +0000 (0:00:00.041) 0:00:25.739 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:43:12 +0000 (0:00:00.061) 0:00:25.801 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:43:12 +0000 (0:00:00.047) 0:00:25.848 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:43:12 +0000 (0:00:00.043) 0:00:25.892 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:43:12 +0000 (0:00:00.293) 0:00:26.186 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10794cufbc2bs/tmp8nk196cs" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:43:12 +0000 (0:00:00.248) 0:00:26.434 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:43:13 +0000 (0:00:00.536) 0:00:26.971 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:43:13 +0000 (0:00:00.070) 0:00:27.041 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:43:13 +0000 (0:00:00.056) 0:00:27.098 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:43:13 +0000 (0:00:00.081) 0:00:27.179 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:43:13 +0000 (0:00:00.049) 0:00:27.228 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:36 Thursday 30 November 2023 18:43:13 +0000 (0:00:00.198) 0:00:27.426 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-code_refactorx95r6s3q/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-code_refactorx95r6s3q/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:43:14 +0000 (0:00:00.078) 0:00:27.505 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:43:14 +0000 (0:00:00.065) 0:00:27.570 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369793.3605256, "block_size": 4096, "blocks": 0, "ctime": 1701369793.3565257, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17626, "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": 1701369793.3565257, "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-code_refactorx95r6s3q/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:43:14 +0000 (0:00:00.218) 0:00:27.789 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 30 November 2023 18:43:14 +0000 (0:00:00.053) 0:00:27.842 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 18:43:14 +0000 (0:00:00.073) 0:00:27.915 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 18:43:14 +0000 (0:00:00.048) 0:00:27.964 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369793.1805277, "block_size": 4096, "blocks": 8, "ctime": 1701369789.2755694, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701369789.2755694, "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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 18:43:14 +0000 (0:00:00.155) 0:00:28.119 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 18:43:14 +0000 (0:00:00.034) 0:00:28.154 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022832", "end": "2023-11-30 18:43:14.818994", "rc": 1, "start": "2023-11-30 18:43:14.796162" } 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 18:43:14 +0000 (0:00:00.174) 0:00:28.329 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 18:43:14 +0000 (0:00:00.044) 0:00:28.373 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003453", "end": "2023-11-30 18:43:15.025132", "rc": 0, "start": "2023-11-30 18:43:15.021679" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 18:43:15 +0000 (0:00:00.167) 0:00:28.541 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 18:43:15 +0000 (0:00:00.049) 0:00:28.591 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003413", "end": "2023-11-30 18:43:15.243414", "rc": 0, "start": "2023-11-30 18:43:15.240001" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 18:43:15 +0000 (0:00:00.169) 0:00:28.761 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 30 November 2023 18:43:15 +0000 (0:00:00.056) 0:00:28.817 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 30 November 2023 18:43:15 +0000 (0:00:00.046) 0:00:28.864 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 30 November 2023 18:43:15 +0000 (0:00:00.061) 0:00:28.926 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:42 Thursday 30 November 2023 18:43:15 +0000 (0:00:00.058) 0:00:28.984 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:47 Thursday 30 November 2023 18:43:15 +0000 (0:00:00.040) 0:00:29.025 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:66 Thursday 30 November 2023 18:43:15 +0000 (0:00:00.049) 0:00:29.074 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 30 November 2023 18:43:15 +0000 (0:00:00.109) 0:00:29.184 ***** 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.049023", "end": "2023-11-30 18:43:15.879103", "rc": 0, "start": "2023-11-30 18:43:15.830080" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tests_states.yml:83 Thursday 30 November 2023 18:43:15 +0000 (0:00:00.203) 0:00:29.387 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:5 Thursday 30 November 2023 18:43:15 +0000 (0:00:00.062) 0:00:29.450 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:9 Thursday 30 November 2023 18:43:16 +0000 (0:00:00.047) 0:00:29.497 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:21 Thursday 30 November 2023 18:43:16 +0000 (0:00:00.086) 0:00:29.584 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:43:16 +0000 (0:00:00.071) 0:00:29.655 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:43:16 +0000 (0:00:00.060) 0:00:29.716 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003626", "end": "2023-11-30 18:43:16.362676", "rc": 0, "start": "2023-11-30 18:43:16.359050" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:43:16 +0000 (0:00:00.154) 0:00:29.870 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:43:16 +0000 (0:00:00.040) 0:00:29.911 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:24 Thursday 30 November 2023 18:43:16 +0000 (0:00:00.040) 0:00:29.951 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 30 November 2023 18:43:16 +0000 (0:00:00.059) 0:00:30.010 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:43:16 +0000 (0:00:00.071) 0:00:30.082 ***** included: /WORKDIR/git-code_refactorx95r6s3q/.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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:43:16 +0000 (0:00:00.091) 0:00:30.174 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:43:16 +0000 (0:00:00.052) 0:00:30.226 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:43:16 +0000 (0:00:00.049) 0:00:30.276 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:43:16 +0000 (0:00:00.037) 0:00:30.314 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:43:17 +0000 (0:00:00.764) 0:00:31.078 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:43:18 +0000 (0:00:00.983) 0:00:32.062 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:43:18 +0000 (0:00:00.050) 0:00:32.112 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:43:18 +0000 (0:00:00.046) 0:00:32.159 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:43:18 +0000 (0:00:00.050) 0:00:32.210 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:43:18 +0000 (0:00:00.076) 0:00:32.286 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:43:18 +0000 (0:00:00.051) 0:00:32.338 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:43:18 +0000 (0:00:00.047) 0:00:32.385 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:43:18 +0000 (0:00:00.049) 0:00:32.434 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:43:19 +0000 (0:00:00.048) 0:00:32.483 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:43:19 +0000 (0:00:00.046) 0:00:32.530 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:43:19 +0000 (0:00:00.284) 0:00:32.814 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10794cufbc2bs/tmpmjahvfej" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:43:19 +0000 (0:00:00.295) 0:00:33.109 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:43:19 +0000 (0:00:00.280) 0:00:33.390 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:43:19 +0000 (0:00:00.056) 0:00:33.446 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:43:20 +0000 (0:00:00.055) 0:00:33.501 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:43:20 +0000 (0:00:00.054) 0:00:33.556 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:43:20 +0000 (0:00:00.063) 0:00:33.619 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 30 November 2023 18:43:20 +0000 (0:00:00.173) 0:00:33.793 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/activate_profile.yml:3 Thursday 30 November 2023 18:43:20 +0000 (0:00:00.041) 0:00:33.835 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:43:20 +0000 (0:00:00.082) 0:00:33.917 ***** included: /WORKDIR/git-code_refactorx95r6s3q/.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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:43:20 +0000 (0:00:00.092) 0:00:34.010 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:43:20 +0000 (0:00:00.049) 0:00:34.059 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:43:20 +0000 (0:00:00.040) 0:00:34.099 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:43:20 +0000 (0:00:00.039) 0:00:34.139 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:43:21 +0000 (0:00:00.775) 0:00:34.915 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:43:22 +0000 (0:00:01.113) 0:00:36.028 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:43:22 +0000 (0:00:00.049) 0:00:36.078 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:43:22 +0000 (0:00:00.051) 0:00:36.130 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:43:22 +0000 (0:00:00.053) 0:00:36.183 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:43:22 +0000 (0:00:00.114) 0:00:36.298 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:43:22 +0000 (0:00:00.047) 0:00:36.346 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:43:22 +0000 (0:00:00.056) 0:00:36.402 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:43:22 +0000 (0:00:00.062) 0:00:36.465 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:43:23 +0000 (0:00:00.051) 0:00:36.517 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:43:23 +0000 (0:00:00.045) 0:00:36.562 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:43:23 +0000 (0:00:00.298) 0:00:36.860 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10794cufbc2bs/tmp4fzm59us" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:43:23 +0000 (0:00:00.237) 0:00:37.097 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:43:24 +0000 (0:00:00.530) 0:00:37.628 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:43:24 +0000 (0:00:00.049) 0:00:37.678 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:43:24 +0000 (0:00:00.049) 0:00:37.727 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:43:24 +0000 (0:00:00.045) 0:00:37.772 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:43:24 +0000 (0:00:00.039) 0:00:37.812 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:30 Thursday 30 November 2023 18:43:24 +0000 (0:00:00.232) 0:00:38.044 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/remove_profile.yml:3 Thursday 30 November 2023 18:43:24 +0000 (0:00:00.065) 0:00:38.110 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:43:24 +0000 (0:00:00.072) 0:00:38.183 ***** included: /WORKDIR/git-code_refactorx95r6s3q/.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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:43:24 +0000 (0:00:00.059) 0:00:38.242 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:43:24 +0000 (0:00:00.055) 0:00:38.298 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:43:24 +0000 (0:00:00.049) 0:00:38.347 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:43:24 +0000 (0:00:00.043) 0:00:38.390 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:43:25 +0000 (0:00:00.770) 0:00:39.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 : Print network provider] ************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:43:26 +0000 (0:00:00.973) 0:00:40.135 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:43:26 +0000 (0:00:00.039) 0:00:40.175 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:43:26 +0000 (0:00:00.045) 0:00:40.220 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:43:26 +0000 (0:00:00.050) 0:00:40.271 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:43:26 +0000 (0:00:00.079) 0:00:40.350 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:43:26 +0000 (0:00:00.068) 0:00:40.419 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:43:26 +0000 (0:00:00.036) 0:00:40.456 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:43:27 +0000 (0:00:00.043) 0:00:40.499 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:43:27 +0000 (0:00:00.036) 0:00:40.535 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:43:27 +0000 (0:00:00.035) 0:00:40.570 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:43:27 +0000 (0:00:00.272) 0:00:40.843 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10794cufbc2bs/tmpmgrzg5c7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:43:27 +0000 (0:00:00.229) 0:00:41.072 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:43:27 +0000 (0:00:00.260) 0:00:41.333 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:43:27 +0000 (0:00:00.047) 0:00:41.381 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:43:27 +0000 (0:00:00.046) 0:00:41.428 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:43:27 +0000 (0:00:00.040) 0:00:41.468 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:43:28 +0000 (0:00:00.040) 0:00:41.509 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:36 Thursday 30 November 2023 18:43:28 +0000 (0:00:00.167) 0:00:41.676 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-code_refactorx95r6s3q/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-code_refactorx95r6s3q/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 30 November 2023 18:43:28 +0000 (0:00:00.084) 0:00:41.760 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 30 November 2023 18:43:28 +0000 (0:00:00.071) 0:00:41.831 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701369804.0384114, "block_size": 4096, "blocks": 0, "ctime": 1701369804.0374112, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17626, "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": 1701369804.0374112, "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-code_refactorx95r6s3q/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 30 November 2023 18:43:28 +0000 (0:00:00.152) 0:00:41.983 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 30 November 2023 18:43:28 +0000 (0:00:00.087) 0:00:42.071 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 18:43:28 +0000 (0:00:00.058) 0:00:42.129 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 18:43:28 +0000 (0:00:00.037) 0:00:42.167 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 18:43:28 +0000 (0:00:00.146) 0:00:42.313 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 18:43:28 +0000 (0:00:00.039) 0:00:42.352 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021201", "end": "2023-11-30 18:43:29.016358", "rc": 1, "start": "2023-11-30 18:43:28.995157" } 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 18:43:29 +0000 (0:00:00.173) 0:00:42.526 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 18:43:29 +0000 (0:00:00.040) 0:00:42.567 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 18:43:29 +0000 (0:00:00.037) 0:00:42.604 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 18:43:29 +0000 (0:00:00.035) 0:00:42.639 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 18:43:29 +0000 (0:00:00.036) 0:00:42.676 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 30 November 2023 18:43:29 +0000 (0:00:00.034) 0:00:42.711 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:42 Thursday 30 November 2023 18:43:29 +0000 (0:00:00.049) 0:00:42.760 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:47 Thursday 30 November 2023 18:43:29 +0000 (0:00:00.035) 0:00:42.795 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:66 Thursday 30 November 2023 18:43:29 +0000 (0:00:00.036) 0:00:42.832 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 30 November 2023 18:43:29 +0000 (0:00:00.072) 0:00:42.904 ***** 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.048614", "end": "2023-11-30 18:43:29.599301", "rc": 0, "start": "2023-11-30 18:43:29.550687" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tests_states.yml:102 Thursday 30 November 2023 18:43:29 +0000 (0:00:00.204) 0:00:43.109 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:5 Thursday 30 November 2023 18:43:29 +0000 (0:00:00.085) 0:00:43.194 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:9 Thursday 30 November 2023 18:43:29 +0000 (0:00:00.041) 0:00:43.236 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:21 Thursday 30 November 2023 18:43:29 +0000 (0:00:00.091) 0:00:43.328 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:43:29 +0000 (0:00:00.060) 0:00:43.389 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:43:29 +0000 (0:00:00.060) 0:00:43.449 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004961", "end": "2023-11-30 18:43:31.096147", "rc": 0, "start": "2023-11-30 18:43:30.091186" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:43:31 +0000 (0:00:01.164) 0:00:44.614 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:43:31 +0000 (0:00:00.048) 0:00:44.663 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:24 Thursday 30 November 2023 18:43:31 +0000 (0:00:00.039) 0:00:44.702 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 30 November 2023 18:43:31 +0000 (0:00:00.071) 0:00:44.773 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:43:31 +0000 (0:00:00.060) 0:00:44.834 ***** included: /WORKDIR/git-code_refactorx95r6s3q/.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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:43:31 +0000 (0:00:00.057) 0:00:44.891 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:43:31 +0000 (0:00:00.043) 0:00:44.935 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:43:31 +0000 (0:00:00.040) 0:00:44.975 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:43:31 +0000 (0:00:00.089) 0:00:45.064 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:43:32 +0000 (0:00:00.776) 0:00:45.841 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:43:33 +0000 (0:00:00.989) 0:00:46.831 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:43:33 +0000 (0:00:00.038) 0:00:46.870 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:43:33 +0000 (0:00:00.038) 0:00:46.909 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:43:33 +0000 (0:00:00.035) 0:00:46.944 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:43:33 +0000 (0:00:00.064) 0:00:47.009 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:43:33 +0000 (0:00:00.036) 0:00:47.045 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:43:33 +0000 (0:00:00.034) 0:00:47.079 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:43:33 +0000 (0:00:00.043) 0:00:47.123 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:43:33 +0000 (0:00:00.041) 0:00:47.165 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:43:33 +0000 (0:00:00.041) 0:00:47.206 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:43:33 +0000 (0:00:00.272) 0:00:47.478 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10794cufbc2bs/tmpe2xuz393" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:43:34 +0000 (0:00:00.231) 0:00:47.710 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:43:34 +0000 (0:00:00.300) 0:00:48.011 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:43:34 +0000 (0:00:00.048) 0:00:48.059 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:43:34 +0000 (0:00:00.085) 0:00:48.145 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:43:34 +0000 (0:00:00.050) 0:00:48.195 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:43:34 +0000 (0:00:00.042) 0:00:48.237 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 30 November 2023 18:43:34 +0000 (0:00:00.164) 0:00:48.402 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/activate_profile.yml:3 Thursday 30 November 2023 18:43:34 +0000 (0:00:00.038) 0:00:48.440 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:43:35 +0000 (0:00:00.064) 0:00:48.504 ***** included: /WORKDIR/git-code_refactorx95r6s3q/.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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:43:35 +0000 (0:00:00.056) 0:00:48.561 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:43:35 +0000 (0:00:00.042) 0:00:48.604 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:43:35 +0000 (0:00:00.038) 0:00:48.642 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:43:35 +0000 (0:00:00.039) 0:00:48.682 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:43:35 +0000 (0:00:00.785) 0:00:49.468 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:43:36 +0000 (0:00:01.005) 0:00:50.473 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:43:37 +0000 (0:00:00.048) 0:00:50.521 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:43:37 +0000 (0:00:00.105) 0:00:50.626 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:43:37 +0000 (0:00:00.051) 0:00:50.678 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:43:37 +0000 (0:00:00.069) 0:00:50.747 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:43:37 +0000 (0:00:00.047) 0:00:50.795 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:43:37 +0000 (0:00:00.040) 0:00:50.836 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:43:37 +0000 (0:00:00.054) 0:00:50.891 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:43:37 +0000 (0:00:00.039) 0:00:50.930 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:43:37 +0000 (0:00:00.044) 0:00:50.975 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:43:37 +0000 (0:00:00.285) 0:00:51.260 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10794cufbc2bs/tmpsloyvt3p" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:43:38 +0000 (0:00:00.236) 0:00:51.497 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:43:38 +0000 (0:00:00.494) 0:00:51.992 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:43:38 +0000 (0:00:00.036) 0:00:52.028 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:43:38 +0000 (0:00:00.038) 0:00:52.066 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:43:38 +0000 (0:00:00.039) 0:00:52.106 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:43:38 +0000 (0:00:00.036) 0:00:52.142 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/remove_profile.yml:3 Thursday 30 November 2023 18:43:38 +0000 (0:00:00.168) 0:00:52.311 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:43:38 +0000 (0:00:00.098) 0:00:52.409 ***** included: /WORKDIR/git-code_refactorx95r6s3q/.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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:43:38 +0000 (0:00:00.060) 0:00:52.469 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:43:39 +0000 (0:00:00.044) 0:00:52.514 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:43:39 +0000 (0:00:00.041) 0:00:52.555 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:43:39 +0000 (0:00:00.039) 0:00:52.595 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:43:39 +0000 (0:00:00.766) 0:00:53.361 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:43:40 +0000 (0:00:00.994) 0:00:54.356 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:43:40 +0000 (0:00:00.042) 0:00:54.398 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:43:40 +0000 (0:00:00.041) 0:00:54.439 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:43:40 +0000 (0:00:00.041) 0:00:54.481 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:43:41 +0000 (0:00:00.078) 0:00:54.559 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:43:41 +0000 (0:00:00.044) 0:00:54.604 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:43:41 +0000 (0:00:00.048) 0:00:54.653 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:43:41 +0000 (0:00:00.052) 0:00:54.705 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:43:41 +0000 (0:00:00.036) 0:00:54.742 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:43:41 +0000 (0:00:00.082) 0:00:54.824 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:43:41 +0000 (0:00:00.283) 0:00:55.108 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10794cufbc2bs/tmp5upe7nw9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:43:41 +0000 (0:00:00.251) 0:00:55.359 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:43:42 +0000 (0:00:00.278) 0:00:55.638 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:43:42 +0000 (0:00:00.042) 0:00:55.681 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:43:42 +0000 (0:00:00.044) 0:00:55.725 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:43:42 +0000 (0:00:00.046) 0:00:55.772 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:43:42 +0000 (0:00:00.041) 0:00:55.813 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:30 Thursday 30 November 2023 18:43:42 +0000 (0:00:00.178) 0:00:55.992 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 30 November 2023 18:43:42 +0000 (0:00:00.062) 0:00:56.054 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:43:42 +0000 (0:00:00.076) 0:00:56.130 ***** included: /WORKDIR/git-code_refactorx95r6s3q/.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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:43:42 +0000 (0:00:00.076) 0:00:56.207 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:43:42 +0000 (0:00:00.053) 0:00:56.260 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:43:42 +0000 (0:00:00.055) 0:00:56.315 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:43:42 +0000 (0:00:00.083) 0:00:56.399 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:43:43 +0000 (0:00:00.791) 0:00:57.190 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:43:44 +0000 (0:00:00.995) 0:00:58.185 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:43:44 +0000 (0:00:00.041) 0:00:58.227 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:43:44 +0000 (0:00:00.039) 0:00:58.266 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:43:44 +0000 (0:00:00.040) 0:00:58.307 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:43:44 +0000 (0:00:00.076) 0:00:58.383 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:43:44 +0000 (0:00:00.048) 0:00:58.432 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:43:44 +0000 (0:00:00.044) 0:00:58.477 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:43:45 +0000 (0:00:00.054) 0:00:58.531 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:43:45 +0000 (0:00:00.053) 0:00:58.585 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:43:45 +0000 (0:00:00.047) 0:00:58.633 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:43:45 +0000 (0:00:00.343) 0:00:58.977 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10794cufbc2bs/tmpdta3j8_u" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:43:45 +0000 (0:00:00.232) 0:00:59.210 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:43:45 +0000 (0:00:00.269) 0:00:59.479 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:43:46 +0000 (0:00:00.037) 0:00:59.517 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:43:46 +0000 (0:00:00.035) 0:00:59.553 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:43:46 +0000 (0:00:00.096) 0:00:59.649 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:43:46 +0000 (0:00:00.048) 0:00:59.698 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:36 Thursday 30 November 2023 18:43:46 +0000 (0:00:00.162) 0:00:59.861 ***** included: /WORKDIR/git-code_refactorx95r6s3q/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-code_refactorx95r6s3q/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 30 November 2023 18:43:46 +0000 (0:00:00.060) 0:00:59.921 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 18:43:46 +0000 (0:00:00.065) 0:00:59.987 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 18:43:46 +0000 (0:00:00.044) 0:01:00.032 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 18:43:46 +0000 (0:00:00.154) 0:01:00.186 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 18:43:46 +0000 (0:00:00.045) 0:01:00.232 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022372", "end": "2023-11-30 18:43:46.900416", "rc": 1, "start": "2023-11-30 18:43:46.878044" } 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 18:43:46 +0000 (0:00:00.175) 0:01:00.407 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 18:43:46 +0000 (0:00:00.042) 0:01:00.450 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 18:43:47 +0000 (0:00:00.038) 0:01:00.488 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 18:43:47 +0000 (0:00:00.035) 0:01:00.524 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 18:43:47 +0000 (0:00:00.043) 0:01:00.567 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 30 November 2023 18:43:47 +0000 (0:00:00.037) 0:01:00.604 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:42 Thursday 30 November 2023 18:43:47 +0000 (0:00:00.039) 0:01:00.644 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:47 Thursday 30 November 2023 18:43:47 +0000 (0:00:00.050) 0:01:00.695 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:66 Thursday 30 November 2023 18:43:47 +0000 (0:00:00.139) 0:01:00.834 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 30 November 2023 18:43:47 +0000 (0:00:00.079) 0:01:00.914 ***** 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.046368", "end": "2023-11-30 18:43:47.616036", "rc": 0, "start": "2023-11-30 18:43:47.569668" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tests_states.yml:124 Thursday 30 November 2023 18:43:47 +0000 (0:00:00.214) 0:01:01.128 ***** included: /WORKDIR/git-code_refactorx95r6s3q/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-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:5 Thursday 30 November 2023 18:43:47 +0000 (0:00:00.057) 0:01:01.186 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:9 Thursday 30 November 2023 18:43:47 +0000 (0:00:00.038) 0:01:01.225 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:21 Thursday 30 November 2023 18:43:47 +0000 (0:00:00.068) 0:01:01.293 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 30 November 2023 18:43:47 +0000 (0:00:00.051) 0:01:01.345 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 30 November 2023 18:43:47 +0000 (0:00:00.046) 0:01:01.391 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003681", "end": "2023-11-30 18:43:48.035765", "rc": 0, "start": "2023-11-30 18:43:48.032084" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 30 November 2023 18:43:48 +0000 (0:00:00.153) 0:01:01.545 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 30 November 2023 18:43:48 +0000 (0:00:00.041) 0:01:01.587 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:24 Thursday 30 November 2023 18:43:48 +0000 (0:00:00.046) 0:01:01.634 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 30 November 2023 18:43:48 +0000 (0:00:00.070) 0:01:01.704 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:43:48 +0000 (0:00:00.101) 0:01:01.806 ***** included: /WORKDIR/git-code_refactorx95r6s3q/.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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:43:48 +0000 (0:00:00.058) 0:01:01.865 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:43:48 +0000 (0:00:00.043) 0:01:01.908 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:43:48 +0000 (0:00:00.037) 0:01:01.946 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:43:48 +0000 (0:00:00.043) 0:01:01.990 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:43:49 +0000 (0:00:00.763) 0:01:02.754 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:43:50 +0000 (0:00:00.986) 0:01:03.740 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:43:50 +0000 (0:00:00.052) 0:01:03.793 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:43:50 +0000 (0:00:00.052) 0:01:03.845 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:43:50 +0000 (0:00:00.045) 0:01:03.891 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:43:50 +0000 (0:00:00.097) 0:01:03.988 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:43:50 +0000 (0:00:00.053) 0:01:04.042 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:43:50 +0000 (0:00:00.051) 0:01:04.093 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:43:50 +0000 (0:00:00.058) 0:01:04.152 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:43:50 +0000 (0:00:00.042) 0:01:04.194 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:43:50 +0000 (0:00:00.102) 0:01:04.296 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:43:51 +0000 (0:00:00.278) 0:01:04.575 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10794cufbc2bs/tmppgvd47kr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:43:51 +0000 (0:00:00.237) 0:01:04.813 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:43:51 +0000 (0:00:00.248) 0:01:05.061 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:43:51 +0000 (0:00:00.037) 0:01:05.099 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:43:51 +0000 (0:00:00.038) 0:01:05.137 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:43:51 +0000 (0:00:00.036) 0:01:05.173 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:43:51 +0000 (0:00:00.039) 0:01:05.213 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 30 November 2023 18:43:51 +0000 (0:00:00.163) 0:01:05.376 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/activate_profile.yml:3 Thursday 30 November 2023 18:43:51 +0000 (0:00:00.042) 0:01:05.419 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:43:52 +0000 (0:00:00.065) 0:01:05.484 ***** included: /WORKDIR/git-code_refactorx95r6s3q/.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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:43:52 +0000 (0:00:00.065) 0:01:05.550 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:43:52 +0000 (0:00:00.053) 0:01:05.603 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:43:52 +0000 (0:00:00.055) 0:01:05.659 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:43:52 +0000 (0:00:00.047) 0:01:05.707 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:43:53 +0000 (0:00:00.838) 0:01:06.545 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:43:54 +0000 (0:00:00.988) 0:01:07.534 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:43:54 +0000 (0:00:00.036) 0:01:07.571 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:43:54 +0000 (0:00:00.035) 0:01:07.606 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:43:54 +0000 (0:00:00.036) 0:01:07.643 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:43:54 +0000 (0:00:00.082) 0:01:07.725 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:43:54 +0000 (0:00:00.056) 0:01:07.782 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:43:54 +0000 (0:00:00.048) 0:01:07.831 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:43:54 +0000 (0:00:00.049) 0:01:07.880 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:43:54 +0000 (0:00:00.042) 0:01:07.923 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:43:54 +0000 (0:00:00.042) 0:01:07.966 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:43:54 +0000 (0:00:00.289) 0:01:08.255 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10794cufbc2bs/tmphx_4nk98" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:43:55 +0000 (0:00:00.233) 0:01:08.488 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:43:55 +0000 (0:00:00.496) 0:01:08.985 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:43:55 +0000 (0:00:00.043) 0:01:09.029 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:43:55 +0000 (0:00:00.042) 0:01:09.072 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:43:55 +0000 (0:00:00.091) 0:01:09.163 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:43:55 +0000 (0:00:00.038) 0:01:09.202 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 30 November 2023 18:43:55 +0000 (0:00:00.172) 0:01:09.374 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:43:55 +0000 (0:00:00.073) 0:01:09.448 ***** included: /WORKDIR/git-code_refactorx95r6s3q/.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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:43:56 +0000 (0:00:00.063) 0:01:09.512 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:43:56 +0000 (0:00:00.041) 0:01:09.553 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:43:56 +0000 (0:00:00.035) 0:01:09.589 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:43:56 +0000 (0:00:00.037) 0:01:09.626 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:43:56 +0000 (0:00:00.767) 0:01:10.394 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:43:57 +0000 (0:00:00.968) 0:01:11.362 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:43:57 +0000 (0:00:00.039) 0:01:11.401 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:43:57 +0000 (0:00:00.037) 0:01:11.439 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:43:57 +0000 (0:00:00.042) 0:01:11.481 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:43:58 +0000 (0:00:00.148) 0:01:11.629 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:43:58 +0000 (0:00:00.037) 0:01:11.667 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:43:58 +0000 (0:00:00.037) 0:01:11.705 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:43:58 +0000 (0:00:00.052) 0:01:11.758 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:43:58 +0000 (0:00:00.042) 0:01:11.800 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:43:58 +0000 (0:00:00.041) 0:01:11.841 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:43:58 +0000 (0:00:00.275) 0:01:12.117 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10794cufbc2bs/tmphi2wtwm7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:43:58 +0000 (0:00:00.232) 0:01:12.350 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:43:59 +0000 (0:00:00.280) 0:01:12.631 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:43:59 +0000 (0:00:00.040) 0:01:12.671 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:43:59 +0000 (0:00:00.051) 0:01:12.722 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:43:59 +0000 (0:00:00.052) 0:01:12.774 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:43:59 +0000 (0:00:00.046) 0:01:12.821 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:30 Thursday 30 November 2023 18:43:59 +0000 (0:00:00.178) 0:01:12.999 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 30 November 2023 18:43:59 +0000 (0:00:00.075) 0:01:13.075 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Thursday 30 November 2023 18:43:59 +0000 (0:00:00.117) 0:01:13.192 ***** included: /WORKDIR/git-code_refactorx95r6s3q/.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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Thursday 30 November 2023 18:43:59 +0000 (0:00:00.060) 0:01:13.253 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Thursday 30 November 2023 18:43:59 +0000 (0:00:00.046) 0:01:13.300 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Thursday 30 November 2023 18:43:59 +0000 (0:00:00.041) 0:01:13.341 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Thursday 30 November 2023 18:43:59 +0000 (0:00:00.048) 0:01:13.390 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Thursday 30 November 2023 18:44:00 +0000 (0:00:00.776) 0:01:14.166 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Thursday 30 November 2023 18:44:01 +0000 (0:00:01.021) 0:01:15.188 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Thursday 30 November 2023 18:44:01 +0000 (0:00:00.049) 0:01:15.237 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Thursday 30 November 2023 18:44:01 +0000 (0:00:00.048) 0:01:15.286 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Thursday 30 November 2023 18:44:01 +0000 (0:00:00.057) 0:01:15.343 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Thursday 30 November 2023 18:44:01 +0000 (0:00:00.090) 0:01:15.433 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Thursday 30 November 2023 18:44:01 +0000 (0:00:00.049) 0:01:15.482 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Thursday 30 November 2023 18:44:02 +0000 (0:00:00.045) 0:01:15.528 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Thursday 30 November 2023 18:44:02 +0000 (0:00:00.054) 0:01:15.582 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Thursday 30 November 2023 18:44:02 +0000 (0:00:00.039) 0:01:15.621 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Thursday 30 November 2023 18:44:02 +0000 (0:00:00.095) 0:01:15.717 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Thursday 30 November 2023 18:44:02 +0000 (0:00:00.275) 0:01:15.992 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-10794cufbc2bs/tmpjkeu2e2w" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Thursday 30 November 2023 18:44:02 +0000 (0:00:00.242) 0:01:16.234 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Thursday 30 November 2023 18:44:03 +0000 (0:00:00.261) 0:01:16.495 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Thursday 30 November 2023 18:44:03 +0000 (0:00:00.040) 0:01:16.536 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Thursday 30 November 2023 18:44:03 +0000 (0:00:00.043) 0:01:16.579 ***** 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-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Thursday 30 November 2023 18:44:03 +0000 (0:00:00.043) 0:01:16.623 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Thursday 30 November 2023 18:44:03 +0000 (0:00:00.049) 0:01:16.673 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:36 Thursday 30 November 2023 18:44:03 +0000 (0:00:00.171) 0:01:16.844 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-code_refactorx95r6s3q/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-code_refactorx95r6s3q/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 30 November 2023 18:44:03 +0000 (0:00:00.068) 0:01:16.913 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 30 November 2023 18:44:03 +0000 (0:00:00.067) 0:01:16.980 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 30 November 2023 18:44:03 +0000 (0:00:00.042) 0:01:17.023 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 30 November 2023 18:44:03 +0000 (0:00:00.175) 0:01:17.199 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 30 November 2023 18:44:03 +0000 (0:00:00.052) 0:01:17.252 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022868", "end": "2023-11-30 18:44:03.923656", "rc": 1, "start": "2023-11-30 18:44:03.900788" } 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 30 November 2023 18:44:03 +0000 (0:00:00.183) 0:01:17.435 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 30 November 2023 18:44:03 +0000 (0:00:00.038) 0:01:17.474 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 30 November 2023 18:44:04 +0000 (0:00:00.124) 0:01:17.598 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 30 November 2023 18:44:04 +0000 (0:00:00.036) 0:01:17.635 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 30 November 2023 18:44:04 +0000 (0:00:00.038) 0:01:17.673 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 30 November 2023 18:44:04 +0000 (0:00:00.042) 0:01:17.716 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 30 November 2023 18:44:04 +0000 (0:00:00.039) 0:01:17.756 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.685818", "end": "2023-11-30 18:44:05.086138", "rc": 0, "start": "2023-11-30 18:44:04.400320" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 30 November 2023 18:44:05 +0000 (0:00:00.842) 0:01:18.598 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 30 November 2023 18:44:05 +0000 (0:00:00.051) 0:01:18.649 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:42 Thursday 30 November 2023 18:44:05 +0000 (0:00:00.039) 0:01:18.689 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:47 Thursday 30 November 2023 18:44:05 +0000 (0:00:00.045) 0:01:18.734 ***** 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-code_refactorx95r6s3q/tests/playbooks/tasks/run_test.yml:66 Thursday 30 November 2023 18:44:05 +0000 (0:00:00.039) 0:01:18.774 ***** included: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 30 November 2023 18:44:05 +0000 (0:00:00.066) 0:01:18.840 ***** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.048807", "end": "2023-11-30 18:44:05.545123", "rc": 0, "start": "2023-11-30 18:44:05.496316" } 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 Thursday 30 November 2023 18:44:05 +0000 (0:00:00.251) 0:01:19.092 ***** =============================================================================== fedora.linux_system_roles.network : Install packages -------------------- 2.28s /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 fedora.linux_system_roles.network : Check which packages are installed --- 1.20s /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.16s /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.11s /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.02s /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.02s /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.01s /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /WORKDIR/git-code_refactorx95r6s3q/.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.99s /WORKDIR/git-code_refactorx95r6s3q/.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.99s /WORKDIR/git-code_refactorx95r6s3q/.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.99s /WORKDIR/git-code_refactorx95r6s3q/.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.99s /WORKDIR/git-code_refactorx95r6s3q/.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.99s /WORKDIR/git-code_refactorx95r6s3q/.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.98s /WORKDIR/git-code_refactorx95r6s3q/.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.97s /WORKDIR/git-code_refactorx95r6s3q/.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.97s /WORKDIR/git-code_refactorx95r6s3q/.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.94s /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Get NetworkManager RPM version ------------------------------------------ 0.84s /WORKDIR/git-code_refactorx95r6s3q/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 fedora.linux_system_roles.network : Check which services are running ---- 0.84s /WORKDIR/git-code_refactorx95r6s3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---