# 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-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/tests_states_initscripts.yml:5 Friday 26 January 2024 21:27:15 +0000 (0:00:00.020) 0:00:00.020 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ci_fixgl10fh3q/tests/tests_states_initscripts.yml:8 Friday 26 January 2024 21:27:16 +0000 (0:00:00.695) 0:00:00.715 ******** included: /WORKDIR/git-ci_fixgl10fh3q/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-ci_fixgl10fh3q/tests/tasks/el_repo_setup.yml:3 Friday 26 January 2024 21:27:16 +0000 (0:00:00.011) 0:00:00.726 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/tasks/el_repo_setup.yml:17 Friday 26 January 2024 21:27:16 +0000 (0:00:00.231) 0:00:00.957 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/tasks/el_repo_setup.yml:22 Friday 26 January 2024 21:27:17 +0000 (0:00:00.189) 0:00:01.147 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/tasks/el_repo_setup.yml:26 Friday 26 January 2024 21:27:17 +0000 (0:00:00.013) 0:00:01.161 ******** 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-ci_fixgl10fh3q/tests/tasks/el_repo_setup.yml:51 Friday 26 January 2024 21:27:17 +0000 (0:00:00.010) 0:00:01.171 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/tasks/enable_epel.yml:8 Friday 26 January 2024 21:27:17 +0000 (0:00:00.027) 0:00:01.198 ******** 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-ci_fixgl10fh3q/tests/tasks/enable_epel.yml:24 Friday 26 January 2024 21:27:17 +0000 (0:00:00.196) 0:00:01.395 ******** 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-ci_fixgl10fh3q/tests/tasks/enable_epel.yml:30 Friday 26 January 2024 21:27:17 +0000 (0:00:00.413) 0:00:01.808 ******** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.175326", "end": "2024-01-26 21:27:18.016083", "rc": 0, "start": "2024-01-26 21:27:17.840757" } 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-ci_fixgl10fh3q/tests/tasks/enable_epel.yml:35 Friday 26 January 2024 21:27:18 +0000 (0:00:00.308) 0:00:02.116 ******** 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-ci_fixgl10fh3q/tests/tasks/enable_epel.yml:40 Friday 26 January 2024 21:27:18 +0000 (0:00:00.008) 0:00:02.125 ******** 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-ci_fixgl10fh3q/tests/tests_states_initscripts.yml:10 Friday 26 January 2024 21:27:18 +0000 (0:00:00.007) 0:00:02.132 ******** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tests_states.yml:3 Friday 26 January 2024 21:27:18 +0000 (0:00:00.014) 0:00:02.147 ******** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tests_states.yml:11 Friday 26 January 2024 21:27:18 +0000 (0:00:00.526) 0:00:02.673 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tests_states.yml:22 Friday 26 January 2024 21:27:18 +0000 (0:00:00.018) 0:00:02.692 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:27:18 +0000 (0:00:00.021) 0:00:02.713 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:27:18 +0000 (0:00:00.027) 0:00:02.741 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:27:18 +0000 (0:00:00.045) 0:00:02.786 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:27:18 +0000 (0:00:00.027) 0:00:02.814 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:27:18 +0000 (0:00:00.042) 0:00:02.856 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003734", "end": "2024-01-26 21:27:18.927153", "rc": 0, "start": "2024-01-26 21:27:18.923419" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:27:18 +0000 (0:00:00.172) 0:00:03.029 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:27:18 +0000 (0:00:00.019) 0:00:03.049 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:27:18 +0000 (0:00:00.028) 0:00:03.077 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ci_fixgl10fh3q/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-ci_fixgl10fh3q/tests/playbooks/tasks/delete_interface.yml:3 Friday 26 January 2024 21:27:19 +0000 (0:00:00.045) 0:00:03.123 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011804", "end": "2024-01-26 21:27:19.186221", "rc": 1, "start": "2024-01-26 21:27:19.174417" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:27:19 +0000 (0:00:00.161) 0:00:03.284 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:27:19 +0000 (0:00:00.020) 0:00:03.305 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:27:19 +0000 (0:00:00.133) 0:00:03.439 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:27:19 +0000 (0:00:00.038) 0:00:03.477 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:27:19 +0000 (0:00:00.034) 0:00:03.512 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:27:19 +0000 (0:00:00.042) 0:00:03.555 ******** included: /WORKDIR/git-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:19 +0000 (0:00:00.027) 0:00:03.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 : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:27:19 +0000 (0:00:00.018) 0:00:03.600 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:27:19 +0000 (0:00:00.018) 0:00:03.619 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:27:19 +0000 (0:00:00.018) 0:00:03.637 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:27:20 +0000 (0:00:00.850) 0:00:04.487 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:27:21 +0000 (0:00:01.153) 0:00:05.641 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:27:21 +0000 (0:00:00.036) 0:00:05.678 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:27:21 +0000 (0:00:00.037) 0:00:05.716 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:27:21 +0000 (0:00:00.031) 0:00:05.748 ******** 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: forksystems.mm.fcix.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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:27:24 +0000 (0:00:02.374) 0:00:08.122 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:27:24 +0000 (0:00:00.033) 0:00:08.156 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:27:24 +0000 (0:00:00.030) 0:00:08.186 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:27:24 +0000 (0:00:00.032) 0:00:08.219 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:27:24 +0000 (0:00:00.027) 0:00:08.247 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:27:24 +0000 (0:00:00.042) 0:00:08.289 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:27:24 +0000 (0:00:00.412) 0:00:08.701 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111961hjhxpwg/tmpu8sht5rg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:27:24 +0000 (0:00:00.214) 0:00:08.916 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:27:25 +0000 (0:00:00.351) 0:00:09.267 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:27:25 +0000 (0:00:00.032) 0:00:09.299 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:27:25 +0000 (0:00:00.031) 0:00:09.331 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:27:25 +0000 (0:00:00.032) 0:00:09.364 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:27:25 +0000 (0:00:00.028) 0:00:09.392 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:27:25 +0000 (0:00:00.202) 0:00:09.595 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:27:25 +0000 (0:00:00.044) 0:00:09.640 ******** included: /WORKDIR/git-ci_fixgl10fh3q/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-ci_fixgl10fh3q/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:27:25 +0000 (0:00:00.074) 0:00:09.714 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:27:25 +0000 (0:00:00.059) 0:00:09.774 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:27:25 +0000 (0:00:00.046) 0:00:09.820 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304445.1563597, "block_size": 4096, "blocks": 8, "ctime": 1706304445.1563597, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25547, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304445.1563597, "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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:27:25 +0000 (0:00:00.184) 0:00:10.004 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:27:25 +0000 (0:00:00.027) 0:00:10.032 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024036", "end": "2024-01-26 21:27:26.087121", "rc": 1, "start": "2024-01-26 21:27:26.063085" } 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:27:26 +0000 (0:00:00.162) 0:00:10.194 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:27:26 +0000 (0:00:00.049) 0:00:10.244 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003532", "end": "2024-01-26 21:27:26.281498", "rc": 0, "start": "2024-01-26 21:27:26.277966" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:27:26 +0000 (0:00:00.145) 0:00:10.390 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:27:26 +0000 (0:00:00.053) 0:00:10.443 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003471", "end": "2024-01-26 21:27:26.485384", "rc": 0, "start": "2024-01-26 21:27:26.481913" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:27:26 +0000 (0:00:00.165) 0:00:10.609 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:27:26 +0000 (0:00:00.042) 0:00:10.651 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:27:26 +0000 (0:00:00.032) 0:00:10.684 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:27:26 +0000 (0:00:00.028) 0:00:10.713 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:27:26 +0000 (0:00:00.028) 0:00:10.741 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:27:26 +0000 (0:00:00.040) 0:00:10.782 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:27:26 +0000 (0:00:00.045) 0:00:10.828 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:27:26 +0000 (0:00:00.054) 0:00:10.883 ******** 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.043936", "end": "2024-01-26 21:27:27.000411", "rc": 1, "start": "2024-01-26 21:27:26.956475" } 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-ci_fixgl10fh3q/tests/playbooks/tests_states.yml:45 Friday 26 January 2024 21:27:27 +0000 (0:00:00.230) 0:00:11.114 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:27:27 +0000 (0:00:00.053) 0:00:11.167 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:27:27 +0000 (0:00:00.045) 0:00:11.212 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:27:27 +0000 (0:00:00.081) 0:00:11.294 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:27:27 +0000 (0:00:00.073) 0:00:11.367 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:27:27 +0000 (0:00:00.071) 0:00:11.438 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003767", "end": "2024-01-26 21:27:27.474392", "rc": 0, "start": "2024-01-26 21:27:27.470625" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:27:27 +0000 (0:00:00.157) 0:00:11.595 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:27:27 +0000 (0:00:00.041) 0:00:11.636 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:27:27 +0000 (0:00:00.045) 0:00:11.681 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ci_fixgl10fh3q/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-ci_fixgl10fh3q/tests/playbooks/tasks/delete_interface.yml:3 Friday 26 January 2024 21:27:27 +0000 (0:00:00.051) 0:00:11.733 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007510", "end": "2024-01-26 21:27:27.774457", "rc": 1, "start": "2024-01-26 21:27:27.766947" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:27:27 +0000 (0:00:00.151) 0:00:11.884 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:27:27 +0000 (0:00:00.041) 0:00:11.925 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:27:27 +0000 (0:00:00.160) 0:00:12.086 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:27:28 +0000 (0:00:00.038) 0:00:12.124 ******** included: /WORKDIR/git-ci_fixgl10fh3q/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-ci_fixgl10fh3q/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 26 January 2024 21:27:28 +0000 (0:00:00.044) 0:00:12.169 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:27:28 +0000 (0:00:00.050) 0:00:12.219 ******** included: /WORKDIR/git-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:28 +0000 (0:00:00.044) 0:00:12.263 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:27:28 +0000 (0:00:00.060) 0:00:12.323 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:27:28 +0000 (0:00:00.032) 0:00:12.356 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:27:28 +0000 (0:00:00.037) 0:00:12.393 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:27:29 +0000 (0:00:00.787) 0:00:13.180 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:27:30 +0000 (0:00:00.984) 0:00:14.165 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:27:30 +0000 (0:00:00.034) 0:00:14.200 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:27:30 +0000 (0:00:00.030) 0:00:14.230 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:27:30 +0000 (0:00:00.031) 0:00:14.262 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:27:30 +0000 (0:00:00.055) 0:00:14.318 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:27:30 +0000 (0:00:00.036) 0:00:14.354 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:27:30 +0000 (0:00:00.032) 0:00:14.387 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:27:30 +0000 (0:00:00.035) 0:00:14.422 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:27:30 +0000 (0:00:00.029) 0:00:14.451 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:27:30 +0000 (0:00:00.026) 0:00:14.478 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:27:30 +0000 (0:00:00.261) 0:00:14.739 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111961hjhxpwg/tmp_sd23n99" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:27:30 +0000 (0:00:00.218) 0:00:14.958 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:27:31 +0000 (0:00:00.272) 0:00:15.230 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:27:31 +0000 (0:00:00.100) 0:00:15.330 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:27:31 +0000 (0:00:00.063) 0:00:15.394 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:27:31 +0000 (0:00:00.038) 0:00:15.433 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:27:31 +0000 (0:00:00.036) 0:00:15.469 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 26 January 2024 21:27:31 +0000 (0:00:00.151) 0:00:15.621 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:27:31 +0000 (0:00:00.034) 0:00:15.655 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-ci_fixgl10fh3q/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-ci_fixgl10fh3q/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:27:31 +0000 (0:00:00.058) 0:00:15.713 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:27:31 +0000 (0:00:00.040) 0:00:15.754 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:27:31 +0000 (0:00:00.158) 0:00:15.913 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:27:31 +0000 (0:00:00.047) 0:00:15.960 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:27:31 +0000 (0:00:00.072) 0:00:16.033 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:27:32 +0000 (0:00:00.057) 0:00:16.090 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304451.1213644, "block_size": 4096, "blocks": 8, "ctime": 1706304451.1213644, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25545, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304451.1213644, "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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:27:32 +0000 (0:00:00.158) 0:00:16.249 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:27:32 +0000 (0:00:00.035) 0:00:16.285 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020830", "end": "2024-01-26 21:27:32.346054", "rc": 1, "start": "2024-01-26 21:27:32.325224" } 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:27:32 +0000 (0:00:00.168) 0:00:16.453 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:27:32 +0000 (0:00:00.082) 0:00:16.536 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003461", "end": "2024-01-26 21:27:32.573562", "rc": 0, "start": "2024-01-26 21:27:32.570101" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:27:32 +0000 (0:00:00.146) 0:00:16.682 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:27:32 +0000 (0:00:00.032) 0:00:16.715 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003538", "end": "2024-01-26 21:27:32.761478", "rc": 0, "start": "2024-01-26 21:27:32.757940" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:27:32 +0000 (0:00:00.156) 0:00:16.871 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:27:32 +0000 (0:00:00.033) 0:00:16.905 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:27:32 +0000 (0:00:00.047) 0:00:16.953 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:27:32 +0000 (0:00:00.055) 0:00:17.009 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:27:32 +0000 (0:00:00.048) 0:00:17.057 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:27:33 +0000 (0:00:00.045) 0:00:17.102 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:27:33 +0000 (0:00:00.042) 0:00:17.145 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:27:33 +0000 (0:00:00.091) 0:00:17.236 ******** 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.041521", "end": "2024-01-26 21:27:33.332894", "rc": 1, "start": "2024-01-26 21:27:33.291373" } 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-ci_fixgl10fh3q/tests/playbooks/tests_states.yml:65 Friday 26 January 2024 21:27:33 +0000 (0:00:00.207) 0:00:17.443 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:27:33 +0000 (0:00:00.039) 0:00:17.483 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:27:33 +0000 (0:00:00.027) 0:00:17.510 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:27:33 +0000 (0:00:00.051) 0:00:17.561 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:27:33 +0000 (0:00:00.067) 0:00:17.628 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:27:33 +0000 (0:00:00.037) 0:00:17.666 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005117", "end": "2024-01-26 21:27:34.714330", "rc": 0, "start": "2024-01-26 21:27:33.709213" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:27:34 +0000 (0:00:01.157) 0:00:18.824 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:27:34 +0000 (0:00:00.029) 0:00:18.853 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:27:34 +0000 (0:00:00.041) 0:00:18.894 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:27:34 +0000 (0:00:00.048) 0:00:18.943 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:27:34 +0000 (0:00:00.051) 0:00:18.994 ******** included: /WORKDIR/git-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:34 +0000 (0:00:00.047) 0:00:19.042 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:27:34 +0000 (0:00:00.032) 0:00:19.074 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:27:35 +0000 (0:00:00.035) 0:00:19.110 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:27:35 +0000 (0:00:00.034) 0:00:19.144 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:27:35 +0000 (0:00:00.764) 0:00:19.908 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:27:36 +0000 (0:00:01.011) 0:00:20.919 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:27:36 +0000 (0:00:00.029) 0:00:20.949 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:27:36 +0000 (0:00:00.029) 0:00:20.978 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:27:36 +0000 (0:00:00.028) 0:00:21.007 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:27:36 +0000 (0:00:00.053) 0:00:21.061 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:27:37 +0000 (0:00:00.031) 0:00:21.092 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:27:37 +0000 (0:00:00.043) 0:00:21.136 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:27:37 +0000 (0:00:00.049) 0:00:21.185 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:27:37 +0000 (0:00:00.056) 0:00:21.242 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:27:37 +0000 (0:00:00.063) 0:00:21.306 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:27:37 +0000 (0:00:00.318) 0:00:21.624 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111961hjhxpwg/tmp0ivf5c3r" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:27:37 +0000 (0:00:00.309) 0:00:21.934 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:27:38 +0000 (0:00:00.248) 0:00:22.183 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:27:38 +0000 (0:00:00.034) 0:00:22.217 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:27:38 +0000 (0:00:00.051) 0:00:22.269 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:27:38 +0000 (0:00:00.034) 0:00:22.303 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:27:38 +0000 (0:00:00.041) 0:00:22.344 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:27:38 +0000 (0:00:00.150) 0:00:22.495 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:27:38 +0000 (0:00:00.073) 0:00:22.569 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:27:38 +0000 (0:00:00.055) 0:00:22.624 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:27:38 +0000 (0:00:00.092) 0:00:22.717 ******** included: /WORKDIR/git-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:38 +0000 (0:00:00.051) 0:00:22.768 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:27:38 +0000 (0:00:00.033) 0:00:22.802 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:27:38 +0000 (0:00:00.029) 0:00:22.831 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:27:38 +0000 (0:00:00.027) 0:00:22.859 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:27:39 +0000 (0:00:00.739) 0:00:23.598 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:27:40 +0000 (0:00:00.966) 0:00:24.565 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:27:40 +0000 (0:00:00.035) 0:00:24.600 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:27:40 +0000 (0:00:00.030) 0:00:24.630 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:27:40 +0000 (0:00:00.033) 0:00:24.664 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:27:40 +0000 (0:00:00.052) 0:00:24.717 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:27:40 +0000 (0:00:00.061) 0:00:24.778 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:27:40 +0000 (0:00:00.039) 0:00:24.817 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:27:40 +0000 (0:00:00.038) 0:00:24.855 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:27:40 +0000 (0:00:00.031) 0:00:24.887 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:27:40 +0000 (0:00:00.027) 0:00:24.914 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:27:41 +0000 (0:00:00.247) 0:00:25.162 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111961hjhxpwg/tmpa0aqfh9z" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:27:41 +0000 (0:00:00.235) 0:00:25.397 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:27:41 +0000 (0:00:00.488) 0:00:25.886 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:27:41 +0000 (0:00:00.046) 0:00:25.933 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:27:41 +0000 (0:00:00.038) 0:00:25.971 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:27:41 +0000 (0:00:00.038) 0:00:26.009 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:27:41 +0000 (0:00:00.037) 0:00:26.047 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:27:42 +0000 (0:00:00.154) 0:00:26.201 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ci_fixgl10fh3q/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-ci_fixgl10fh3q/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:27:42 +0000 (0:00:00.056) 0:00:26.257 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:27:42 +0000 (0:00:00.047) 0:00:26.305 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304461.6943724, "block_size": 4096, "blocks": 0, "ctime": 1706304461.6933725, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17765, "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": 1706304461.6933725, "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-ci_fixgl10fh3q/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:27:42 +0000 (0:00:00.179) 0:00:26.484 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:27:42 +0000 (0:00:00.071) 0:00:26.556 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:27:42 +0000 (0:00:00.043) 0:00:26.599 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:27:42 +0000 (0:00:00.037) 0:00:26.637 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304461.5183723, "block_size": 4096, "blocks": 8, "ctime": 1706304458.0583696, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25545, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304458.0583696, "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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:27:42 +0000 (0:00:00.162) 0:00:26.799 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:27:42 +0000 (0:00:00.029) 0:00:26.828 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023052", "end": "2024-01-26 21:27:42.890519", "rc": 1, "start": "2024-01-26 21:27:42.867467" } 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:27:42 +0000 (0:00:00.181) 0:00:27.010 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:27:42 +0000 (0:00:00.045) 0:00:27.055 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003527", "end": "2024-01-26 21:27:43.098739", "rc": 0, "start": "2024-01-26 21:27:43.095212" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:27:43 +0000 (0:00:00.160) 0:00:27.216 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:27:43 +0000 (0:00:00.037) 0:00:27.254 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003617", "end": "2024-01-26 21:27:43.291408", "rc": 0, "start": "2024-01-26 21:27:43.287791" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:27:43 +0000 (0:00:00.146) 0:00:27.400 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:27:43 +0000 (0:00:00.036) 0:00:27.437 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:27:43 +0000 (0:00:00.034) 0:00:27.472 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:27:43 +0000 (0:00:00.044) 0:00:27.517 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:27:43 +0000 (0:00:00.045) 0:00:27.562 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:27:43 +0000 (0:00:00.037) 0:00:27.599 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:27:43 +0000 (0:00:00.042) 0:00:27.642 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:27:43 +0000 (0:00:00.057) 0:00:27.700 ******** 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.046578", "end": "2024-01-26 21:27:43.810942", "rc": 0, "start": "2024-01-26 21:27:43.764364" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tests_states.yml:83 Friday 26 January 2024 21:27:43 +0000 (0:00:00.273) 0:00:27.974 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:27:43 +0000 (0:00:00.072) 0:00:28.047 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:27:44 +0000 (0:00:00.043) 0:00:28.090 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:27:44 +0000 (0:00:00.068) 0:00:28.159 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:27:44 +0000 (0:00:00.045) 0:00:28.205 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:27:44 +0000 (0:00:00.037) 0:00:28.243 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004090", "end": "2024-01-26 21:27:44.279113", "rc": 0, "start": "2024-01-26 21:27:44.275023" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:27:44 +0000 (0:00:00.160) 0:00:28.404 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:27:44 +0000 (0:00:00.050) 0:00:28.454 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:27:44 +0000 (0:00:00.029) 0:00:28.484 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:27:44 +0000 (0:00:00.042) 0:00:28.527 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:27:44 +0000 (0:00:00.048) 0:00:28.575 ******** included: /WORKDIR/git-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:44 +0000 (0:00:00.059) 0:00:28.635 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:27:44 +0000 (0:00:00.127) 0:00:28.763 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:27:44 +0000 (0:00:00.053) 0:00:28.817 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:27:44 +0000 (0:00:00.053) 0:00:28.871 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:27:45 +0000 (0:00:00.757) 0:00:29.628 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:27:46 +0000 (0:00:00.969) 0:00:30.598 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:27:46 +0000 (0:00:00.029) 0:00:30.627 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:27:46 +0000 (0:00:00.031) 0:00:30.659 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:27:46 +0000 (0:00:00.033) 0:00:30.692 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:27:46 +0000 (0:00:00.051) 0:00:30.744 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:27:46 +0000 (0:00:00.030) 0:00:30.774 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:27:46 +0000 (0:00:00.029) 0:00:30.803 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:27:46 +0000 (0:00:00.036) 0:00:30.840 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:27:46 +0000 (0:00:00.030) 0:00:30.870 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:27:46 +0000 (0:00:00.028) 0:00:30.899 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:27:47 +0000 (0:00:00.249) 0:00:31.148 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111961hjhxpwg/tmptxkxn90_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:27:47 +0000 (0:00:00.223) 0:00:31.372 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:27:47 +0000 (0:00:00.301) 0:00:31.673 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:27:47 +0000 (0:00:00.029) 0:00:31.703 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:27:47 +0000 (0:00:00.029) 0:00:31.732 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:27:47 +0000 (0:00:00.030) 0:00:31.763 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:27:47 +0000 (0:00:00.040) 0:00:31.804 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:27:47 +0000 (0:00:00.154) 0:00:31.958 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:27:47 +0000 (0:00:00.051) 0:00:32.010 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:27:48 +0000 (0:00:00.121) 0:00:32.132 ******** included: /WORKDIR/git-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:48 +0000 (0:00:00.091) 0:00:32.224 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:27:48 +0000 (0:00:00.102) 0:00:32.326 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:27:48 +0000 (0:00:00.042) 0:00:32.368 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:27:48 +0000 (0:00:00.038) 0:00:32.407 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:27:49 +0000 (0:00:00.814) 0:00:33.221 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:27:50 +0000 (0:00:01.053) 0:00:34.274 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:27:50 +0000 (0:00:00.039) 0:00:34.313 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:27:50 +0000 (0:00:00.029) 0:00:34.343 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:27:50 +0000 (0:00:00.029) 0:00:34.373 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:27:50 +0000 (0:00:00.055) 0:00:34.428 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:27:50 +0000 (0:00:00.052) 0:00:34.481 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:27:50 +0000 (0:00:00.044) 0:00:34.525 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:27:50 +0000 (0:00:00.038) 0:00:34.564 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:27:50 +0000 (0:00:00.040) 0:00:34.605 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:27:50 +0000 (0:00:00.035) 0:00:34.640 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:27:50 +0000 (0:00:00.254) 0:00:34.895 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111961hjhxpwg/tmpz0m5tcll" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:27:51 +0000 (0:00:00.243) 0:00:35.138 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:27:51 +0000 (0:00:00.484) 0:00:35.623 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:27:51 +0000 (0:00:00.034) 0:00:35.657 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:27:51 +0000 (0:00:00.030) 0:00:35.687 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:27:51 +0000 (0:00:00.030) 0:00:35.718 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:27:51 +0000 (0:00:00.029) 0:00:35.747 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:27:51 +0000 (0:00:00.160) 0:00:35.907 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/remove_profile.yml:3 Friday 26 January 2024 21:27:51 +0000 (0:00:00.089) 0:00:35.996 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:27:51 +0000 (0:00:00.079) 0:00:36.076 ******** included: /WORKDIR/git-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:52 +0000 (0:00:00.064) 0:00:36.140 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:27:52 +0000 (0:00:00.046) 0:00:36.187 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:27:52 +0000 (0:00:00.031) 0:00:36.218 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:27:52 +0000 (0:00:00.031) 0:00:36.250 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:27:52 +0000 (0:00:00.739) 0:00:36.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 : Print network provider] ************** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:27:53 +0000 (0:00:01.012) 0:00:38.002 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:27:53 +0000 (0:00:00.034) 0:00:38.037 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:27:53 +0000 (0:00:00.031) 0:00:38.068 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:27:54 +0000 (0:00:00.030) 0:00:38.099 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:27:54 +0000 (0:00:00.053) 0:00:38.152 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:27:54 +0000 (0:00:00.068) 0:00:38.221 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:27:54 +0000 (0:00:00.031) 0:00:38.252 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:27:54 +0000 (0:00:00.037) 0:00:38.289 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:27:54 +0000 (0:00:00.030) 0:00:38.320 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:27:54 +0000 (0:00:00.035) 0:00:38.356 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:27:54 +0000 (0:00:00.269) 0:00:38.625 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111961hjhxpwg/tmplt1l6frz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:27:54 +0000 (0:00:00.292) 0:00:38.918 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:27:55 +0000 (0:00:00.264) 0:00:39.182 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:27:55 +0000 (0:00:00.032) 0:00:39.214 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:27:55 +0000 (0:00:00.037) 0:00:39.252 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:27:55 +0000 (0:00:00.035) 0:00:39.288 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:27:55 +0000 (0:00:00.044) 0:00:39.332 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:27:55 +0000 (0:00:00.161) 0:00:39.493 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ci_fixgl10fh3q/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-ci_fixgl10fh3q/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:27:55 +0000 (0:00:00.073) 0:00:39.566 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:27:55 +0000 (0:00:00.066) 0:00:39.633 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304471.4433799, "block_size": 4096, "blocks": 0, "ctime": 1706304471.44238, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17765, "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": 1706304471.44238, "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-ci_fixgl10fh3q/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:27:55 +0000 (0:00:00.147) 0:00:39.780 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:27:55 +0000 (0:00:00.069) 0:00:39.849 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:27:55 +0000 (0:00:00.060) 0:00:39.909 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:27:55 +0000 (0:00:00.030) 0:00:39.940 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:27:56 +0000 (0:00:00.186) 0:00:40.127 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:27:56 +0000 (0:00:00.027) 0:00:40.154 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021808", "end": "2024-01-26 21:27:56.206181", "rc": 1, "start": "2024-01-26 21:27:56.184373" } 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:27:56 +0000 (0:00:00.159) 0:00:40.313 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:27:56 +0000 (0:00:00.028) 0:00:40.342 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:27:56 +0000 (0:00:00.027) 0:00:40.370 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:27:56 +0000 (0:00:00.029) 0:00:40.399 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:27:56 +0000 (0:00:00.033) 0:00:40.433 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:27:56 +0000 (0:00:00.028) 0:00:40.462 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:27:56 +0000 (0:00:00.030) 0:00:40.492 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:27:56 +0000 (0:00:00.025) 0:00:40.518 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:27:56 +0000 (0:00:00.037) 0:00:40.555 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:27:56 +0000 (0:00:00.044) 0:00:40.600 ******** 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.047342", "end": "2024-01-26 21:27:56.679089", "rc": 0, "start": "2024-01-26 21:27:56.631747" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tests_states.yml:102 Friday 26 January 2024 21:27:56 +0000 (0:00:00.190) 0:00:40.790 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:27:56 +0000 (0:00:00.071) 0:00:40.861 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:27:56 +0000 (0:00:00.028) 0:00:40.890 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:27:56 +0000 (0:00:00.062) 0:00:40.952 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:27:56 +0000 (0:00:00.066) 0:00:41.019 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:27:56 +0000 (0:00:00.052) 0:00:41.072 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003662", "end": "2024-01-26 21:27:57.151156", "rc": 0, "start": "2024-01-26 21:27:57.147494" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:27:57 +0000 (0:00:00.192) 0:00:41.264 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:27:57 +0000 (0:00:00.030) 0:00:41.294 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:27:57 +0000 (0:00:00.033) 0:00:41.327 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:27:57 +0000 (0:00:00.062) 0:00:41.390 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:27:57 +0000 (0:00:00.061) 0:00:41.451 ******** included: /WORKDIR/git-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:27:57 +0000 (0:00:00.071) 0:00:41.523 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:27:57 +0000 (0:00:00.032) 0:00:41.556 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:27:57 +0000 (0:00:00.031) 0:00:41.588 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:27:57 +0000 (0:00:00.079) 0:00:41.667 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:27:58 +0000 (0:00:00.749) 0:00:42.417 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:27:59 +0000 (0:00:00.956) 0:00:43.374 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:27:59 +0000 (0:00:00.030) 0:00:43.404 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:27:59 +0000 (0:00:00.029) 0:00:43.434 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:27:59 +0000 (0:00:00.029) 0:00:43.463 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:27:59 +0000 (0:00:00.053) 0:00:43.517 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:27:59 +0000 (0:00:00.028) 0:00:43.546 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:27:59 +0000 (0:00:00.030) 0:00:43.576 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:27:59 +0000 (0:00:00.033) 0:00:43.609 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:27:59 +0000 (0:00:00.028) 0:00:43.638 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:27:59 +0000 (0:00:00.027) 0:00:43.665 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:27:59 +0000 (0:00:00.268) 0:00:43.933 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111961hjhxpwg/tmpzwhami15" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:28:00 +0000 (0:00:00.221) 0:00:44.155 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:28:00 +0000 (0:00:00.261) 0:00:44.417 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:28:00 +0000 (0:00:00.039) 0:00:44.456 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:28:00 +0000 (0:00:00.033) 0:00:44.490 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:28:00 +0000 (0:00:00.116) 0:00:44.607 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:28:00 +0000 (0:00:00.053) 0:00:44.660 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:28:00 +0000 (0:00:00.161) 0:00:44.822 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:28:00 +0000 (0:00:00.030) 0:00:44.852 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:28:00 +0000 (0:00:00.052) 0:00:44.904 ******** included: /WORKDIR/git-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:00 +0000 (0:00:00.047) 0:00:44.951 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:28:00 +0000 (0:00:00.041) 0:00:44.993 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:28:00 +0000 (0:00:00.032) 0:00:45.026 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:28:00 +0000 (0:00:00.036) 0:00:45.062 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:28:01 +0000 (0:00:00.765) 0:00:45.827 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:28:02 +0000 (0:00:00.972) 0:00:46.800 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:28:02 +0000 (0:00:00.031) 0:00:46.831 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:28:02 +0000 (0:00:00.075) 0:00:46.906 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:28:02 +0000 (0:00:00.038) 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:28:02 +0000 (0:00:00.063) 0:00:47.008 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:28:02 +0000 (0:00:00.047) 0:00:47.056 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:28:03 +0000 (0:00:00.068) 0:00:47.124 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:28:03 +0000 (0:00:00.072) 0:00:47.197 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:28:03 +0000 (0:00:00.049) 0:00:47.247 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:28:03 +0000 (0:00:00.118) 0:00:47.365 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:28:03 +0000 (0:00:00.298) 0:00:47.664 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111961hjhxpwg/tmpl397tbjs" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:28:03 +0000 (0:00:00.337) 0:00:48.001 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:28:04 +0000 (0:00:00.487) 0:00:48.489 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:28:04 +0000 (0:00:00.064) 0:00:48.553 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:28:04 +0000 (0:00:00.037) 0:00:48.591 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:28:04 +0000 (0:00:00.038) 0:00:48.629 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:28:04 +0000 (0:00:00.034) 0:00:48.663 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/remove_profile.yml:3 Friday 26 January 2024 21:28:04 +0000 (0:00:00.160) 0:00:48.824 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:28:04 +0000 (0:00:00.048) 0:00:48.872 ******** included: /WORKDIR/git-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:04 +0000 (0:00:00.078) 0:00:48.951 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:28:04 +0000 (0:00:00.036) 0:00:48.987 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:28:04 +0000 (0:00:00.035) 0:00:49.023 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:28:04 +0000 (0:00:00.030) 0:00:49.054 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:28:05 +0000 (0:00:00.756) 0:00:49.810 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:28:06 +0000 (0:00:00.977) 0:00:50.788 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:28:06 +0000 (0:00:00.045) 0:00:50.833 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:28:06 +0000 (0:00:00.070) 0:00:50.904 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:28:06 +0000 (0:00:00.063) 0:00:50.967 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:28:06 +0000 (0:00:00.103) 0:00:51.070 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:28:07 +0000 (0:00:00.074) 0:00:51.145 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:28:07 +0000 (0:00:00.072) 0:00:51.218 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:28:07 +0000 (0:00:00.056) 0:00:51.274 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:28:07 +0000 (0:00:00.049) 0:00:51.323 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:28:07 +0000 (0:00:00.027) 0:00:51.351 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:28:07 +0000 (0:00:00.363) 0:00:51.714 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111961hjhxpwg/tmp9q4m1sa7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:28:07 +0000 (0:00:00.224) 0:00:51.938 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:28:08 +0000 (0:00:00.243) 0:00:52.182 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:28:08 +0000 (0:00:00.046) 0:00:52.228 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:28:08 +0000 (0:00:00.052) 0:00:52.281 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:28:08 +0000 (0:00:00.037) 0:00:52.319 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:28:08 +0000 (0:00:00.029) 0:00:52.349 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:28:08 +0000 (0:00:00.147) 0:00:52.496 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:28:08 +0000 (0:00:00.049) 0:00:52.546 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:28:08 +0000 (0:00:00.052) 0:00:52.599 ******** included: /WORKDIR/git-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:08 +0000 (0:00:00.056) 0:00:52.655 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:28:08 +0000 (0:00:00.055) 0:00:52.711 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:28:08 +0000 (0:00:00.032) 0:00:52.743 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:28:08 +0000 (0:00:00.039) 0:00:52.783 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:28:09 +0000 (0:00:00.843) 0:00:53.627 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:28:10 +0000 (0:00:01.002) 0:00:54.629 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:28:10 +0000 (0:00:00.043) 0:00:54.673 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:28:10 +0000 (0:00:00.030) 0:00:54.703 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:28:10 +0000 (0:00:00.031) 0:00:54.734 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:28:10 +0000 (0:00:00.073) 0:00:54.808 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:28:10 +0000 (0:00:00.034) 0:00:54.843 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:28:10 +0000 (0:00:00.030) 0:00:54.873 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:28:10 +0000 (0:00:00.047) 0:00:54.920 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:28:10 +0000 (0:00:00.041) 0:00:54.962 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:28:10 +0000 (0:00:00.032) 0:00:54.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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:28:11 +0000 (0:00:00.246) 0:00:55.241 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111961hjhxpwg/tmpu7cj7lqu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:28:11 +0000 (0:00:00.212) 0:00:55.454 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:28:11 +0000 (0:00:00.238) 0:00:55.692 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:28:11 +0000 (0:00:00.057) 0:00:55.750 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:28:11 +0000 (0:00:00.042) 0:00:55.792 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:28:11 +0000 (0:00:00.082) 0:00:55.874 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:28:11 +0000 (0:00:00.032) 0:00:55.907 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:28:11 +0000 (0:00:00.156) 0:00:56.064 ******** included: /WORKDIR/git-ci_fixgl10fh3q/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-ci_fixgl10fh3q/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:28:12 +0000 (0:00:00.043) 0:00:56.107 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:28:12 +0000 (0:00:00.050) 0:00:56.158 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:28:12 +0000 (0:00:00.032) 0:00:56.191 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:28:12 +0000 (0:00:00.157) 0:00:56.349 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:28:12 +0000 (0:00:00.032) 0:00:56.381 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022240", "end": "2024-01-26 21:28:12.437541", "rc": 1, "start": "2024-01-26 21:28:12.415301" } 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:28:12 +0000 (0:00:00.167) 0:00:56.549 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:28:12 +0000 (0:00:00.040) 0:00:56.589 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:28:12 +0000 (0:00:00.037) 0:00:56.627 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:28:12 +0000 (0:00:00.028) 0:00:56.656 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:28:12 +0000 (0:00:00.029) 0:00:56.685 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:28:12 +0000 (0:00:00.031) 0:00:56.717 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:28:12 +0000 (0:00:00.032) 0:00:56.749 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:28:12 +0000 (0:00:00.052) 0:00:56.801 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:28:12 +0000 (0:00:00.108) 0:00:56.910 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:28:12 +0000 (0:00:00.051) 0:00:56.961 ******** 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.048847", "end": "2024-01-26 21:28:13.045990", "rc": 0, "start": "2024-01-26 21:28:12.997143" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tests_states.yml:124 Friday 26 January 2024 21:28:13 +0000 (0:00:00.218) 0:00:57.180 ******** included: /WORKDIR/git-ci_fixgl10fh3q/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-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:28:13 +0000 (0:00:00.059) 0:00:57.239 ******** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:28:13 +0000 (0:00:00.037) 0:00:57.276 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:28:13 +0000 (0:00:00.081) 0:00:57.358 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:28:13 +0000 (0:00:00.064) 0:00:57.422 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:28:13 +0000 (0:00:00.041) 0:00:57.464 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003719", "end": "2024-01-26 21:28:13.506024", "rc": 0, "start": "2024-01-26 21:28:13.502305" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:28:13 +0000 (0:00:00.150) 0:00:57.614 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:28:13 +0000 (0:00:00.032) 0:00:57.647 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:28:13 +0000 (0:00:00.028) 0:00:57.676 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:28:13 +0000 (0:00:00.045) 0:00:57.722 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:28:13 +0000 (0:00:00.084) 0:00:57.806 ******** included: /WORKDIR/git-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:13 +0000 (0:00:00.044) 0:00:57.851 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:28:13 +0000 (0:00:00.041) 0:00:57.893 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:28:13 +0000 (0:00:00.033) 0:00:57.926 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:28:13 +0000 (0:00:00.030) 0:00:57.957 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:28:14 +0000 (0:00:00.738) 0:00:58.696 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:28:15 +0000 (0:00:00.961) 0:00:59.657 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:28:15 +0000 (0:00:00.032) 0:00:59.690 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:28:15 +0000 (0:00:00.034) 0:00:59.724 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:28:15 +0000 (0:00:00.037) 0:00:59.762 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:28:15 +0000 (0:00:00.057) 0:00:59.819 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:28:15 +0000 (0:00:00.036) 0:00:59.856 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:28:15 +0000 (0:00:00.039) 0:00:59.895 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:28:15 +0000 (0:00:00.037) 0:00:59.933 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:28:15 +0000 (0:00:00.042) 0:00:59.975 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:28:15 +0000 (0:00:00.070) 0:01:00.046 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:28:16 +0000 (0:00:00.251) 0:01:00.297 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111961hjhxpwg/tmpb7xzuku4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:28:16 +0000 (0:00:00.262) 0:01:00.560 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:28:16 +0000 (0:00:00.269) 0:01:00.829 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:28:16 +0000 (0:00:00.051) 0:01:00.881 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:28:16 +0000 (0:00:00.045) 0:01:00.927 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:28:16 +0000 (0:00:00.033) 0:01:00.960 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:28:16 +0000 (0:00:00.046) 0:01:01.007 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:28:17 +0000 (0:00:00.162) 0:01:01.170 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:28:17 +0000 (0:00:00.034) 0:01:01.204 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:28:17 +0000 (0:00:00.069) 0:01:01.274 ******** included: /WORKDIR/git-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:17 +0000 (0:00:00.068) 0:01:01.342 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:28:17 +0000 (0:00:00.047) 0:01:01.390 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:28:17 +0000 (0:00:00.031) 0:01:01.421 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:28:17 +0000 (0:00:00.038) 0:01:01.460 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:28:18 +0000 (0:00:00.827) 0:01:02.288 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:28:19 +0000 (0:00:01.022) 0:01:03.311 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:28:19 +0000 (0:00:00.036) 0:01:03.347 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:28:19 +0000 (0:00:00.031) 0:01:03.378 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:28:19 +0000 (0:00:00.029) 0:01:03.408 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:28:19 +0000 (0:00:00.058) 0:01:03.466 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:28:19 +0000 (0:00:00.030) 0:01:03.497 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:28:19 +0000 (0:00:00.028) 0:01:03.526 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:28:19 +0000 (0:00:00.034) 0:01:03.560 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:28:19 +0000 (0:00:00.030) 0:01:03.591 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:28:19 +0000 (0:00:00.030) 0:01:03.621 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:28:19 +0000 (0:00:00.245) 0:01:03.867 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111961hjhxpwg/tmpsr5qz_xf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:28:20 +0000 (0:00:00.241) 0:01:04.109 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:28:20 +0000 (0:00:00.474) 0:01:04.584 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:28:20 +0000 (0:00:00.031) 0:01:04.616 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:28:20 +0000 (0:00:00.033) 0:01:04.649 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:28:20 +0000 (0:00:00.034) 0:01:04.683 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:28:20 +0000 (0:00:00.084) 0:01:04.767 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:28:20 +0000 (0:00:00.150) 0:01:04.917 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:28:20 +0000 (0:00:00.046) 0:01:04.964 ******** included: /WORKDIR/git-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:20 +0000 (0:00:00.044) 0:01:05.009 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:28:20 +0000 (0:00:00.033) 0:01:05.042 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:28:20 +0000 (0:00:00.032) 0:01:05.075 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:28:21 +0000 (0:00:00.031) 0:01:05.107 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:28:21 +0000 (0:00:00.769) 0:01:05.876 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:28:22 +0000 (0:00:00.996) 0:01:06.873 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:28:22 +0000 (0:00:00.050) 0:01:06.924 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:28:22 +0000 (0:00:00.035) 0:01:06.959 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:28:22 +0000 (0:00:00.033) 0:01:06.992 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:28:22 +0000 (0:00:00.081) 0:01:07.074 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:28:23 +0000 (0:00:00.217) 0:01:07.292 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:28:23 +0000 (0:00:00.032) 0:01:07.324 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:28:23 +0000 (0:00:00.097) 0:01:07.422 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:28:23 +0000 (0:00:00.047) 0:01:07.470 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:28:23 +0000 (0:00:00.036) 0:01:07.506 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:28:23 +0000 (0:00:00.291) 0:01:07.798 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111961hjhxpwg/tmpz4mde56r" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:28:24 +0000 (0:00:00.302) 0:01:08.100 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:28:24 +0000 (0:00:00.287) 0:01:08.388 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:28:24 +0000 (0:00:00.075) 0:01:08.463 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:28:24 +0000 (0:00:00.056) 0:01:08.520 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:28:24 +0000 (0:00:00.040) 0:01:08.560 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:28:24 +0000 (0:00:00.031) 0:01:08.592 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:28:24 +0000 (0:00:00.149) 0:01:08.742 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:28:24 +0000 (0:00:00.040) 0:01:08.782 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:28:24 +0000 (0:00:00.044) 0:01:08.827 ******** included: /WORKDIR/git-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:28:24 +0000 (0:00:00.076) 0:01:08.903 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:28:24 +0000 (0:00:00.034) 0:01:08.938 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:28:24 +0000 (0:00:00.031) 0:01:08.969 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:28:24 +0000 (0:00:00.032) 0:01:09.002 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:28:25 +0000 (0:00:00.756) 0:01:09.759 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:28:26 +0000 (0:00:00.962) 0:01:10.721 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:28:26 +0000 (0:00:00.031) 0:01:10.752 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:28:26 +0000 (0:00:00.029) 0:01:10.781 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:28:26 +0000 (0:00:00.029) 0:01:10.811 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:28:26 +0000 (0:00:00.051) 0:01:10.862 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:28:26 +0000 (0:00:00.029) 0:01:10.892 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:28:26 +0000 (0:00:00.029) 0:01:10.922 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:28:26 +0000 (0:00:00.049) 0:01:10.971 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:28:26 +0000 (0:00:00.038) 0:01:11.010 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:28:26 +0000 (0:00:00.029) 0:01:11.039 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:28:27 +0000 (0:00:00.317) 0:01:11.357 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-111961hjhxpwg/tmpd24aj5xu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:28:27 +0000 (0:00:00.245) 0:01:11.602 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:28:27 +0000 (0:00:00.253) 0:01:11.856 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:28:27 +0000 (0:00:00.030) 0:01:11.886 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:28:27 +0000 (0:00:00.035) 0:01:11.922 ******** 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-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:28:27 +0000 (0:00:00.031) 0:01:11.953 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:28:27 +0000 (0:00:00.029) 0:01:11.983 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:28:28 +0000 (0:00:00.154) 0:01:12.137 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-ci_fixgl10fh3q/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-ci_fixgl10fh3q/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:28:28 +0000 (0:00:00.059) 0:01:12.197 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:28:28 +0000 (0:00:00.043) 0:01:12.240 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:28:28 +0000 (0:00:00.051) 0:01:12.292 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:28:28 +0000 (0:00:00.171) 0:01:12.463 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:28:28 +0000 (0:00:00.040) 0:01:12.503 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022455", "end": "2024-01-26 21:28:28.576107", "rc": 1, "start": "2024-01-26 21:28:28.553652" } 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:28:28 +0000 (0:00:00.185) 0:01:12.689 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:28:28 +0000 (0:00:00.028) 0:01:12.718 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:28:28 +0000 (0:00:00.029) 0:01:12.747 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:28:28 +0000 (0:00:00.064) 0:01:12.812 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:28:28 +0000 (0:00:00.027) 0:01:12.840 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:28:28 +0000 (0:00:00.030) 0:01:12.870 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 26 January 2024 21:28:28 +0000 (0:00:00.029) 0:01:12.899 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.677372", "end": "2024-01-26 21:28:29.607900", "rc": 0, "start": "2024-01-26 21:28:28.930528" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 26 January 2024 21:28:29 +0000 (0:00:00.820) 0:01:13.720 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 26 January 2024 21:28:29 +0000 (0:00:00.045) 0:01:13.766 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:28:29 +0000 (0:00:00.034) 0:01:13.801 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:28:29 +0000 (0:00:00.038) 0:01:13.839 ******** 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-ci_fixgl10fh3q/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:28:29 +0000 (0:00:00.029) 0:01:13.869 ******** included: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:28:29 +0000 (0:00:00.043) 0:01:13.913 ******** 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.046786", "end": "2024-01-26 21:28:29.991930", "rc": 0, "start": "2024-01-26 21:28:29.945144" } 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 Friday 26 January 2024 21:28:30 +0000 (0:00:00.219) 0:01:14.132 ******** =============================================================================== fedora.linux_system_roles.network : Install packages -------------------- 2.37s /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Gather current interface info ------------------------------------------- 1.16s /WORKDIR/git-ci_fixgl10fh3q/tests/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.15s /WORKDIR/git-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.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-ci_fixgl10fh3q/.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.96s /WORKDIR/git-ci_fixgl10fh3q/.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.96s /WORKDIR/git-ci_fixgl10fh3q/.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.96s /WORKDIR/git-ci_fixgl10fh3q/.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.85s /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.84s /WORKDIR/git-ci_fixgl10fh3q/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.83s /WORKDIR/git-ci_fixgl10fh3q/.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. ---^---^---^---^---^---