# 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_fixqmmb5r7e/.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_fixqmmb5r7e/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/tests_states_initscripts.yml:5 Friday 26 January 2024 21:29:20 +0000 (0:00:00.018) 0:00:00.018 ******** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/tests_states_initscripts.yml:8 Friday 26 January 2024 21:29:21 +0000 (0:00:00.756) 0:00:00.774 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/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_fixqmmb5r7e/tests/tasks/el_repo_setup.yml:3 Friday 26 January 2024 21:29:21 +0000 (0:00:00.013) 0:00:00.787 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/tasks/el_repo_setup.yml:17 Friday 26 January 2024 21:29:21 +0000 (0:00:00.331) 0:00:01.119 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/tasks/el_repo_setup.yml:22 Friday 26 January 2024 21:29:22 +0000 (0:00:00.418) 0:00:01.537 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/tasks/el_repo_setup.yml:26 Friday 26 January 2024 21:29:22 +0000 (0:00:00.021) 0:00:01.559 ******** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'CentOS'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/tasks/el_repo_setup.yml:51 Friday 26 January 2024 21:29:22 +0000 (0:00:00.047) 0:00:01.607 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/tasks/enable_epel.yml:8 Friday 26 January 2024 21:29:22 +0000 (0:00:00.056) 0:00:01.663 ******** 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_fixqmmb5r7e/tests/tasks/enable_epel.yml:24 Friday 26 January 2024 21:29:22 +0000 (0:00:00.208) 0:00:01.872 ******** 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_fixqmmb5r7e/tests/tasks/enable_epel.yml:30 Friday 26 January 2024 21:29:23 +0000 (0:00:00.567) 0:00:02.440 ******** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.209166", "end": "2024-01-26 21:29:23.652435", "rc": 0, "start": "2024-01-26 21:29:23.443269" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/tasks/enable_epel.yml:35 Friday 26 January 2024 21:29:23 +0000 (0:00:00.386) 0:00:02.826 ******** 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_fixqmmb5r7e/tests/tasks/enable_epel.yml:40 Friday 26 January 2024 21:29:23 +0000 (0:00:00.038) 0:00:02.864 ******** 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_fixqmmb5r7e/tests/tests_states_initscripts.yml:10 Friday 26 January 2024 21:29:23 +0000 (0:00:00.041) 0:00:02.905 ******** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tests_states.yml:3 Friday 26 January 2024 21:29:23 +0000 (0:00:00.052) 0:00:02.958 ******** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tests_states.yml:11 Friday 26 January 2024 21:29:24 +0000 (0:00:00.676) 0:00:03.634 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tests_states.yml:22 Friday 26 January 2024 21:29:24 +0000 (0:00:00.063) 0:00:03.698 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:29:24 +0000 (0:00:00.029) 0:00:03.727 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:29:24 +0000 (0:00:00.044) 0:00:03.772 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:29:24 +0000 (0:00:00.258) 0:00:04.030 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:29:24 +0000 (0:00:00.086) 0:00:04.116 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:29:25 +0000 (0:00:00.044) 0:00:04.160 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003988", "end": "2024-01-26 21:29:25.176521", "rc": 0, "start": "2024-01-26 21:29:25.172533" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:29:25 +0000 (0:00:00.187) 0:00:04.348 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:29:25 +0000 (0:00:00.044) 0:00:04.392 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:29:25 +0000 (0:00:00.101) 0:00:04.494 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ci_fixqmmb5r7e/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_fixqmmb5r7e/tests/playbooks/tasks/delete_interface.yml:3 Friday 26 January 2024 21:29:25 +0000 (0:00:00.029) 0:00:04.523 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.012017", "end": "2024-01-26 21:29:25.575355", "rc": 1, "start": "2024-01-26 21:29:25.563338" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:29:25 +0000 (0:00:00.228) 0:00:04.752 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:29:25 +0000 (0:00:00.046) 0:00:04.798 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:29:25 +0000 (0:00:00.200) 0:00:04.999 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:29:25 +0000 (0:00:00.041) 0:00:05.041 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:29:25 +0000 (0:00:00.041) 0:00:05.082 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:29:26 +0000 (0:00:00.085) 0:00:05.167 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/.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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:29:26 +0000 (0:00:00.036) 0:00:05.203 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:29:26 +0000 (0:00:00.020) 0:00:05.224 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:29:26 +0000 (0:00:00.019) 0:00:05.244 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:29:26 +0000 (0:00:00.021) 0:00:05.265 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:29:27 +0000 (0:00:01.019) 0:00:06.284 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:29:28 +0000 (0:00:01.115) 0:00:07.400 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:29:28 +0000 (0:00:00.030) 0:00:07.431 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:29:28 +0000 (0:00:00.032) 0:00:07.464 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:29:28 +0000 (0:00:00.030) 0:00:07.495 ******** changed: [sut] => { "changed": true, "changes": { "installed": [ "bridge-utils" ] }, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7_9.1.x86_64 providing dhclient is already installed", "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 rhel-Server 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:29:30 +0000 (0:00:02.620) 0:00:10.116 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:29:31 +0000 (0:00:00.088) 0:00:10.204 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:29:31 +0000 (0:00:00.071) 0:00:10.275 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:29:31 +0000 (0:00:00.102) 0:00:10.378 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:29:31 +0000 (0:00:00.031) 0:00:10.410 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:29:31 +0000 (0:00:00.053) 0:00:10.463 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:29:31 +0000 (0:00:00.571) 0:00:11.035 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11182eeur6hwu/tmp0_1px8g_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:29:32 +0000 (0:00:00.383) 0:00:11.419 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:29:32 +0000 (0:00:00.706) 0:00:12.125 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:29:33 +0000 (0:00:00.055) 0:00:12.181 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:29:33 +0000 (0:00:00.057) 0:00:12.238 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:29:33 +0000 (0:00:00.061) 0:00:12.300 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:29:33 +0000 (0:00:00.038) 0:00:12.339 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:29:33 +0000 (0:00:00.295) 0:00:12.634 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:29:33 +0000 (0:00:00.053) 0:00:12.688 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/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_fixqmmb5r7e/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:29:33 +0000 (0:00:00.066) 0:00:12.755 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:29:33 +0000 (0:00:00.056) 0:00:12.812 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:29:33 +0000 (0:00:00.029) 0:00:12.842 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304572.9480076, "block_size": 4096, "blocks": 8, "ctime": 1706304572.9480076, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416148, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304572.9480076, "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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:29:33 +0000 (0:00:00.171) 0:00:13.013 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:29:33 +0000 (0:00:00.087) 0:00:13.100 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025479", "end": "2024-01-26 21:29:34.169092", "rc": 1, "start": "2024-01-26 21:29:34.143613" } 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:29:34 +0000 (0:00:00.284) 0:00:13.385 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:29:34 +0000 (0:00:00.069) 0:00:13.454 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004147", "end": "2024-01-26 21:29:34.444811", "rc": 0, "start": "2024-01-26 21:29:34.440664" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:29:34 +0000 (0:00:00.165) 0:00:13.619 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:29:34 +0000 (0:00:00.031) 0:00:13.650 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004094", "end": "2024-01-26 21:29:34.638119", "rc": 0, "start": "2024-01-26 21:29:34.634025" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:29:34 +0000 (0:00:00.158) 0:00:13.809 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:29:34 +0000 (0:00:00.051) 0:00:13.861 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:29:34 +0000 (0:00:00.117) 0:00:13.978 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:29:34 +0000 (0:00:00.068) 0:00:14.047 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:29:34 +0000 (0:00:00.089) 0:00:14.136 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:29:35 +0000 (0:00:00.031) 0:00:14.167 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:29:35 +0000 (0:00:00.028) 0:00:14.196 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/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_fixqmmb5r7e/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:29:35 +0000 (0:00:00.050) 0:00:14.247 ******** 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.047634", "end": "2024-01-26 21:29:35.274731", "rc": 1, "start": "2024-01-26 21:29:35.227097" } 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_fixqmmb5r7e/tests/playbooks/tests_states.yml:45 Friday 26 January 2024 21:29:35 +0000 (0:00:00.199) 0:00:14.446 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:29:35 +0000 (0:00:00.046) 0:00:14.493 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:29:35 +0000 (0:00:00.032) 0:00:14.525 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:29:35 +0000 (0:00:00.074) 0:00:14.600 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:29:35 +0000 (0:00:00.077) 0:00:14.678 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:29:35 +0000 (0:00:00.131) 0:00:14.809 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003988", "end": "2024-01-26 21:29:35.871911", "rc": 0, "start": "2024-01-26 21:29:35.867923" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:29:35 +0000 (0:00:00.236) 0:00:15.046 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:29:35 +0000 (0:00:00.052) 0:00:15.098 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:29:36 +0000 (0:00:00.084) 0:00:15.183 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ci_fixqmmb5r7e/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_fixqmmb5r7e/tests/playbooks/tasks/delete_interface.yml:3 Friday 26 January 2024 21:29:36 +0000 (0:00:00.048) 0:00:15.231 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008286", "end": "2024-01-26 21:29:36.231952", "rc": 1, "start": "2024-01-26 21:29:36.223666" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:29:36 +0000 (0:00:00.194) 0:00:15.425 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:29:36 +0000 (0:00:00.250) 0:00:15.676 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:29:36 +0000 (0:00:00.310) 0:00:15.987 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:29:36 +0000 (0:00:00.069) 0:00:16.057 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/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_fixqmmb5r7e/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 26 January 2024 21:29:37 +0000 (0:00:00.134) 0:00:16.191 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:29:37 +0000 (0:00:00.291) 0:00:16.482 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/.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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:29:37 +0000 (0:00:00.187) 0:00:16.670 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:29:37 +0000 (0:00:00.154) 0:00:16.825 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:29:37 +0000 (0:00:00.181) 0:00:17.006 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:29:37 +0000 (0:00:00.079) 0:00:17.085 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:29:38 +0000 (0:00:01.007) 0:00:18.093 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:29:39 +0000 (0:00:00.789) 0:00:18.882 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:29:39 +0000 (0:00:00.041) 0:00:18.923 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:29:39 +0000 (0:00:00.032) 0:00:18.956 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:29:39 +0000 (0:00:00.039) 0:00:18.995 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:29:39 +0000 (0:00:00.075) 0:00:19.071 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:29:39 +0000 (0:00:00.070) 0:00:19.141 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:29:40 +0000 (0:00:00.054) 0:00:19.196 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:29:40 +0000 (0:00:00.063) 0:00:19.259 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:29:40 +0000 (0:00:00.065) 0:00:19.325 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:29:40 +0000 (0:00:00.039) 0:00:19.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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:29:40 +0000 (0:00:00.333) 0:00:19.698 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11182eeur6hwu/tmp5o2nl2fg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:29:40 +0000 (0:00:00.380) 0:00:20.079 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:29:41 +0000 (0:00:00.311) 0:00:20.391 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:29:41 +0000 (0:00:00.029) 0:00:20.420 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:29:41 +0000 (0:00:00.058) 0:00:20.478 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:29:41 +0000 (0:00:00.031) 0:00:20.510 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:29:41 +0000 (0:00:00.030) 0:00:20.541 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 26 January 2024 21:29:41 +0000 (0:00:00.162) 0:00:20.704 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:29:41 +0000 (0:00:00.035) 0:00:20.740 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-ci_fixqmmb5r7e/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_fixqmmb5r7e/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:29:41 +0000 (0:00:00.074) 0:00:20.814 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:29:41 +0000 (0:00:00.040) 0:00:20.854 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:29:41 +0000 (0:00:00.174) 0:00:21.029 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:29:41 +0000 (0:00:00.033) 0:00:21.063 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:29:41 +0000 (0:00:00.039) 0:00:21.103 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:29:41 +0000 (0:00:00.030) 0:00:21.133 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304581.213046, "block_size": 4096, "blocks": 8, "ctime": 1706304581.213046, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416148, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304581.213046, "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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:29:42 +0000 (0:00:00.149) 0:00:21.283 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:29:42 +0000 (0:00:00.031) 0:00:21.314 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022344", "end": "2024-01-26 21:29:42.318726", "rc": 1, "start": "2024-01-26 21:29:42.296382" } 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:29:42 +0000 (0:00:00.192) 0:00:21.507 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:29:42 +0000 (0:00:00.055) 0:00:21.562 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004167", "end": "2024-01-26 21:29:42.554060", "rc": 0, "start": "2024-01-26 21:29:42.549893" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:29:42 +0000 (0:00:00.193) 0:00:21.756 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:29:42 +0000 (0:00:00.035) 0:00:21.791 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004218", "end": "2024-01-26 21:29:42.792417", "rc": 0, "start": "2024-01-26 21:29:42.788199" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:29:42 +0000 (0:00:00.182) 0:00:21.974 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:29:42 +0000 (0:00:00.053) 0:00:22.027 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:29:42 +0000 (0:00:00.033) 0:00:22.061 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:29:42 +0000 (0:00:00.060) 0:00:22.121 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:29:43 +0000 (0:00:00.031) 0:00:22.153 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:29:43 +0000 (0:00:00.025) 0:00:22.178 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:29:43 +0000 (0:00:00.056) 0:00:22.235 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/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_fixqmmb5r7e/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:29:43 +0000 (0:00:00.098) 0:00:22.333 ******** 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.045204", "end": "2024-01-26 21:29:43.363786", "rc": 1, "start": "2024-01-26 21:29:43.318582" } 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_fixqmmb5r7e/tests/playbooks/tests_states.yml:65 Friday 26 January 2024 21:29:43 +0000 (0:00:00.210) 0:00:22.544 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:29:43 +0000 (0:00:00.051) 0:00:22.595 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:29:43 +0000 (0:00:00.057) 0:00:22.653 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:29:43 +0000 (0:00:00.088) 0:00:22.741 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:29:43 +0000 (0:00:00.048) 0:00:22.790 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:29:43 +0000 (0:00:00.076) 0:00:22.866 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004501", "end": "2024-01-26 21:29:43.869305", "rc": 0, "start": "2024-01-26 21:29:43.864804" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:29:43 +0000 (0:00:00.182) 0:00:23.049 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:29:43 +0000 (0:00:00.038) 0:00:23.087 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:29:44 +0000 (0:00:00.061) 0:00:23.149 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:29:44 +0000 (0:00:00.107) 0:00:23.257 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:29:44 +0000 (0:00:00.113) 0:00:23.370 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/.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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:29:44 +0000 (0:00:00.049) 0:00:23.419 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:29:44 +0000 (0:00:00.075) 0:00:23.495 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:29:44 +0000 (0:00:00.087) 0:00:23.582 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:29:44 +0000 (0:00:00.048) 0:00:23.630 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:29:45 +0000 (0:00:00.963) 0:00:24.594 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:29:46 +0000 (0:00:00.877) 0:00:25.472 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:29:46 +0000 (0:00:00.080) 0:00:25.552 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:29:46 +0000 (0:00:00.183) 0:00:25.736 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:29:46 +0000 (0:00:00.104) 0:00:25.840 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:29:46 +0000 (0:00:00.067) 0:00:25.907 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:29:46 +0000 (0:00:00.087) 0:00:25.995 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:29:46 +0000 (0:00:00.060) 0:00:26.055 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:29:46 +0000 (0:00:00.037) 0:00:26.093 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:29:47 +0000 (0:00:00.060) 0:00:26.154 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:29:47 +0000 (0:00:00.040) 0:00:26.195 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:29:47 +0000 (0:00:00.387) 0:00:26.582 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11182eeur6hwu/tmpt9ojg33p" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:29:47 +0000 (0:00:00.528) 0:00:27.111 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:29:48 +0000 (0:00:00.382) 0:00:27.494 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:29:48 +0000 (0:00:00.068) 0:00:27.563 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:29:48 +0000 (0:00:00.069) 0:00:27.632 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:29:48 +0000 (0:00:00.076) 0:00:27.709 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:29:48 +0000 (0:00:00.075) 0:00:27.784 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:29:48 +0000 (0:00:00.180) 0:00:27.965 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:29:48 +0000 (0:00:00.039) 0:00:28.004 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:29:48 +0000 (0:00:00.062) 0:00:28.067 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:29:49 +0000 (0:00:00.190) 0:00:28.258 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/.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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:29:49 +0000 (0:00:00.048) 0:00:28.306 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:29:49 +0000 (0:00:00.056) 0:00:28.363 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:29:49 +0000 (0:00:00.086) 0:00:28.449 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:29:49 +0000 (0:00:00.065) 0:00:28.515 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:29:50 +0000 (0:00:00.973) 0:00:29.488 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:29:51 +0000 (0:00:00.807) 0:00:30.296 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:29:51 +0000 (0:00:00.072) 0:00:30.369 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:29:51 +0000 (0:00:00.067) 0:00:30.436 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:29:51 +0000 (0:00:00.055) 0:00:30.492 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:29:51 +0000 (0:00:00.161) 0:00:30.653 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:29:51 +0000 (0:00:00.066) 0:00:30.720 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:29:51 +0000 (0:00:00.048) 0:00:30.768 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:29:51 +0000 (0:00:00.059) 0:00:30.827 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:29:51 +0000 (0:00:00.127) 0:00:30.954 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:29:51 +0000 (0:00:00.064) 0:00:31.019 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:29:52 +0000 (0:00:00.322) 0:00:31.341 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11182eeur6hwu/tmp6nmju0dz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:29:52 +0000 (0:00:00.256) 0:00:31.597 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:29:53 +0000 (0:00:00.559) 0:00:32.157 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:29:53 +0000 (0:00:00.042) 0:00:32.199 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:29:53 +0000 (0:00:00.060) 0:00:32.259 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:29:53 +0000 (0:00:00.071) 0:00:32.331 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:29:53 +0000 (0:00:00.062) 0:00:32.394 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:29:53 +0000 (0:00:00.183) 0:00:32.577 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ci_fixqmmb5r7e/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_fixqmmb5r7e/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:29:53 +0000 (0:00:00.087) 0:00:32.665 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:29:53 +0000 (0:00:00.099) 0:00:32.765 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304592.8981004, "block_size": 4096, "blocks": 0, "ctime": 1706304592.8941004, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17512, "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": 1706304592.8941004, "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_fixqmmb5r7e/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:29:53 +0000 (0:00:00.211) 0:00:32.977 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:29:53 +0000 (0:00:00.036) 0:00:33.013 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:29:53 +0000 (0:00:00.051) 0:00:33.065 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:29:53 +0000 (0:00:00.037) 0:00:33.102 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304592.7030995, "block_size": 4096, "blocks": 8, "ctime": 1706304588.283079, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4535613, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304588.283079, "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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:29:54 +0000 (0:00:00.289) 0:00:33.392 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:29:54 +0000 (0:00:00.066) 0:00:33.458 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024204", "end": "2024-01-26 21:29:54.542656", "rc": 1, "start": "2024-01-26 21:29:54.518452" } 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:29:54 +0000 (0:00:00.271) 0:00:33.730 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:29:54 +0000 (0:00:00.083) 0:00:33.814 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004198", "end": "2024-01-26 21:29:54.932900", "rc": 0, "start": "2024-01-26 21:29:54.928702" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:29:54 +0000 (0:00:00.299) 0:00:34.113 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:29:55 +0000 (0:00:00.058) 0:00:34.172 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.004175", "end": "2024-01-26 21:29:55.197006", "rc": 0, "start": "2024-01-26 21:29:55.192831" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:29:55 +0000 (0:00:00.214) 0:00:34.387 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:29:55 +0000 (0:00:00.045) 0:00:34.432 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:29:55 +0000 (0:00:00.055) 0:00:34.487 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:29:55 +0000 (0:00:00.166) 0:00:34.653 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:29:55 +0000 (0:00:00.092) 0:00:34.746 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:29:55 +0000 (0:00:00.148) 0:00:34.894 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:29:55 +0000 (0:00:00.094) 0:00:34.988 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/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_fixqmmb5r7e/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:29:55 +0000 (0:00:00.115) 0:00:35.104 ******** 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.048678", "end": "2024-01-26 21:29:56.198896", "rc": 0, "start": "2024-01-26 21:29:56.150218" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tests_states.yml:83 Friday 26 January 2024 21:29:56 +0000 (0:00:00.269) 0:00:35.373 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/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_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:29:56 +0000 (0:00:00.048) 0:00:35.421 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:29:56 +0000 (0:00:00.034) 0:00:35.456 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:29:56 +0000 (0:00:00.115) 0:00:35.571 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:29:56 +0000 (0:00:00.092) 0:00:35.664 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:29:56 +0000 (0:00:00.101) 0:00:35.765 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004228", "end": "2024-01-26 21:29:56.804815", "rc": 0, "start": "2024-01-26 21:29:56.800587" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:29:56 +0000 (0:00:00.229) 0:00:35.995 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:29:56 +0000 (0:00:00.065) 0:00:36.060 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:29:57 +0000 (0:00:00.118) 0:00:36.178 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:29:57 +0000 (0:00:00.122) 0:00:36.301 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:29:57 +0000 (0:00:00.190) 0:00:36.491 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/.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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:29:57 +0000 (0:00:00.086) 0:00:36.578 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:29:57 +0000 (0:00:00.113) 0:00:36.691 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:29:57 +0000 (0:00:00.036) 0:00:36.728 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:29:57 +0000 (0:00:00.097) 0:00:36.825 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:29:58 +0000 (0:00:01.123) 0:00:37.948 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:29:59 +0000 (0:00:01.038) 0:00:38.987 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:29:59 +0000 (0:00:00.053) 0:00:39.041 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:29:59 +0000 (0:00:00.042) 0:00:39.083 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:29:59 +0000 (0:00:00.041) 0:00:39.125 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:30:00 +0000 (0:00:00.090) 0:00:39.216 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:30:00 +0000 (0:00:00.076) 0:00:39.293 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:30:00 +0000 (0:00:00.062) 0:00:39.355 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:30:00 +0000 (0:00:00.089) 0:00:39.445 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:30:00 +0000 (0:00:00.048) 0:00:39.493 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:30:00 +0000 (0:00:00.078) 0:00:39.572 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:30:00 +0000 (0:00:00.312) 0:00:39.884 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11182eeur6hwu/tmpkyjmj77t" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:30:01 +0000 (0:00:00.307) 0:00:40.192 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:30:01 +0000 (0:00:00.307) 0:00:40.500 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:30:01 +0000 (0:00:00.055) 0:00:40.555 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:30:01 +0000 (0:00:00.040) 0:00:40.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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:30:01 +0000 (0:00:00.061) 0:00:40.657 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:30:01 +0000 (0:00:00.092) 0:00:40.750 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:30:02 +0000 (0:00:00.527) 0:00:41.278 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:30:02 +0000 (0:00:00.053) 0:00:41.332 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:30:02 +0000 (0:00:00.132) 0:00:41.464 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/.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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:02 +0000 (0:00:00.060) 0:00:41.525 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:30:02 +0000 (0:00:00.092) 0:00:41.617 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:30:02 +0000 (0:00:00.086) 0:00:41.704 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:30:02 +0000 (0:00:00.103) 0:00:41.808 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:30:03 +0000 (0:00:00.951) 0:00:42.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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:30:04 +0000 (0:00:00.907) 0:00:43.666 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:30:04 +0000 (0:00:00.035) 0:00:43.702 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:30:04 +0000 (0:00:00.039) 0:00:43.741 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:30:04 +0000 (0:00:00.041) 0:00:43.783 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:30:04 +0000 (0:00:00.081) 0:00:43.865 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:30:04 +0000 (0:00:00.036) 0:00:43.902 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:30:04 +0000 (0:00:00.061) 0:00:43.963 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:30:04 +0000 (0:00:00.058) 0:00:44.022 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:30:04 +0000 (0:00:00.045) 0:00:44.068 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:30:04 +0000 (0:00:00.060) 0:00:44.128 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:30:05 +0000 (0:00:00.372) 0:00:44.501 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11182eeur6hwu/tmp7w528lr5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:30:05 +0000 (0:00:00.375) 0:00:44.876 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:30:06 +0000 (0:00:00.534) 0:00:45.411 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:30:06 +0000 (0:00:00.122) 0:00:45.533 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:30:06 +0000 (0:00:00.052) 0:00:45.585 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:30:06 +0000 (0:00:00.077) 0:00:45.662 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:30:06 +0000 (0:00:00.064) 0:00:45.727 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:30:06 +0000 (0:00:00.211) 0:00:45.938 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/remove_profile.yml:3 Friday 26 January 2024 21:30:06 +0000 (0:00:00.099) 0:00:46.038 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:30:07 +0000 (0:00:00.124) 0:00:46.163 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/.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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:07 +0000 (0:00:00.140) 0:00:46.303 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:30:07 +0000 (0:00:00.250) 0:00:46.554 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:30:07 +0000 (0:00:00.083) 0:00:46.638 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:30:07 +0000 (0:00:00.108) 0:00:46.746 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:30:08 +0000 (0:00:01.040) 0:00:47.787 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:30:09 +0000 (0:00:00.796) 0:00:48.584 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:30:09 +0000 (0:00:00.050) 0:00:48.634 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:30:09 +0000 (0:00:00.047) 0:00:48.682 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:30:09 +0000 (0:00:00.071) 0:00:48.754 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:30:09 +0000 (0:00:00.060) 0:00:48.814 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:30:09 +0000 (0:00:00.097) 0:00:48.911 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:30:09 +0000 (0:00:00.078) 0:00:48.990 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:30:09 +0000 (0:00:00.045) 0:00:49.035 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:30:09 +0000 (0:00:00.065) 0:00:49.100 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:30:10 +0000 (0:00:00.047) 0:00:49.148 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:30:10 +0000 (0:00:00.437) 0:00:49.585 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11182eeur6hwu/tmpw9ku289q" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:30:10 +0000 (0:00:00.384) 0:00:49.969 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:30:11 +0000 (0:00:00.424) 0:00:50.394 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:30:11 +0000 (0:00:00.099) 0:00:50.493 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:30:11 +0000 (0:00:00.052) 0:00:50.546 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:30:11 +0000 (0:00:00.039) 0:00:50.586 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:30:11 +0000 (0:00:00.068) 0:00:50.654 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:30:11 +0000 (0:00:00.200) 0:00:50.855 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ci_fixqmmb5r7e/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_fixqmmb5r7e/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:30:11 +0000 (0:00:00.067) 0:00:50.922 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:30:11 +0000 (0:00:00.061) 0:00:50.984 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304606.1571622, "block_size": 4096, "blocks": 0, "ctime": 1706304606.155162, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17512, "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": 1706304606.155162, "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_fixqmmb5r7e/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:30:12 +0000 (0:00:00.189) 0:00:51.174 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:30:12 +0000 (0:00:00.044) 0:00:51.219 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:30:12 +0000 (0:00:00.052) 0:00:51.272 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:30:12 +0000 (0:00:00.052) 0:00:51.324 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:30:12 +0000 (0:00:00.230) 0:00:51.555 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:30:12 +0000 (0:00:00.036) 0:00:51.592 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023512", "end": "2024-01-26 21:30:12.601781", "rc": 1, "start": "2024-01-26 21:30:12.578269" } 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:30:12 +0000 (0:00:00.190) 0:00:51.782 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:30:12 +0000 (0:00:00.053) 0:00:51.835 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:30:12 +0000 (0:00:00.076) 0:00:51.912 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:30:12 +0000 (0:00:00.058) 0:00:51.970 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:30:12 +0000 (0:00:00.039) 0:00:52.009 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:30:12 +0000 (0:00:00.053) 0:00:52.063 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:30:12 +0000 (0:00:00.039) 0:00:52.102 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:30:13 +0000 (0:00:00.043) 0:00:52.146 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:30:13 +0000 (0:00:00.053) 0:00:52.199 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/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_fixqmmb5r7e/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:30:13 +0000 (0:00:00.096) 0:00:52.296 ******** 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.050212", "end": "2024-01-26 21:30:13.376953", "rc": 0, "start": "2024-01-26 21:30:13.326741" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tests_states.yml:102 Friday 26 January 2024 21:30:13 +0000 (0:00:00.267) 0:00:52.564 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:30:13 +0000 (0:00:00.046) 0:00:52.611 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:30:13 +0000 (0:00:00.038) 0:00:52.650 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:30:13 +0000 (0:00:00.081) 0:00:52.731 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:30:13 +0000 (0:00:00.043) 0:00:52.775 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:30:13 +0000 (0:00:00.043) 0:00:52.819 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004276", "end": "2024-01-26 21:30:13.806452", "rc": 0, "start": "2024-01-26 21:30:13.802176" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:30:13 +0000 (0:00:00.162) 0:00:52.982 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:30:13 +0000 (0:00:00.034) 0:00:53.016 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:30:14 +0000 (0:00:00.154) 0:00:53.171 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:30:14 +0000 (0:00:00.074) 0:00:53.246 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:30:14 +0000 (0:00:00.069) 0:00:53.316 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/.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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:14 +0000 (0:00:00.174) 0:00:53.490 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:30:14 +0000 (0:00:00.122) 0:00:53.612 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:30:14 +0000 (0:00:00.094) 0:00:53.706 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:30:14 +0000 (0:00:00.043) 0:00:53.750 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:30:15 +0000 (0:00:00.945) 0:00:54.695 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:30:16 +0000 (0:00:00.822) 0:00:55.517 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:30:16 +0000 (0:00:00.072) 0:00:55.589 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:30:16 +0000 (0:00:00.075) 0:00:55.665 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:30:16 +0000 (0:00:00.067) 0:00:55.732 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:30:16 +0000 (0:00:00.145) 0:00:55.878 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:30:16 +0000 (0:00:00.042) 0:00:55.920 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:30:16 +0000 (0:00:00.104) 0:00:56.025 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:30:16 +0000 (0:00:00.044) 0:00:56.070 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:30:17 +0000 (0:00:00.091) 0:00:56.161 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:30:17 +0000 (0:00:00.032) 0:00:56.194 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:30:17 +0000 (0:00:00.365) 0:00:56.560 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11182eeur6hwu/tmpgjrm8saq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:30:17 +0000 (0:00:00.456) 0:00:57.016 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:30:18 +0000 (0:00:00.319) 0:00:57.336 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:30:18 +0000 (0:00:00.045) 0:00:57.381 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:30:18 +0000 (0:00:00.067) 0:00:57.448 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:30:18 +0000 (0:00:00.080) 0:00:57.529 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:30:18 +0000 (0:00:00.059) 0:00:57.589 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:30:18 +0000 (0:00:00.210) 0:00:57.800 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:30:18 +0000 (0:00:00.039) 0:00:57.839 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:30:18 +0000 (0:00:00.109) 0:00:57.948 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/.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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:18 +0000 (0:00:00.141) 0:00:58.089 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:30:19 +0000 (0:00:00.242) 0:00:58.332 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:30:19 +0000 (0:00:00.124) 0:00:58.457 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:30:19 +0000 (0:00:00.068) 0:00:58.525 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:30:20 +0000 (0:00:01.008) 0:00:59.534 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:30:21 +0000 (0:00:00.908) 0:01:00.442 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:30:21 +0000 (0:00:00.042) 0:01:00.485 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:30:21 +0000 (0:00:00.084) 0:01:00.569 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:30:21 +0000 (0:00:00.033) 0:01:00.602 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:30:21 +0000 (0:00:00.066) 0:01:00.669 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:30:21 +0000 (0:00:00.073) 0:01:00.743 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:30:21 +0000 (0:00:00.134) 0:01:00.878 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:30:21 +0000 (0:00:00.071) 0:01:00.949 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:30:21 +0000 (0:00:00.060) 0:01:01.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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:30:21 +0000 (0:00:00.084) 0:01:01.095 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:30:22 +0000 (0:00:00.383) 0:01:01.478 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11182eeur6hwu/tmp9aay9x6d" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:30:22 +0000 (0:00:00.288) 0:01:01.767 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:30:23 +0000 (0:00:00.700) 0:01:02.468 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:30:23 +0000 (0:00:00.065) 0:01:02.533 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:30:23 +0000 (0:00:00.060) 0:01:02.593 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:30:23 +0000 (0:00:00.033) 0:01:02.627 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:30:23 +0000 (0:00:00.122) 0:01:02.749 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/remove_profile.yml:3 Friday 26 January 2024 21:30:23 +0000 (0:00:00.237) 0:01:02.986 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:30:23 +0000 (0:00:00.112) 0:01:03.099 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/.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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:24 +0000 (0:00:00.089) 0:01:03.189 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:30:24 +0000 (0:00:00.094) 0:01:03.284 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:30:24 +0000 (0:00:00.081) 0:01:03.365 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:30:24 +0000 (0:00:00.055) 0:01:03.421 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:30:25 +0000 (0:00:00.982) 0:01:04.403 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:30:26 +0000 (0:00:00.922) 0:01:05.326 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:30:26 +0000 (0:00:00.060) 0:01:05.386 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:30:26 +0000 (0:00:00.042) 0:01:05.429 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:30:26 +0000 (0:00:00.050) 0:01:05.479 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:30:26 +0000 (0:00:00.110) 0:01:05.589 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:30:26 +0000 (0:00:00.040) 0:01:05.629 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:30:26 +0000 (0:00:00.061) 0:01:05.691 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:30:26 +0000 (0:00:00.038) 0:01:05.730 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:30:26 +0000 (0:00:00.035) 0:01:05.765 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:30:26 +0000 (0:00:00.035) 0:01:05.801 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:30:26 +0000 (0:00:00.344) 0:01:06.145 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11182eeur6hwu/tmpnssegky6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:30:27 +0000 (0:00:00.308) 0:01:06.453 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:30:27 +0000 (0:00:00.274) 0:01:06.728 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:30:27 +0000 (0:00:00.069) 0:01:06.797 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:30:27 +0000 (0:00:00.044) 0:01:06.842 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:30:27 +0000 (0:00:00.072) 0:01:06.914 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:30:27 +0000 (0:00:00.044) 0:01:06.959 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:30:28 +0000 (0:00:00.301) 0:01:07.260 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:30:28 +0000 (0:00:00.091) 0:01:07.352 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:30:28 +0000 (0:00:00.118) 0:01:07.470 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/.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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:28 +0000 (0:00:00.099) 0:01:07.570 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:30:28 +0000 (0:00:00.045) 0:01:07.615 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:30:28 +0000 (0:00:00.087) 0:01:07.703 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:30:28 +0000 (0:00:00.052) 0:01:07.755 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:30:29 +0000 (0:00:00.897) 0:01:08.652 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:30:30 +0000 (0:00:00.844) 0:01:09.497 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:30:30 +0000 (0:00:00.070) 0:01:09.568 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:30:30 +0000 (0:00:00.038) 0:01:09.606 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:30:30 +0000 (0:00:00.041) 0:01:09.647 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:30:30 +0000 (0:00:00.083) 0:01:09.731 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:30:30 +0000 (0:00:00.060) 0:01:09.791 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:30:30 +0000 (0:00:00.104) 0:01:09.896 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:30:30 +0000 (0:00:00.064) 0:01:09.960 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:30:30 +0000 (0:00:00.141) 0:01:10.102 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:30:30 +0000 (0:00:00.040) 0:01:10.142 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:30:31 +0000 (0:00:00.307) 0:01:10.450 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11182eeur6hwu/tmpd9j6y994" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:30:31 +0000 (0:00:00.248) 0:01:10.698 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:30:31 +0000 (0:00:00.262) 0:01:10.961 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:30:31 +0000 (0:00:00.065) 0:01:11.026 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:30:31 +0000 (0:00:00.066) 0:01:11.093 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:30:32 +0000 (0:00:00.062) 0:01:11.156 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:30:32 +0000 (0:00:00.052) 0:01:11.208 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:30:32 +0000 (0:00:00.181) 0:01:11.390 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/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_fixqmmb5r7e/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:30:32 +0000 (0:00:00.067) 0:01:11.457 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:30:32 +0000 (0:00:00.054) 0:01:11.512 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:30:32 +0000 (0:00:00.035) 0:01:11.548 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:30:32 +0000 (0:00:00.179) 0:01:11.727 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:30:32 +0000 (0:00:00.048) 0:01:11.775 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023957", "end": "2024-01-26 21:30:32.803787", "rc": 1, "start": "2024-01-26 21:30:32.779830" } 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:30:32 +0000 (0:00:00.222) 0:01:11.998 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:30:32 +0000 (0:00:00.060) 0:01:12.058 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:30:33 +0000 (0:00:00.225) 0:01:12.284 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:30:33 +0000 (0:00:00.089) 0:01:12.373 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:30:33 +0000 (0:00:00.099) 0:01:12.472 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:30:33 +0000 (0:00:00.055) 0:01:12.528 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:30:33 +0000 (0:00:00.043) 0:01:12.571 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:30:33 +0000 (0:00:00.033) 0:01:12.604 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:30:33 +0000 (0:00:00.070) 0:01:12.675 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/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_fixqmmb5r7e/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:30:33 +0000 (0:00:00.140) 0:01:12.815 ******** 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.047284", "end": "2024-01-26 21:30:33.872961", "rc": 0, "start": "2024-01-26 21:30:33.825677" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tests_states.yml:124 Friday 26 January 2024 21:30:33 +0000 (0:00:00.240) 0:01:13.056 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/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_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:30:33 +0000 (0:00:00.052) 0:01:13.108 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:30:34 +0000 (0:00:00.059) 0:01:13.168 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:30:34 +0000 (0:00:00.134) 0:01:13.302 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:30:34 +0000 (0:00:00.070) 0:01:13.372 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:30:34 +0000 (0:00:00.076) 0:01:13.449 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004265", "end": "2024-01-26 21:30:34.465094", "rc": 0, "start": "2024-01-26 21:30:34.460829" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:30:34 +0000 (0:00:00.188) 0:01:13.637 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:30:34 +0000 (0:00:00.131) 0:01:13.768 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:30:34 +0000 (0:00:00.067) 0:01:13.835 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:30:34 +0000 (0:00:00.063) 0:01:13.899 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:30:34 +0000 (0:00:00.053) 0:01:13.952 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/.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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:34 +0000 (0:00:00.073) 0:01:14.026 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:30:34 +0000 (0:00:00.071) 0:01:14.097 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:30:34 +0000 (0:00:00.040) 0:01:14.137 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:30:35 +0000 (0:00:00.058) 0:01:14.196 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:30:36 +0000 (0:00:00.965) 0:01:15.162 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:30:36 +0000 (0:00:00.832) 0:01:15.994 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:30:36 +0000 (0:00:00.073) 0:01:16.067 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:30:37 +0000 (0:00:00.090) 0:01:16.158 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:30:37 +0000 (0:00:00.063) 0:01:16.221 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:30:37 +0000 (0:00:00.231) 0:01:16.452 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:30:37 +0000 (0:00:00.065) 0:01:16.517 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:30:37 +0000 (0:00:00.074) 0:01:16.592 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:30:37 +0000 (0:00:00.044) 0:01:16.636 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:30:37 +0000 (0:00:00.082) 0:01:16.719 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:30:37 +0000 (0:00:00.040) 0:01:16.760 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:30:37 +0000 (0:00:00.297) 0:01:17.057 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11182eeur6hwu/tmp86ok7aft" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:30:38 +0000 (0:00:00.237) 0:01:17.295 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:30:38 +0000 (0:00:00.285) 0:01:17.580 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:30:38 +0000 (0:00:00.036) 0:01:17.616 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:30:38 +0000 (0:00:00.102) 0:01:17.718 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:30:38 +0000 (0:00:00.153) 0:01:17.872 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:30:38 +0000 (0:00:00.087) 0:01:17.960 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:30:39 +0000 (0:00:00.269) 0:01:18.229 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:30:39 +0000 (0:00:00.065) 0:01:18.294 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:30:39 +0000 (0:00:00.094) 0:01:18.389 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/.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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:39 +0000 (0:00:00.128) 0:01:18.518 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:30:39 +0000 (0:00:00.058) 0:01:18.576 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:30:39 +0000 (0:00:00.041) 0:01:18.618 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:30:39 +0000 (0:00:00.096) 0:01:18.714 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:30:40 +0000 (0:00:00.966) 0:01:19.680 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:30:41 +0000 (0:00:00.830) 0:01:20.510 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:30:41 +0000 (0:00:00.038) 0:01:20.549 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:30:41 +0000 (0:00:00.047) 0:01:20.596 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:30:41 +0000 (0:00:00.035) 0:01:20.632 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:30:41 +0000 (0:00:00.070) 0:01:20.702 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:30:41 +0000 (0:00:00.040) 0:01:20.742 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:30:41 +0000 (0:00:00.044) 0:01:20.786 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:30:41 +0000 (0:00:00.064) 0:01:20.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:30:41 +0000 (0:00:00.046) 0:01:20.898 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:30:41 +0000 (0:00:00.053) 0:01:20.952 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:30:42 +0000 (0:00:00.444) 0:01:21.396 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11182eeur6hwu/tmp_kjq1zss" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:30:42 +0000 (0:00:00.254) 0:01:21.651 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:30:43 +0000 (0:00:00.663) 0:01:22.314 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:30:43 +0000 (0:00:00.031) 0:01:22.345 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:30:43 +0000 (0:00:00.034) 0:01:22.379 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:30:43 +0000 (0:00:00.033) 0:01:22.413 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:30:43 +0000 (0:00:00.056) 0:01:22.470 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:30:43 +0000 (0:00:00.171) 0:01:22.641 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:30:43 +0000 (0:00:00.057) 0:01:22.698 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/.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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:43 +0000 (0:00:00.045) 0:01:22.743 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:30:43 +0000 (0:00:00.031) 0:01:22.775 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:30:43 +0000 (0:00:00.029) 0:01:22.805 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:30:43 +0000 (0:00:00.030) 0:01:22.835 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:30:44 +0000 (0:00:00.893) 0:01:23.729 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:30:45 +0000 (0:00:00.809) 0:01:24.538 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:30:45 +0000 (0:00:00.176) 0:01:24.715 ******** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:30:45 +0000 (0:00:00.068) 0:01:24.783 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:30:45 +0000 (0:00:00.054) 0:01:24.838 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:30:45 +0000 (0:00:00.202) 0:01:25.040 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:30:45 +0000 (0:00:00.096) 0:01:25.137 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:30:46 +0000 (0:00:00.086) 0:01:25.223 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:30:46 +0000 (0:00:00.094) 0:01:25.317 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:30:46 +0000 (0:00:00.071) 0:01:25.389 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:30:46 +0000 (0:00:00.060) 0:01:25.450 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:30:46 +0000 (0:00:00.379) 0:01:25.830 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11182eeur6hwu/tmpqgbw1d0h" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:30:46 +0000 (0:00:00.295) 0:01:26.125 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:30:47 +0000 (0:00:00.401) 0:01:26.526 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:30:47 +0000 (0:00:00.042) 0:01:26.569 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:30:47 +0000 (0:00:00.064) 0:01:26.633 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:30:47 +0000 (0:00:00.046) 0:01:26.680 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:30:47 +0000 (0:00:00.043) 0:01:26.724 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:30:47 +0000 (0:00:00.188) 0:01:26.912 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:30:47 +0000 (0:00:00.100) 0:01:27.012 ******** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Friday 26 January 2024 21:30:48 +0000 (0:00:00.208) 0:01:27.221 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/.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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:48 +0000 (0:00:00.081) 0:01:27.302 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Friday 26 January 2024 21:30:48 +0000 (0:00:00.066) 0:01:27.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 : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Friday 26 January 2024 21:30:48 +0000 (0:00:00.047) 0:01:27.416 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Friday 26 January 2024 21:30:48 +0000 (0:00:00.031) 0:01:27.447 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Friday 26 January 2024 21:30:49 +0000 (0:00:00.916) 0:01:28.364 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Friday 26 January 2024 21:30:49 +0000 (0:00:00.753) 0:01:29.117 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Friday 26 January 2024 21:30:50 +0000 (0:00:00.042) 0:01:29.160 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Friday 26 January 2024 21:30:50 +0000 (0:00:00.061) 0:01:29.221 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Friday 26 January 2024 21:30:50 +0000 (0:00:00.039) 0:01:29.260 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Friday 26 January 2024 21:30:50 +0000 (0:00:00.072) 0:01:29.332 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Friday 26 January 2024 21:30:50 +0000 (0:00:00.037) 0:01:29.370 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Friday 26 January 2024 21:30:50 +0000 (0:00:00.065) 0:01:29.436 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Friday 26 January 2024 21:30:50 +0000 (0:00:00.052) 0:01:29.489 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Friday 26 January 2024 21:30:50 +0000 (0:00:00.109) 0:01:29.599 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Friday 26 January 2024 21:30:50 +0000 (0:00:00.048) 0:01:29.647 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Friday 26 January 2024 21:30:50 +0000 (0:00:00.489) 0:01:30.136 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11182eeur6hwu/tmpfja5k8_q" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Friday 26 January 2024 21:30:51 +0000 (0:00:00.420) 0:01:30.556 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Friday 26 January 2024 21:30:51 +0000 (0:00:00.302) 0:01:30.859 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Friday 26 January 2024 21:30:51 +0000 (0:00:00.056) 0:01:30.916 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Friday 26 January 2024 21:30:51 +0000 (0:00:00.049) 0:01:30.965 ******** 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_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Friday 26 January 2024 21:30:51 +0000 (0:00:00.090) 0:01:31.056 ******** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Friday 26 January 2024 21:30:52 +0000 (0:00:00.097) 0:01:31.154 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:30:52 +0000 (0:00:00.203) 0:01:31.358 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-ci_fixqmmb5r7e/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_fixqmmb5r7e/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:30:52 +0000 (0:00:00.086) 0:01:31.445 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:30:52 +0000 (0:00:00.101) 0:01:31.546 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:30:52 +0000 (0:00:00.031) 0:01:31.578 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:30:52 +0000 (0:00:00.239) 0:01:31.818 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:30:52 +0000 (0:00:00.176) 0:01:31.994 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021937", "end": "2024-01-26 21:30:53.014225", "rc": 1, "start": "2024-01-26 21:30:52.992288" } 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:30:53 +0000 (0:00:00.198) 0:01:32.193 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:30:53 +0000 (0:00:00.125) 0:01:32.319 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:30:53 +0000 (0:00:00.036) 0:01:32.355 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:30:53 +0000 (0:00:00.048) 0:01:32.404 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:30:53 +0000 (0:00:00.035) 0:01:32.440 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:30:53 +0000 (0:00:00.063) 0:01:32.504 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 26 January 2024 21:30:53 +0000 (0:00:00.084) 0:01:32.589 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.432204", "end": "2024-01-26 21:30:54.083197", "rc": 0, "start": "2024-01-26 21:30:53.650993" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 26 January 2024 21:30:54 +0000 (0:00:00.693) 0:01:33.282 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 26 January 2024 21:30:54 +0000 (0:00:00.062) 0:01:33.345 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:30:54 +0000 (0:00:00.033) 0:01:33.378 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:30:54 +0000 (0:00:00.034) 0:01:33.413 ******** 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_fixqmmb5r7e/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:30:54 +0000 (0:00:00.038) 0:01:33.452 ******** included: /WORKDIR/git-ci_fixqmmb5r7e/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_fixqmmb5r7e/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:30:54 +0000 (0:00:00.070) 0:01:33.523 ******** 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.050415", "end": "2024-01-26 21:30:54.558930", "rc": 0, "start": "2024-01-26 21:30:54.508515" } 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:30:54 +0000 (0:00:00.258) 0:01:33.781 ******** =============================================================================== fedora.linux_system_roles.network : Install packages -------------------- 2.62s /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 1.12s /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.12s /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.04s /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.04s /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.02s /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.01s /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.01s /WORKDIR/git-ci_fixqmmb5r7e/.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.98s /WORKDIR/git-ci_fixqmmb5r7e/.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.97s /WORKDIR/git-ci_fixqmmb5r7e/.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.97s /WORKDIR/git-ci_fixqmmb5r7e/.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.97s /WORKDIR/git-ci_fixqmmb5r7e/.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.96s /WORKDIR/git-ci_fixqmmb5r7e/.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.95s /WORKDIR/git-ci_fixqmmb5r7e/.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.95s /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.92s /WORKDIR/git-ci_fixqmmb5r7e/.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.92s /WORKDIR/git-ci_fixqmmb5r7e/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.91s /WORKDIR/git-ci_fixqmmb5r7e/.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.91s /WORKDIR/git-ci_fixqmmb5r7e/.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.90s /WORKDIR/git-ci_fixqmmb5r7e/.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. ---^---^---^---^---^---