# 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-ansible-lint-test-2.16lo91s7h8/.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-ansible-lint-test-2.16lo91s7h8/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/tests_states_initscripts.yml:5 Saturday 23 December 2023 21:39:37 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/tests_states_initscripts.yml:8 Saturday 23 December 2023 21:39:38 +0000 (0:00:00.690) 0:00:00.701 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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-ansible-lint-test-2.16lo91s7h8/tests/tasks/el_repo_setup.yml:3 Saturday 23 December 2023 21:39:38 +0000 (0:00:00.031) 0:00:00.732 ***** skipping: [sut] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/tasks/el_repo_setup.yml:17 Saturday 23 December 2023 21:39:38 +0000 (0:00:00.017) 0:00:00.750 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/tasks/el_repo_setup.yml:22 Saturday 23 December 2023 21:39:38 +0000 (0:00:00.179) 0:00:00.930 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/tasks/el_repo_setup.yml:26 Saturday 23 December 2023 21:39:38 +0000 (0:00:00.013) 0:00:00.943 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/tasks/el_repo_setup.yml:51 Saturday 23 December 2023 21:39:38 +0000 (0:00:00.007) 0:00:00.950 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/tasks/enable_epel.yml:8 Saturday 23 December 2023 21:39:38 +0000 (0:00:00.020) 0:00:00.971 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/tasks/enable_epel.yml:24 Saturday 23 December 2023 21:39:38 +0000 (0:00:00.180) 0:00:01.152 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/tasks/enable_epel.yml:30 Saturday 23 December 2023 21:39:38 +0000 (0:00:00.436) 0:00:01.588 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.198849", "end": "2023-12-23 21:39:39.219035", "rc": 0, "start": "2023-12-23 21:39:39.020186" } 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-ansible-lint-test-2.16lo91s7h8/tests/tasks/enable_epel.yml:35 Saturday 23 December 2023 21:39:39 +0000 (0:00:00.323) 0:00:01.912 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/tasks/enable_epel.yml:40 Saturday 23 December 2023 21:39:39 +0000 (0:00:00.008) 0:00:01.921 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/tests_states_initscripts.yml:10 Saturday 23 December 2023 21:39:39 +0000 (0:00:00.007) 0:00:01.928 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tests_states.yml:3 Saturday 23 December 2023 21:39:39 +0000 (0:00:00.014) 0:00:01.943 ***** ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tests_states.yml:11 Saturday 23 December 2023 21:39:39 +0000 (0:00:00.540) 0:00:02.483 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tests_states.yml:22 Saturday 23 December 2023 21:39:39 +0000 (0:00:00.024) 0:00:02.508 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 21:39:39 +0000 (0:00:00.023) 0:00:02.531 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 21:39:39 +0000 (0:00:00.019) 0:00:02.551 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 21:39:39 +0000 (0:00:00.041) 0:00:02.593 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:39:39 +0000 (0:00:00.020) 0:00:02.613 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:39:39 +0000 (0:00:00.018) 0:00:02.632 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003630", "end": "2023-12-23 21:39:40.079451", "rc": 0, "start": "2023-12-23 21:39:40.075821" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:39:40 +0000 (0:00:00.138) 0:00:02.770 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:39:40 +0000 (0:00:00.018) 0:00:02.788 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 21:39:40 +0000 (0:00:00.017) 0:00:02.805 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/delete_interface.yml:3 Saturday 23 December 2023 21:39:40 +0000 (0:00:00.024) 0:00:02.830 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011977", "end": "2023-12-23 21:39:40.280377", "rc": 1, "start": "2023-12-23 21:39:40.268400" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 21:39:40 +0000 (0:00:00.141) 0:00:02.972 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:39:40 +0000 (0:00:00.022) 0:00:02.994 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 21:39:40 +0000 (0:00:00.131) 0:00:03.125 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 21:39:40 +0000 (0:00:00.020) 0:00:03.146 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 December 2023 21:39:40 +0000 (0:00:00.024) 0:00:03.170 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:39:40 +0000 (0:00:00.033) 0:00:03.204 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:39:40 +0000 (0:00:00.031) 0:00:03.235 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:39:40 +0000 (0:00:00.021) 0:00:03.256 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:39:40 +0000 (0:00:00.024) 0:00:03.281 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:39:40 +0000 (0:00:00.026) 0:00:03.308 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:39:41 +0000 (0:00:00.953) 0:00:04.261 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:39:42 +0000 (0:00:00.837) 0:00:05.099 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:39:42 +0000 (0:00:00.027) 0:00:05.126 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:39:42 +0000 (0:00:00.027) 0:00:05.154 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:39:42 +0000 (0:00:00.027) 0:00:05.181 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:39:45 +0000 (0:00:02.689) 0:00:07.870 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:39:45 +0000 (0:00:00.027) 0:00:07.897 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:39:45 +0000 (0:00:00.026) 0:00:07.924 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:39:45 +0000 (0:00:00.031) 0:00:07.955 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:39:45 +0000 (0:00:00.026) 0:00:07.981 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:39:45 +0000 (0:00:00.040) 0:00:08.022 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:39:45 +0000 (0:00:00.405) 0:00:08.427 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11063hglgptq6/tmpma4ipwzl" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:39:45 +0000 (0:00:00.232) 0:00:08.660 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.361) 0:00:09.021 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.030) 0:00:09.052 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.027) 0:00:09.080 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.029) 0:00:09.109 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.027) 0:00:09.136 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.211) 0:00:09.348 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.030) 0:00:09.378 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.043) 0:00:09.422 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.040) 0:00:09.462 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.026) 0:00:09.489 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703367586.3181243, "block_size": 4096, "blocks": 8, "ctime": 1703367586.3181243, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427535, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703367586.3181243, "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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.142) 0:00:09.631 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 21:39:46 +0000 (0:00:00.031) 0:00:09.663 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.026632", "end": "2023-12-23 21:39:47.128747", "rc": 1, "start": "2023-12-23 21:39:47.102115" } 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.167) 0:00:09.830 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.054) 0:00:09.884 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003826", "end": "2023-12-23 21:39:47.340824", "rc": 0, "start": "2023-12-23 21:39:47.336998" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.161) 0:00:10.045 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.031) 0:00:10.076 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003650", "end": "2023-12-23 21:39:47.520819", "rc": 0, "start": "2023-12-23 21:39:47.517169" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.144) 0:00:10.221 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.032) 0:00:10.253 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.033) 0:00:10.287 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.031) 0:00:10.319 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.041) 0:00:10.360 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.036) 0:00:10.396 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.031) 0:00:10.428 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 21:39:47 +0000 (0:00:00.064) 0:00:10.492 ***** 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.050027", "end": "2023-12-23 21:39:47.983329", "rc": 1, "start": "2023-12-23 21:39:47.933302" } 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tests_states.yml:45 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.193) 0:00:10.686 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.043) 0:00:10.729 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.031) 0:00:10.761 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.063) 0:00:10.825 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.047) 0:00:10.873 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.071) 0:00:10.944 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004021", "end": "2023-12-23 21:39:48.410064", "rc": 0, "start": "2023-12-23 21:39:48.406043" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.167) 0:00:11.111 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.027) 0:00:11.139 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.027) 0:00:11.167 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/delete_interface.yml:3 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.041) 0:00:11.208 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007372", "end": "2023-12-23 21:39:48.655879", "rc": 1, "start": "2023-12-23 21:39:48.648507" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.149) 0:00:11.358 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.040) 0:00:11.398 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.138) 0:00:11.537 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.028) 0:00:11.566 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.039) 0:00:11.606 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:39:48 +0000 (0:00:00.044) 0:00:11.650 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:39:49 +0000 (0:00:00.042) 0:00:11.693 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:39:49 +0000 (0:00:00.030) 0:00:11.723 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:39:49 +0000 (0:00:00.048) 0:00:11.772 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:39:49 +0000 (0:00:00.028) 0:00:11.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 : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:39:49 +0000 (0:00:00.807) 0:00:12.609 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:39:50 +0000 (0:00:00.699) 0:00:13.308 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:39:50 +0000 (0:00:00.044) 0:00:13.353 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:39:50 +0000 (0:00:00.046) 0:00:13.400 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:39:50 +0000 (0:00:00.082) 0:00:13.482 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:39:50 +0000 (0:00:00.052) 0:00:13.535 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:39:50 +0000 (0:00:00.032) 0:00:13.567 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:39:50 +0000 (0:00:00.035) 0:00:13.603 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:39:50 +0000 (0:00:00.034) 0:00:13.637 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:39:50 +0000 (0:00:00.028) 0:00:13.666 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.026) 0:00:13.692 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.244) 0:00:13.937 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11063hglgptq6/tmp99drnowt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.229) 0:00:14.166 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.279) 0:00:14.445 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.030) 0:00:14.476 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.054) 0:00:14.530 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.033) 0:00:14.564 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:39:51 +0000 (0:00:00.029) 0:00:14.593 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.146) 0:00:14.740 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.031) 0:00:14.771 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.058) 0:00:14.829 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.041) 0:00:14.871 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.188) 0:00:15.060 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.030) 0:00:15.090 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.039) 0:00:15.130 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.027) 0:00:15.158 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703367591.7360477, "block_size": 4096, "blocks": 8, "ctime": 1703367591.7360477, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427535, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703367591.7360477, "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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.139) 0:00:15.297 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.030) 0:00:15.327 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023243", "end": "2023-12-23 21:39:52.790698", "rc": 1, "start": "2023-12-23 21:39:52.767455" } 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.163) 0:00:15.491 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 21:39:52 +0000 (0:00:00.027) 0:00:15.519 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003631", "end": "2023-12-23 21:39:52.966075", "rc": 0, "start": "2023-12-23 21:39:52.962444" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.176) 0:00:15.695 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.031) 0:00:15.727 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003554", "end": "2023-12-23 21:39:53.178546", "rc": 0, "start": "2023-12-23 21:39:53.174992" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.154) 0:00:15.882 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.031) 0:00:15.914 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.033) 0:00:15.947 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.030) 0:00:15.978 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.028) 0:00:16.007 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.026) 0:00:16.033 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.030) 0:00:16.064 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.054) 0:00:16.119 ***** 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.043741", "end": "2023-12-23 21:39:53.603913", "rc": 1, "start": "2023-12-23 21:39:53.560172" } 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tests_states.yml:65 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.188) 0:00:16.307 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.037) 0:00:16.345 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.027) 0:00:16.372 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.049) 0:00:16.422 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.036) 0:00:16.459 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.065) 0:00:16.524 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003638", "end": "2023-12-23 21:39:53.970648", "rc": 0, "start": "2023-12-23 21:39:53.967010" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:39:53 +0000 (0:00:00.148) 0:00:16.672 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:39:54 +0000 (0:00:00.030) 0:00:16.703 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 21:39:54 +0000 (0:00:00.035) 0:00:16.738 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 December 2023 21:39:54 +0000 (0:00:00.046) 0:00:16.784 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:39:54 +0000 (0:00:00.047) 0:00:16.832 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:39:54 +0000 (0:00:00.042) 0:00:16.875 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:39:54 +0000 (0:00:00.031) 0:00:16.906 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:39:54 +0000 (0:00:00.027) 0:00:16.934 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:39:54 +0000 (0:00:00.027) 0:00:16.962 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:39:55 +0000 (0:00:00.800) 0:00:17.762 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:39:55 +0000 (0:00:00.685) 0:00:18.448 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:39:55 +0000 (0:00:00.031) 0:00:18.479 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:39:55 +0000 (0:00:00.080) 0:00:18.559 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:39:55 +0000 (0:00:00.037) 0:00:18.597 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:39:55 +0000 (0:00:00.067) 0:00:18.664 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.032) 0:00:18.697 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.033) 0:00:18.730 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.034) 0:00:18.765 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.028) 0:00:18.793 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.025) 0:00:18.819 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.246) 0:00:19.066 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11063hglgptq6/tmp6kbl51sj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.224) 0:00:19.290 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.237) 0:00:19.528 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.032) 0:00:19.561 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.032) 0:00:19.593 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.036) 0:00:19.630 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:39:56 +0000 (0:00:00.031) 0:00:19.661 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.146) 0:00:19.808 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.027) 0:00:19.836 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/activate_profile.yml:3 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.040) 0:00:19.876 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.068) 0:00:19.945 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.049) 0:00:19.995 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.039) 0:00:20.034 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.033) 0:00:20.067 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:39:57 +0000 (0:00:00.081) 0:00:20.149 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:39:58 +0000 (0:00:00.838) 0:00:20.988 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:39:58 +0000 (0:00:00.678) 0:00:21.667 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.031) 0:00:21.698 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.029) 0:00:21.728 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.029) 0:00:21.757 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.056) 0:00:21.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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.038) 0:00:21.852 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.031) 0:00:21.884 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.034) 0:00:21.918 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.066) 0:00:21.985 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.029) 0:00:22.014 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.319) 0:00:22.334 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11063hglgptq6/tmp1amdhvkt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:39:59 +0000 (0:00:00.235) 0:00:22.570 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.531) 0:00:23.101 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.040) 0:00:23.142 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.031) 0:00:23.173 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.039) 0:00:23.213 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.035) 0:00:23.249 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.150) 0:00:23.399 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.046) 0:00:23.445 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.047) 0:00:23.493 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703367600.2999282, "block_size": 4096, "blocks": 0, "ctime": 1703367600.297928, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17529, "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": 1703367600.297928, "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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.144) 0:00:23.638 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 23 December 2023 21:40:00 +0000 (0:00:00.029) 0:00:23.668 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 21:40:01 +0000 (0:00:00.045) 0:00:23.713 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 21:40:01 +0000 (0:00:00.060) 0:00:23.773 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703367600.1239307, "block_size": 4096, "blocks": 8, "ctime": 1703367596.8229766, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4427535, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703367596.8229766, "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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 21:40:01 +0000 (0:00:00.145) 0:00:23.919 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 21:40:01 +0000 (0:00:00.029) 0:00:23.948 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024685", "end": "2023-12-23 21:40:01.412594", "rc": 1, "start": "2023-12-23 21:40:01.387909" } 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 21:40:01 +0000 (0:00:00.167) 0:00:24.116 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 21:40:01 +0000 (0:00:00.029) 0:00:24.146 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003949", "end": "2023-12-23 21:40:01.596848", "rc": 0, "start": "2023-12-23 21:40:01.592899" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 21:40:01 +0000 (0:00:00.168) 0:00:24.314 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 21:40:01 +0000 (0:00:00.071) 0:00:24.386 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003970", "end": "2023-12-23 21:40:01.856559", "rc": 0, "start": "2023-12-23 21:40:01.852589" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 21:40:01 +0000 (0:00:00.173) 0:00:24.559 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 23 December 2023 21:40:01 +0000 (0:00:00.033) 0:00:24.593 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 23 December 2023 21:40:01 +0000 (0:00:00.030) 0:00:24.623 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 23 December 2023 21:40:01 +0000 (0:00:00.030) 0:00:24.653 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.030) 0:00:24.684 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.026) 0:00:24.710 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.032) 0:00:24.743 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.045) 0:00:24.789 ***** 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.053631", "end": "2023-12-23 21:40:02.286468", "rc": 0, "start": "2023-12-23 21:40:02.232837" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tests_states.yml:83 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.200) 0:00:24.989 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.037) 0:00:25.026 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.055) 0:00:25.082 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.052) 0:00:25.134 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.043) 0:00:25.178 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.039) 0:00:25.217 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003946", "end": "2023-12-23 21:40:02.668370", "rc": 0, "start": "2023-12-23 21:40:02.664424" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.152) 0:00:25.369 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.036) 0:00:25.406 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.028) 0:00:25.435 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.044) 0:00:25.479 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.045) 0:00:25.524 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.043) 0:00:25.567 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.036) 0:00:25.604 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.034) 0:00:25.639 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:02 +0000 (0:00:00.035) 0:00:25.674 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:03 +0000 (0:00:00.892) 0:00:26.566 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.683) 0:00:27.249 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.029) 0:00:27.279 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.034) 0:00:27.313 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.032) 0:00:27.346 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.059) 0:00:27.406 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.044) 0:00:27.450 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.038) 0:00:27.489 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.036) 0:00:27.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 : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.030) 0:00:27.555 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:04 +0000 (0:00:00.027) 0:00:27.583 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:05 +0000 (0:00:00.250) 0:00:27.833 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11063hglgptq6/tmphttogs1g" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:05 +0000 (0:00:00.232) 0:00:28.066 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:05 +0000 (0:00:00.232) 0:00:28.299 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:05 +0000 (0:00:00.028) 0:00:28.327 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:05 +0000 (0:00:00.028) 0:00:28.356 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:05 +0000 (0:00:00.028) 0:00:28.384 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:05 +0000 (0:00:00.056) 0:00:28.440 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 December 2023 21:40:05 +0000 (0:00:00.151) 0:00:28.591 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/activate_profile.yml:3 Saturday 23 December 2023 21:40:05 +0000 (0:00:00.031) 0:00:28.622 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:05 +0000 (0:00:00.045) 0:00:28.668 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:06 +0000 (0:00:00.047) 0:00:28.715 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:06 +0000 (0:00:00.031) 0:00:28.747 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:06 +0000 (0:00:00.027) 0:00:28.774 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:06 +0000 (0:00:00.027) 0:00:28.802 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:06 +0000 (0:00:00.823) 0:00:29.626 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:07 +0000 (0:00:00.723) 0:00:30.350 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:07 +0000 (0:00:00.031) 0:00:30.382 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:07 +0000 (0:00:00.034) 0:00:30.416 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:07 +0000 (0:00:00.030) 0:00:30.447 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:07 +0000 (0:00:00.134) 0:00:30.581 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:07 +0000 (0:00:00.037) 0:00:30.619 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:07 +0000 (0:00:00.045) 0:00:30.664 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:08 +0000 (0:00:00.069) 0:00:30.734 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:08 +0000 (0:00:00.086) 0:00:30.821 ***** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:08 +0000 (0:00:00.041) 0:00:30.863 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:08 +0000 (0:00:00.298) 0:00:31.161 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11063hglgptq6/tmpttv3cpf0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:08 +0000 (0:00:00.244) 0:00:31.406 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.478) 0:00:31.885 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.034) 0:00:31.919 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.038) 0:00:31.958 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.031) 0:00:31.989 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.030) 0:00:32.020 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.149) 0:00:32.169 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/remove_profile.yml:3 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.040) 0:00:32.210 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.045) 0:00:32.256 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.076) 0:00:32.333 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.033) 0:00:32.367 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.030) 0:00:32.397 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:09 +0000 (0:00:00.031) 0:00:32.429 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:10 +0000 (0:00:00.802) 0:00:33.232 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:11 +0000 (0:00:00.682) 0:00:33.914 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:11 +0000 (0:00:00.029) 0:00:33.944 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:11 +0000 (0:00:00.028) 0:00:33.973 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:11 +0000 (0:00:00.028) 0:00:34.001 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:11 +0000 (0:00:00.049) 0:00:34.051 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:11 +0000 (0:00:00.028) 0:00:34.080 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:11 +0000 (0:00:00.028) 0:00:34.108 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:11 +0000 (0:00:00.036) 0:00:34.145 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:11 +0000 (0:00:00.031) 0:00:34.176 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:11 +0000 (0:00:00.027) 0:00:34.203 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:11 +0000 (0:00:00.283) 0:00:34.487 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11063hglgptq6/tmpoqe1gog3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.235) 0:00:34.722 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.233) 0:00:34.955 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.030) 0:00:34.985 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.031) 0:00:35.017 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.033) 0:00:35.050 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.029) 0:00:35.080 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.147) 0:00:35.227 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.045) 0:00:35.273 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.041) 0:00:35.315 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703367609.1128054, "block_size": 4096, "blocks": 0, "ctime": 1703367609.1118052, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17529, "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": 1703367609.1118052, "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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.154) 0:00:35.469 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.037) 0:00:35.506 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.040) 0:00:35.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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 21:40:12 +0000 (0:00:00.029) 0:00:35.576 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.144) 0:00:35.720 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.059) 0:00:35.780 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024296", "end": "2023-12-23 21:40:13.244546", "rc": 1, "start": "2023-12-23 21:40:13.220250" } 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.165) 0:00:35.945 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.029) 0:00:35.974 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.036) 0:00:36.010 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.029) 0:00:36.040 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.035) 0:00:36.076 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.027) 0:00:36.103 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.029) 0:00:36.133 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.025) 0:00:36.159 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.028) 0:00:36.188 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.041) 0:00:36.229 ***** 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.051346", "end": "2023-12-23 21:40:13.720491", "rc": 0, "start": "2023-12-23 21:40:13.669145" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tests_states.yml:102 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.199) 0:00:36.428 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.054) 0:00:36.483 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.034) 0:00:36.518 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.065) 0:00:36.583 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:40:13 +0000 (0:00:00.041) 0:00:36.624 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.067) 0:00:36.691 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003788", "end": "2023-12-23 21:40:14.146630", "rc": 0, "start": "2023-12-23 21:40:14.142842" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.158) 0:00:36.849 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.029) 0:00:36.879 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.030) 0:00:36.910 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/remove_profile.yml for sut => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.055) 0:00:36.965 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.053) 0:00:37.019 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.077) 0:00:37.097 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.055) 0:00:37.152 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.044) 0:00:37.196 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:14 +0000 (0:00:00.030) 0:00:37.226 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:15 +0000 (0:00:00.804) 0:00:38.031 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:16 +0000 (0:00:00.689) 0:00:38.721 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:16 +0000 (0:00:00.088) 0:00:38.809 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:16 +0000 (0:00:00.040) 0:00:38.850 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:16 +0000 (0:00:00.033) 0:00:38.883 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:16 +0000 (0:00:00.065) 0:00:38.949 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:16 +0000 (0:00:00.034) 0:00:38.984 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:16 +0000 (0:00:00.048) 0:00:39.032 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:16 +0000 (0:00:00.035) 0:00:39.068 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:16 +0000 (0:00:00.032) 0:00:39.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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:16 +0000 (0:00:00.041) 0:00:39.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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:16 +0000 (0:00:00.249) 0:00:39.392 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11063hglgptq6/tmpsxfs4_pd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:16 +0000 (0:00:00.226) 0:00:39.619 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.278) 0:00:39.897 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.029) 0:00:39.927 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.029) 0:00:39.957 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.030) 0:00:39.987 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.029) 0:00:40.017 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.151) 0:00:40.168 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/activate_profile.yml:3 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.030) 0:00:40.198 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.080) 0:00:40.278 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.055) 0:00:40.333 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.039) 0:00:40.373 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.035) 0:00:40.409 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:17 +0000 (0:00:00.041) 0:00:40.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 : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:18 +0000 (0:00:00.813) 0:00:41.264 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:19 +0000 (0:00:00.680) 0:00:41.945 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:19 +0000 (0:00:00.028) 0:00:41.973 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:19 +0000 (0:00:00.031) 0:00:42.005 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:19 +0000 (0:00:00.030) 0:00:42.035 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:19 +0000 (0:00:00.051) 0:00:42.087 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:19 +0000 (0:00:00.029) 0:00:42.117 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:19 +0000 (0:00:00.028) 0:00:42.146 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:19 +0000 (0:00:00.034) 0:00:42.180 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:19 +0000 (0:00:00.028) 0:00:42.209 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:19 +0000 (0:00:00.055) 0:00:42.264 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:19 +0000 (0:00:00.265) 0:00:42.529 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11063hglgptq6/tmp3a_e47dq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:20 +0000 (0:00:00.255) 0:00:42.785 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:20 +0000 (0:00:00.502) 0:00:43.288 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:20 +0000 (0:00:00.049) 0:00:43.337 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:20 +0000 (0:00:00.046) 0:00:43.383 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:20 +0000 (0:00:00.041) 0:00:43.424 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:20 +0000 (0:00:00.039) 0:00:43.464 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/remove_profile.yml:3 Saturday 23 December 2023 21:40:20 +0000 (0:00:00.155) 0:00:43.620 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:21 +0000 (0:00:00.065) 0:00:43.685 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:21 +0000 (0:00:00.080) 0:00:43.765 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:21 +0000 (0:00:00.062) 0:00:43.828 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:21 +0000 (0:00:00.047) 0:00:43.875 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:21 +0000 (0:00:00.033) 0:00:43.909 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:22 +0000 (0:00:00.806) 0:00:44.715 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:22 +0000 (0:00:00.823) 0:00:45.539 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:22 +0000 (0:00:00.046) 0:00:45.585 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:22 +0000 (0:00:00.035) 0:00:45.621 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:22 +0000 (0:00:00.044) 0:00:45.666 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:23 +0000 (0:00:00.060) 0:00:45.726 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:23 +0000 (0:00:00.034) 0:00:45.760 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:23 +0000 (0:00:00.044) 0:00:45.804 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:23 +0000 (0:00:00.087) 0:00:45.891 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:23 +0000 (0:00:00.034) 0:00:45.926 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:23 +0000 (0:00:00.051) 0:00:45.978 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:23 +0000 (0:00:00.256) 0:00:46.235 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11063hglgptq6/tmpdog7v7er" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:23 +0000 (0:00:00.230) 0:00:46.466 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:24 +0000 (0:00:00.241) 0:00:46.707 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:24 +0000 (0:00:00.030) 0:00:46.738 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:24 +0000 (0:00:00.034) 0:00:46.772 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:24 +0000 (0:00:00.041) 0:00:46.814 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:24 +0000 (0:00:00.030) 0:00:46.845 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 21:40:24 +0000 (0:00:00.178) 0:00:47.023 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 December 2023 21:40:24 +0000 (0:00:00.042) 0:00:47.066 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:24 +0000 (0:00:00.047) 0:00:47.114 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:24 +0000 (0:00:00.044) 0:00:47.158 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:24 +0000 (0:00:00.032) 0:00:47.190 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:24 +0000 (0:00:00.028) 0:00:47.219 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:24 +0000 (0:00:00.029) 0:00:47.248 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:25 +0000 (0:00:00.803) 0:00:48.052 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.685) 0:00:48.737 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.031) 0:00:48.768 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.041) 0:00:48.810 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.039) 0:00:48.849 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.118) 0:00:48.968 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.032) 0:00:49.000 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.033) 0:00:49.034 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.035) 0:00:49.069 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.030) 0:00:49.099 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.030) 0:00:49.130 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.275) 0:00:49.405 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11063hglgptq6/tmpbfbbin1r" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:26 +0000 (0:00:00.246) 0:00:49.651 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.262) 0:00:49.914 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.033) 0:00:49.947 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.033) 0:00:49.980 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.037) 0:00:50.018 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.036) 0:00:50.054 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.158) 0:00:50.213 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.044) 0:00:50.258 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.042) 0:00:50.300 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.065) 0:00:50.365 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.143) 0:00:50.509 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 21:40:27 +0000 (0:00:00.029) 0:00:50.538 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022487", "end": "2023-12-23 21:40:28.003301", "rc": 1, "start": "2023-12-23 21:40:27.980814" } 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.166) 0:00:50.705 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.031) 0:00:50.736 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.028) 0:00:50.764 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.027) 0:00:50.792 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.027) 0:00:50.820 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.028) 0:00:50.849 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.031) 0:00:50.880 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.036) 0:00:50.916 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.032) 0:00:50.949 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.060) 0:00:51.009 ***** 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.051613", "end": "2023-12-23 21:40:28.525528", "rc": 0, "start": "2023-12-23 21:40:28.473915" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tests_states.yml:124 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.219) 0:00:51.228 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:5 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.046) 0:00:51.275 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:9 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.036) 0:00:51.311 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:21 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.061) 0:00:51.372 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.085) 0:00:51.457 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.040) 0:00:51.498 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003674", "end": "2023-12-23 21:40:28.954455", "rc": 0, "start": "2023-12-23 21:40:28.950781" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 23 December 2023 21:40:28 +0000 (0:00:00.159) 0:00:51.658 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 23 December 2023 21:40:29 +0000 (0:00:00.032) 0:00:51.690 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:24 Saturday 23 December 2023 21:40:29 +0000 (0:00:00.035) 0:00:51.726 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 23 December 2023 21:40:29 +0000 (0:00:00.055) 0:00:51.781 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:29 +0000 (0:00:00.048) 0:00:51.829 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:29 +0000 (0:00:00.045) 0:00:51.874 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:29 +0000 (0:00:00.032) 0:00:51.906 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:29 +0000 (0:00:00.035) 0:00:51.941 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:29 +0000 (0:00:00.030) 0:00:51.972 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:30 +0000 (0:00:00.802) 0:00:52.774 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:30 +0000 (0:00:00.774) 0:00:53.549 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:30 +0000 (0:00:00.031) 0:00:53.580 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:30 +0000 (0:00:00.029) 0:00:53.610 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:30 +0000 (0:00:00.029) 0:00:53.639 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.052) 0:00:53.692 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.032) 0:00:53.725 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.031) 0:00:53.756 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.057) 0:00:53.813 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.057) 0:00:53.871 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.032) 0:00:53.903 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.261) 0:00:54.165 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11063hglgptq6/tmptthq9t_j" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.245) 0:00:54.411 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:31 +0000 (0:00:00.245) 0:00:54.656 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:32 +0000 (0:00:00.035) 0:00:54.691 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:32 +0000 (0:00:00.038) 0:00:54.729 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:32 +0000 (0:00:00.036) 0:00:54.766 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:32 +0000 (0:00:00.030) 0:00:54.796 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 23 December 2023 21:40:32 +0000 (0:00:00.162) 0:00:54.959 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/activate_profile.yml:3 Saturday 23 December 2023 21:40:32 +0000 (0:00:00.072) 0:00:55.031 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:32 +0000 (0:00:00.052) 0:00:55.083 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:32 +0000 (0:00:00.047) 0:00:55.131 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:32 +0000 (0:00:00.033) 0:00:55.164 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:32 +0000 (0:00:00.029) 0:00:55.194 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:32 +0000 (0:00:00.028) 0:00:55.222 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:33 +0000 (0:00:00.800) 0:00:56.023 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:34 +0000 (0:00:00.693) 0:00:56.717 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:34 +0000 (0:00:00.032) 0:00:56.750 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:34 +0000 (0:00:00.038) 0:00:56.788 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:34 +0000 (0:00:00.034) 0:00:56.823 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:34 +0000 (0:00:00.071) 0:00:56.895 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:34 +0000 (0:00:00.032) 0:00:56.927 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:34 +0000 (0:00:00.032) 0:00:56.960 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:34 +0000 (0:00:00.089) 0:00:57.049 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:34 +0000 (0:00:00.035) 0:00:57.084 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:34 +0000 (0:00:00.028) 0:00:57.113 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:34 +0000 (0:00:00.272) 0:00:57.385 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11063hglgptq6/tmp0v40rw1b" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:34 +0000 (0:00:00.240) 0:00:57.626 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:35 +0000 (0:00:00.483) 0:00:58.109 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:35 +0000 (0:00:00.030) 0:00:58.139 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:35 +0000 (0:00:00.031) 0:00:58.170 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:35 +0000 (0:00:00.030) 0:00:58.201 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:35 +0000 (0:00:00.031) 0:00:58.233 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 December 2023 21:40:35 +0000 (0:00:00.156) 0:00:58.389 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:35 +0000 (0:00:00.047) 0:00:58.437 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:35 +0000 (0:00:00.080) 0:00:58.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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:35 +0000 (0:00:00.036) 0:00:58.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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:35 +0000 (0:00:00.031) 0:00:58.585 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:35 +0000 (0:00:00.031) 0:00:58.617 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:36 +0000 (0:00:00.923) 0:00:59.541 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:37 +0000 (0:00:00.687) 0:01:00.228 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:37 +0000 (0:00:00.031) 0:01:00.260 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:37 +0000 (0:00:00.031) 0:01:00.292 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:37 +0000 (0:00:00.044) 0:01:00.337 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:37 +0000 (0:00:00.054) 0:01:00.391 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:37 +0000 (0:00:00.044) 0:01:00.436 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:37 +0000 (0:00:00.039) 0:01:00.476 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:37 +0000 (0:00:00.040) 0:01:00.516 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:37 +0000 (0:00:00.030) 0:01:00.547 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:37 +0000 (0:00:00.027) 0:01:00.575 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:38 +0000 (0:00:00.254) 0:01:00.829 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11063hglgptq6/tmp1z__t87m" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:38 +0000 (0:00:00.222) 0:01:01.052 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:38 +0000 (0:00:00.241) 0:01:01.293 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:38 +0000 (0:00:00.029) 0:01:01.323 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:38 +0000 (0:00:00.030) 0:01:01.354 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:38 +0000 (0:00:00.031) 0:01:01.385 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:38 +0000 (0:00:00.067) 0:01:01.452 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:30 Saturday 23 December 2023 21:40:38 +0000 (0:00:00.166) 0:01:01.619 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/remove+down_profile.yml for sut => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 23 December 2023 21:40:38 +0000 (0:00:00.051) 0:01:01.670 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 23 December 2023 21:40:39 +0000 (0:00:00.049) 0:01:01.720 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 23 December 2023 21:40:39 +0000 (0:00:00.044) 0:01:01.765 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 23 December 2023 21:40:39 +0000 (0:00:00.033) 0:01:01.798 ***** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 23 December 2023 21:40:39 +0000 (0:00:00.033) 0:01:01.832 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 23 December 2023 21:40:39 +0000 (0:00:00.029) 0:01:01.861 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 23 December 2023 21:40:39 +0000 (0:00:00.802) 0:01:02.663 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 23 December 2023 21:40:40 +0000 (0:00:00.684) 0:01:03.348 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 23 December 2023 21:40:40 +0000 (0:00:00.029) 0:01:03.378 ***** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 23 December 2023 21:40:40 +0000 (0:00:00.028) 0:01:03.407 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Saturday 23 December 2023 21:40:40 +0000 (0:00:00.120) 0:01:03.527 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 23 December 2023 21:40:40 +0000 (0:00:00.053) 0:01:03.581 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Saturday 23 December 2023 21:40:40 +0000 (0:00:00.033) 0:01:03.614 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Saturday 23 December 2023 21:40:40 +0000 (0:00:00.034) 0:01:03.649 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Saturday 23 December 2023 21:40:41 +0000 (0:00:00.038) 0:01:03.687 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Saturday 23 December 2023 21:40:41 +0000 (0:00:00.034) 0:01:03.722 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Saturday 23 December 2023 21:40:41 +0000 (0:00:00.030) 0:01:03.753 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Saturday 23 December 2023 21:40:41 +0000 (0:00:00.258) 0:01:04.011 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11063hglgptq6/tmpz9dwuej4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 23 December 2023 21:40:41 +0000 (0:00:00.246) 0:01:04.257 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Saturday 23 December 2023 21:40:41 +0000 (0:00:00.254) 0:01:04.512 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Saturday 23 December 2023 21:40:41 +0000 (0:00:00.034) 0:01:04.546 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Saturday 23 December 2023 21:40:41 +0000 (0:00:00.030) 0:01:04.576 ***** 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-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Saturday 23 December 2023 21:40:41 +0000 (0:00:00.031) 0:01:04.607 ***** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 23 December 2023 21:40:41 +0000 (0:00:00.031) 0:01:04.639 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:36 Saturday 23 December 2023 21:40:42 +0000 (0:00:00.161) 0:01:04.801 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 23 December 2023 21:40:42 +0000 (0:00:00.049) 0:01:04.850 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 23 December 2023 21:40:42 +0000 (0:00:00.074) 0:01:04.925 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 23 December 2023 21:40:42 +0000 (0:00:00.030) 0:01:04.955 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 23 December 2023 21:40:42 +0000 (0:00:00.153) 0:01:05.108 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 23 December 2023 21:40:42 +0000 (0:00:00.051) 0:01:05.159 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024218", "end": "2023-12-23 21:40:42.637677", "rc": 1, "start": "2023-12-23 21:40:42.613459" } 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 23 December 2023 21:40:42 +0000 (0:00:00.181) 0:01:05.341 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 23 December 2023 21:40:42 +0000 (0:00:00.031) 0:01:05.373 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 23 December 2023 21:40:42 +0000 (0:00:00.040) 0:01:05.413 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 23 December 2023 21:40:42 +0000 (0:00:00.034) 0:01:05.448 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 23 December 2023 21:40:42 +0000 (0:00:00.032) 0:01:05.480 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 23 December 2023 21:40:42 +0000 (0:00:00.029) 0:01:05.509 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 23 December 2023 21:40:42 +0000 (0:00:00.031) 0:01:05.541 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.411261", "end": "2023-12-23 21:40:43.398093", "rc": 0, "start": "2023-12-23 21:40:42.986832" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 23 December 2023 21:40:43 +0000 (0:00:00.560) 0:01:06.101 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 23 December 2023 21:40:43 +0000 (0:00:00.031) 0:01:06.133 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:42 Saturday 23 December 2023 21:40:43 +0000 (0:00:00.031) 0:01:06.165 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:47 Saturday 23 December 2023 21:40:43 +0000 (0:00:00.035) 0:01:06.200 ***** 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-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/run_test.yml:66 Saturday 23 December 2023 21:40:43 +0000 (0:00:00.028) 0:01:06.229 ***** included: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/cleanup_profile+device.yml for sut => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 23 December 2023 21:40:43 +0000 (0:00:00.042) 0:01:06.271 ***** 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.053735", "end": "2023-12-23 21:40:43.769593", "rc": 0, "start": "2023-12-23 21:40:43.715858" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. PLAY RECAP ********************************************************************* sut : ok=334 changed=14 unreachable=0 failed=0 skipped=225 rescued=0 ignored=10 Saturday 23 December 2023 21:40:43 +0000 (0:00:00.260) 0:01:06.531 ***** =============================================================================== fedora.linux_system_roles.network : Install packages -------------------- 2.69s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 fedora.linux_system_roles.network : Check which services are running ---- 0.95s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.92s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.89s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 0.84s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 0.84s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.82s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.82s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.81s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.81s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.81s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.80s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.80s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.80s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.80s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.80s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.80s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.80s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.77s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.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.72s /WORKDIR/git-ansible-lint-test-2.16lo91s7h8/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---