# 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.16txp8xtiy/.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.16txp8xtiy/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.16txp8xtiy/tests/tests_states_initscripts.yml:5 Monday 25 December 2023 22:14:20 +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.16txp8xtiy/tests/tests_states_initscripts.yml:8 Monday 25 December 2023 22:14:21 +0000 (0:00:00.869) 0:00:00.881 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/tasks/el_repo_setup.yml:3 Monday 25 December 2023 22:14:21 +0000 (0:00:00.011) 0:00:00.892 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/el_repo_setup.yml:17 Monday 25 December 2023 22:14:21 +0000 (0:00:00.363) 0:00:01.256 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/el_repo_setup.yml:22 Monday 25 December 2023 22:14:22 +0000 (0:00:00.251) 0:00:01.507 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/el_repo_setup.yml:26 Monday 25 December 2023 22:14:22 +0000 (0:00:00.013) 0:00:01.520 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/el_repo_setup.yml:51 Monday 25 December 2023 22:14:22 +0000 (0:00:00.007) 0:00:01.528 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/enable_epel.yml:8 Monday 25 December 2023 22:14:22 +0000 (0:00:00.019) 0:00:01.548 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.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.16txp8xtiy/tests/tasks/enable_epel.yml:24 Monday 25 December 2023 22:14:22 +0000 (0:00:00.250) 0:00:01.798 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/enable_epel.yml:30 Monday 25 December 2023 22:14:22 +0000 (0:00:00.009) 0:00:01.808 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/enable_epel.yml:35 Monday 25 December 2023 22:14:22 +0000 (0:00:00.008) 0:00:01.816 ******* ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.257334", "end": "2023-12-25 22:14:22.996100", "rc": 0, "start": "2023-12-25 22:14:22.738766" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/tasks/enable_epel.yml:40 Monday 25 December 2023 22:14:23 +0000 (0:00:00.458) 0:00:02.275 ******* 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.16txp8xtiy/tests/tests_states_initscripts.yml:10 Monday 25 December 2023 22:14:23 +0000 (0:00:00.007) 0:00:02.283 ******* 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.16txp8xtiy/tests/playbooks/tests_states.yml:3 Monday 25 December 2023 22:14:23 +0000 (0:00:00.014) 0:00:02.297 ******* ok: [sut] TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tests_states.yml:11 Monday 25 December 2023 22:14:23 +0000 (0:00:00.729) 0:00:03.026 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tests_states.yml:22 Monday 25 December 2023 22:14:23 +0000 (0:00:00.017) 0:00:03.044 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:14:23 +0000 (0:00:00.021) 0:00:03.065 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:14:23 +0000 (0:00:00.018) 0:00:03.083 ******* 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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:14:23 +0000 (0:00:00.042) 0:00:03.125 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:14:23 +0000 (0:00:00.020) 0:00:03.146 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:14:23 +0000 (0:00:00.019) 0:00:03.165 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003627", "end": "2023-12-25 22:14:24.091738", "rc": 0, "start": "2023-12-25 22:14:24.088111" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:14:24 +0000 (0:00:00.205) 0:00:03.370 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:14:24 +0000 (0:00:00.018) 0:00:03.388 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:14:24 +0000 (0:00:00.018) 0:00:03.407 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/delete_interface.yml:3 Monday 25 December 2023 22:14:24 +0000 (0:00:00.026) 0:00:03.433 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008783", "end": "2023-12-25 22:14:24.365468", "rc": 1, "start": "2023-12-25 22:14:24.356685" } 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.16txp8xtiy/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:14:24 +0000 (0:00:00.209) 0:00:03.643 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:14:24 +0000 (0:00:00.019) 0:00:03.663 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:14:24 +0000 (0:00:00.202) 0:00:03.866 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:14:24 +0000 (0:00:00.019) 0:00:03.885 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:14:24 +0000 (0:00:00.024) 0:00:03.910 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:14:24 +0000 (0:00:00.030) 0:00:03.940 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:14:24 +0000 (0:00:00.026) 0:00:03.966 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:14:24 +0000 (0:00:00.018) 0:00:03.985 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:14:24 +0000 (0:00:00.018) 0:00:04.003 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:14:24 +0000 (0:00:00.020) 0:00:04.024 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:14:26 +0000 (0:00:01.847) 0:00:05.872 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:14:28 +0000 (0:00:01.548) 0:00:07.420 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:14:28 +0000 (0:00:00.050) 0:00:07.470 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:14:28 +0000 (0:00:00.032) 0:00:07.502 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:14:28 +0000 (0:00:00.033) 0:00:07.536 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:14:28 +0000 (0:00:00.062) 0:00:07.599 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:14:28 +0000 (0:00:00.029) 0:00:07.628 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:14:28 +0000 (0:00:00.028) 0:00:07.657 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:14:28 +0000 (0:00:00.031) 0:00:07.688 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:14:28 +0000 (0:00:00.045) 0:00:07.734 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:14:28 +0000 (0:00:00.026) 0:00:07.761 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:14:29 +0000 (0:00:00.572) 0:00:08.334 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11768pzumxjsv/tmp2q9dqn4p" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:14:29 +0000 (0:00:00.323) 0:00:08.657 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:14:29 +0000 (0:00:00.448) 0:00:09.106 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:14:29 +0000 (0:00:00.033) 0:00:09.139 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:14:29 +0000 (0:00:00.031) 0:00:09.171 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:14:29 +0000 (0:00:00.029) 0:00:09.200 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:14:29 +0000 (0:00:00.027) 0:00:09.228 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:14:30 +0000 (0:00:00.299) 0:00:09.527 ******* 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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:14:30 +0000 (0:00:00.028) 0:00:09.556 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:14:30 +0000 (0:00:00.042) 0:00:09.598 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:14:30 +0000 (0:00:00.039) 0:00:09.638 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:14:30 +0000 (0:00:00.047) 0:00:09.685 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542469.8123, "block_size": 4096, "blocks": 8, "ctime": 1703542469.8123, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533386, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703542469.8123, "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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:14:30 +0000 (0:00:00.214) 0:00:09.899 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:14:30 +0000 (0:00:00.028) 0:00:09.928 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020722", "end": "2023-12-25 22:14:30.873426", "rc": 1, "start": "2023-12-25 22:14:30.852704" } 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:14:30 +0000 (0:00:00.233) 0:00:10.161 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:14:30 +0000 (0:00:00.027) 0:00:10.189 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003393", "end": "2023-12-25 22:14:31.120145", "rc": 0, "start": "2023-12-25 22:14:31.116752" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:14:31 +0000 (0:00:00.219) 0:00:10.409 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:14:31 +0000 (0:00:00.031) 0:00:10.441 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003528", "end": "2023-12-25 22:14:31.371310", "rc": 0, "start": "2023-12-25 22:14:31.367782" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:14:31 +0000 (0:00:00.219) 0:00:10.660 ******* 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.16txp8xtiy/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:14:31 +0000 (0:00:00.034) 0:00:10.695 ******* 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.16txp8xtiy/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:14:31 +0000 (0:00:00.032) 0:00:10.727 ******* 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.16txp8xtiy/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:14:31 +0000 (0:00:00.038) 0:00:10.765 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:14:31 +0000 (0:00:00.056) 0:00:10.822 ******* 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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:14:31 +0000 (0:00:00.038) 0:00:10.860 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:14:31 +0000 (0:00:00.028) 0:00:10.889 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:14:31 +0000 (0:00:00.044) 0:00:10.934 ******* 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.039145", "end": "2023-12-25 22:14:31.897902", "rc": 1, "start": "2023-12-25 22:14:31.858757" } 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.16txp8xtiy/tests/playbooks/tests_states.yml:45 Monday 25 December 2023 22:14:31 +0000 (0:00:00.252) 0:00:11.186 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:14:31 +0000 (0:00:00.068) 0:00:11.255 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:14:32 +0000 (0:00:00.029) 0:00:11.284 ******* 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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:14:32 +0000 (0:00:00.053) 0:00:11.338 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:14:32 +0000 (0:00:00.038) 0:00:11.377 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:14:32 +0000 (0:00:00.038) 0:00:11.415 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003642", "end": "2023-12-25 22:14:32.347259", "rc": 0, "start": "2023-12-25 22:14:32.343617" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:14:32 +0000 (0:00:00.220) 0:00:11.636 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:14:32 +0000 (0:00:00.030) 0:00:11.666 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:14:32 +0000 (0:00:00.029) 0:00:11.695 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/delete_interface.yml for sut => (item=tasks/delete_interface.yml) included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/delete_interface.yml:3 Monday 25 December 2023 22:14:32 +0000 (0:00:00.044) 0:00:11.740 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006784", "end": "2023-12-25 22:14:32.670964", "rc": 1, "start": "2023-12-25 22:14:32.664180" } 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.16txp8xtiy/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:14:32 +0000 (0:00:00.218) 0:00:11.959 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:14:32 +0000 (0:00:00.038) 0:00:11.997 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:14:32 +0000 (0:00:00.250) 0:00:12.248 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:14:33 +0000 (0:00:00.037) 0:00:12.285 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 25 December 2023 22:14:33 +0000 (0:00:00.052) 0:00:12.338 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:14:33 +0000 (0:00:00.050) 0:00:12.389 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:14:33 +0000 (0:00:00.060) 0:00:12.449 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:14:33 +0000 (0:00:00.043) 0:00:12.493 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:14:33 +0000 (0:00:00.051) 0:00:12.545 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:14:33 +0000 (0:00:00.052) 0:00:12.597 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:14:35 +0000 (0:00:01.728) 0:00:14.326 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:14:36 +0000 (0:00:01.398) 0:00:15.725 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:14:36 +0000 (0:00:00.056) 0:00:15.782 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:14:36 +0000 (0:00:00.029) 0:00:15.811 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:14:36 +0000 (0:00:00.029) 0:00:15.840 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:14:36 +0000 (0:00:00.050) 0:00:15.891 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:14:36 +0000 (0:00:00.031) 0:00:15.922 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:14:36 +0000 (0:00:00.029) 0:00:15.952 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:14:36 +0000 (0:00:00.033) 0:00:15.985 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:14:36 +0000 (0:00:00.031) 0:00:16.016 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:14:36 +0000 (0:00:00.027) 0:00:16.044 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:14:37 +0000 (0:00:00.389) 0:00:16.434 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11768pzumxjsv/tmpmgsutjwp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:14:37 +0000 (0:00:00.312) 0:00:16.746 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:14:37 +0000 (0:00:00.307) 0:00:17.054 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:14:37 +0000 (0:00:00.031) 0:00:17.086 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:14:37 +0000 (0:00:00.031) 0:00:17.118 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:14:37 +0000 (0:00:00.030) 0:00:17.148 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:14:37 +0000 (0:00:00.029) 0:00:17.177 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 25 December 2023 22:14:38 +0000 (0:00:00.245) 0:00:17.422 ******* 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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:14:38 +0000 (0:00:00.030) 0:00:17.452 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/assert_device_absent.yml for sut => (item=tasks/assert_device_absent.yml) included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 25 December 2023 22:14:38 +0000 (0:00:00.047) 0:00:17.499 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:14:38 +0000 (0:00:00.038) 0:00:17.538 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 25 December 2023 22:14:38 +0000 (0:00:00.213) 0:00:17.751 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:14:38 +0000 (0:00:00.028) 0:00:17.780 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:14:38 +0000 (0:00:00.041) 0:00:17.821 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:14:38 +0000 (0:00:00.027) 0:00:17.849 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542477.7621584, "block_size": 4096, "blocks": 8, "ctime": 1703542477.7621584, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533386, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703542477.7621584, "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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:14:38 +0000 (0:00:00.211) 0:00:18.061 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:14:38 +0000 (0:00:00.028) 0:00:18.089 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020367", "end": "2023-12-25 22:14:39.032927", "rc": 1, "start": "2023-12-25 22:14:39.012560" } 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:14:39 +0000 (0:00:00.231) 0:00:18.321 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:14:39 +0000 (0:00:00.029) 0:00:18.350 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003508", "end": "2023-12-25 22:14:39.278546", "rc": 0, "start": "2023-12-25 22:14:39.275038" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:14:39 +0000 (0:00:00.217) 0:00:18.568 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:14:39 +0000 (0:00:00.039) 0:00:18.608 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003659", "end": "2023-12-25 22:14:39.541538", "rc": 0, "start": "2023-12-25 22:14:39.537879" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:14:39 +0000 (0:00:00.254) 0:00:18.863 ******* 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.16txp8xtiy/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:14:39 +0000 (0:00:00.037) 0:00:18.900 ******* 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.16txp8xtiy/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:14:39 +0000 (0:00:00.033) 0:00:18.933 ******* 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.16txp8xtiy/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:14:39 +0000 (0:00:00.044) 0:00:18.977 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:14:39 +0000 (0:00:00.031) 0:00:19.009 ******* 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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:14:39 +0000 (0:00:00.025) 0:00:19.035 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:14:39 +0000 (0:00:00.029) 0:00:19.064 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:14:39 +0000 (0:00:00.046) 0:00:19.110 ******* 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.040022", "end": "2023-12-25 22:14:40.076836", "rc": 1, "start": "2023-12-25 22:14:40.036814" } 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.16txp8xtiy/tests/playbooks/tests_states.yml:65 Monday 25 December 2023 22:14:40 +0000 (0:00:00.254) 0:00:19.365 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:14:40 +0000 (0:00:00.040) 0:00:19.405 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:14:40 +0000 (0:00:00.029) 0:00:19.435 ******* 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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:14:40 +0000 (0:00:00.052) 0:00:19.488 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:14:40 +0000 (0:00:00.039) 0:00:19.527 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:14:40 +0000 (0:00:00.063) 0:00:19.590 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003647", "end": "2023-12-25 22:14:40.518817", "rc": 0, "start": "2023-12-25 22:14:40.515170" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:14:40 +0000 (0:00:00.217) 0:00:19.807 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:14:40 +0000 (0:00:00.028) 0:00:19.836 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:14:40 +0000 (0:00:00.027) 0:00:19.864 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:14:40 +0000 (0:00:00.041) 0:00:19.905 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:14:40 +0000 (0:00:00.050) 0:00:19.956 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:14:40 +0000 (0:00:00.046) 0:00:20.002 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:14:40 +0000 (0:00:00.033) 0:00:20.036 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:14:40 +0000 (0:00:00.033) 0:00:20.070 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:14:40 +0000 (0:00:00.030) 0:00:20.100 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:14:42 +0000 (0:00:01.744) 0:00:21.844 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:14:44 +0000 (0:00:01.482) 0:00:23.326 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:14:44 +0000 (0:00:00.031) 0:00:23.358 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:14:44 +0000 (0:00:00.029) 0:00:23.388 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:14:44 +0000 (0:00:00.030) 0:00:23.418 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:14:44 +0000 (0:00:00.052) 0:00:23.471 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:14:44 +0000 (0:00:00.030) 0:00:23.502 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:14:44 +0000 (0:00:00.029) 0:00:23.531 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:14:44 +0000 (0:00:00.033) 0:00:23.565 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:14:44 +0000 (0:00:00.032) 0:00:23.598 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:14:44 +0000 (0:00:00.028) 0:00:23.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:14:44 +0000 (0:00:00.388) 0:00:24.014 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11768pzumxjsv/tmp6tw0h8ny" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:14:45 +0000 (0:00:00.318) 0:00:24.333 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:14:45 +0000 (0:00:00.304) 0:00:24.638 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:14:45 +0000 (0:00:00.029) 0:00:24.668 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:14:45 +0000 (0:00:00.033) 0:00:24.702 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:14:45 +0000 (0:00:00.080) 0:00:24.782 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:14:45 +0000 (0:00:00.035) 0:00:24.817 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:14:45 +0000 (0:00:00.228) 0:00:25.046 ******* 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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:14:45 +0000 (0:00:00.032) 0:00:25.079 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:14:45 +0000 (0:00:00.054) 0:00:25.133 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:14:45 +0000 (0:00:00.049) 0:00:25.183 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:14:45 +0000 (0:00:00.046) 0:00:25.229 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:14:46 +0000 (0:00:00.033) 0:00:25.262 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:14:46 +0000 (0:00:00.034) 0:00:25.297 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:14:46 +0000 (0:00:00.031) 0:00:25.328 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:14:47 +0000 (0:00:01.712) 0:00:27.041 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:14:49 +0000 (0:00:01.433) 0:00:28.474 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:14:49 +0000 (0:00:00.031) 0:00:28.506 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:14:49 +0000 (0:00:00.031) 0:00:28.538 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:14:49 +0000 (0:00:00.030) 0:00:28.568 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:14:49 +0000 (0:00:00.052) 0:00:28.620 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:14:49 +0000 (0:00:00.032) 0:00:28.653 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:14:49 +0000 (0:00:00.030) 0:00:28.684 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:14:49 +0000 (0:00:00.038) 0:00:28.722 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:14:49 +0000 (0:00:00.032) 0:00:28.754 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:14:49 +0000 (0:00:00.027) 0:00:28.782 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:14:49 +0000 (0:00:00.388) 0:00:29.170 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11768pzumxjsv/tmp979nu81e" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:14:50 +0000 (0:00:00.331) 0:00:29.501 ******* 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:14:50 +0000 (0:00:00.594) 0:00:30.095 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:14:50 +0000 (0:00:00.030) 0:00:30.126 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:14:50 +0000 (0:00:00.031) 0:00:30.157 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:14:50 +0000 (0:00:00.055) 0:00:30.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:14:50 +0000 (0:00:00.029) 0:00:30.243 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:14:51 +0000 (0:00:00.220) 0:00:30.464 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:14:51 +0000 (0:00:00.046) 0:00:30.510 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:14:51 +0000 (0:00:00.039) 0:00:30.550 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542490.7084332, "block_size": 4096, "blocks": 0, "ctime": 1703542490.7084332, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30256, "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": 1703542490.7084332, "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.16txp8xtiy/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:14:51 +0000 (0:00:00.214) 0:00:30.765 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 25 December 2023 22:14:51 +0000 (0:00:00.029) 0:00:30.794 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:14:51 +0000 (0:00:00.041) 0:00:30.836 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:14:51 +0000 (0:00:00.028) 0:00:30.864 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542490.5189312, "block_size": 4096, "blocks": 8, "ctime": 1703542485.3480232, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533386, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703542485.3480232, "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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:14:51 +0000 (0:00:00.212) 0:00:31.077 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:14:51 +0000 (0:00:00.028) 0:00:31.105 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020995", "end": "2023-12-25 22:14:52.050521", "rc": 1, "start": "2023-12-25 22:14:52.029526" } 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:14:52 +0000 (0:00:00.232) 0:00:31.338 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:14:52 +0000 (0:00:00.027) 0:00:31.366 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003368", "end": "2023-12-25 22:14:52.296956", "rc": 0, "start": "2023-12-25 22:14:52.293588" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:14:52 +0000 (0:00:00.244) 0:00:31.611 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:14:52 +0000 (0:00:00.032) 0:00:31.644 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003574", "end": "2023-12-25 22:14:52.575298", "rc": 0, "start": "2023-12-25 22:14:52.571724" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:14:52 +0000 (0:00:00.220) 0:00:31.864 ******* 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.16txp8xtiy/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 25 December 2023 22:14:52 +0000 (0:00:00.032) 0:00:31.897 ******* 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.16txp8xtiy/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 25 December 2023 22:14:52 +0000 (0:00:00.029) 0:00:31.927 ******* 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.16txp8xtiy/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 25 December 2023 22:14:52 +0000 (0:00:00.029) 0:00:31.956 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:14:52 +0000 (0:00:00.029) 0:00:31.985 ******* 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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:14:52 +0000 (0:00:00.025) 0:00:32.010 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:14:52 +0000 (0:00:00.027) 0:00:32.038 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:14:52 +0000 (0:00:00.042) 0:00:32.080 ******* 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.045166", "end": "2023-12-25 22:14:53.048898", "rc": 0, "start": "2023-12-25 22:14:53.003732" } 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.16txp8xtiy/tests/playbooks/tests_states.yml:83 Monday 25 December 2023 22:14:53 +0000 (0:00:00.259) 0:00:32.340 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:14:53 +0000 (0:00:00.041) 0:00:32.381 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:14:53 +0000 (0:00:00.029) 0:00:32.410 ******* 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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:14:53 +0000 (0:00:00.054) 0:00:32.465 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:14:53 +0000 (0:00:00.070) 0:00:32.536 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:14:53 +0000 (0:00:00.039) 0:00:32.576 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003571", "end": "2023-12-25 22:14:53.504948", "rc": 0, "start": "2023-12-25 22:14:53.501377" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:14:53 +0000 (0:00:00.217) 0:00:32.793 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:14:53 +0000 (0:00:00.029) 0:00:32.823 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:14:53 +0000 (0:00:00.030) 0:00:32.854 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:14:53 +0000 (0:00:00.044) 0:00:32.899 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:14:53 +0000 (0:00:00.049) 0:00:32.948 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:14:53 +0000 (0:00:00.057) 0:00:33.006 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:14:53 +0000 (0:00:00.035) 0:00:33.042 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:14:53 +0000 (0:00:00.029) 0:00:33.071 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:14:53 +0000 (0:00:00.028) 0:00:33.100 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:14:55 +0000 (0:00:01.785) 0:00:34.886 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:14:57 +0000 (0:00:01.389) 0:00:36.275 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:14:57 +0000 (0:00:00.035) 0:00:36.311 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:14:57 +0000 (0:00:00.033) 0:00:36.344 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:14:57 +0000 (0:00:00.030) 0:00:36.374 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:14:57 +0000 (0:00:00.054) 0:00:36.429 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:14:57 +0000 (0:00:00.030) 0:00:36.459 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:14:57 +0000 (0:00:00.029) 0:00:36.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:14:57 +0000 (0:00:00.036) 0:00:36.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:14:57 +0000 (0:00:00.039) 0:00:36.564 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:14:57 +0000 (0:00:00.029) 0:00:36.594 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:14:57 +0000 (0:00:00.383) 0:00:36.978 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11768pzumxjsv/tmpzkjcm791" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:14:58 +0000 (0:00:00.306) 0:00:37.284 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:14:58 +0000 (0:00:00.328) 0:00:37.613 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:14:58 +0000 (0:00:00.064) 0:00:37.677 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:14:58 +0000 (0:00:00.033) 0:00:37.710 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:14:58 +0000 (0:00:00.031) 0:00:37.741 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:14:58 +0000 (0:00:00.030) 0:00:37.772 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:14:58 +0000 (0:00:00.215) 0:00:37.988 ******* 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.16txp8xtiy/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:14:58 +0000 (0:00:00.029) 0:00:38.018 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:14:58 +0000 (0:00:00.048) 0:00:38.066 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:14:58 +0000 (0:00:00.046) 0:00:38.113 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:14:58 +0000 (0:00:00.032) 0:00:38.146 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:14:58 +0000 (0:00:00.032) 0:00:38.179 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:14:58 +0000 (0:00:00.032) 0:00:38.211 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:15:00 +0000 (0:00:01.605) 0:00:39.817 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:15:01 +0000 (0:00:01.396) 0:00:41.213 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:15:01 +0000 (0:00:00.030) 0:00:41.244 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:15:02 +0000 (0:00:00.031) 0:00:41.275 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:15:02 +0000 (0:00:00.032) 0:00:41.307 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:15:02 +0000 (0:00:00.053) 0:00:41.361 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:15:02 +0000 (0:00:00.031) 0:00:41.392 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:15:02 +0000 (0:00:00.029) 0:00:41.422 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:15:02 +0000 (0:00:00.033) 0:00:41.455 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:15:02 +0000 (0:00:00.030) 0:00:41.486 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:15:02 +0000 (0:00:00.027) 0:00:41.513 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:15:02 +0000 (0:00:00.379) 0:00:41.893 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11768pzumxjsv/tmp04hnbne1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:15:02 +0000 (0:00:00.310) 0:00:42.204 ******* 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:15:03 +0000 (0:00:00.568) 0:00:42.773 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:15:03 +0000 (0:00:00.030) 0:00:42.803 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:15:03 +0000 (0:00:00.032) 0:00:42.835 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:15:03 +0000 (0:00:00.058) 0:00:42.894 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:15:03 +0000 (0:00:00.030) 0:00:42.925 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:15:03 +0000 (0:00:00.215) 0:00:43.141 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/remove_profile.yml:3 Monday 25 December 2023 22:15:03 +0000 (0:00:00.042) 0:00:43.184 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:15:03 +0000 (0:00:00.050) 0:00:43.234 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:15:04 +0000 (0:00:00.046) 0:00:43.281 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:15:04 +0000 (0:00:00.033) 0:00:43.314 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:15:04 +0000 (0:00:00.029) 0:00:43.343 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:15:04 +0000 (0:00:00.032) 0:00:43.375 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:15:05 +0000 (0:00:01.609) 0:00:44.985 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:15:07 +0000 (0:00:01.416) 0:00:46.401 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:15:07 +0000 (0:00:00.032) 0:00:46.434 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:15:07 +0000 (0:00:00.034) 0:00:46.469 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:15:07 +0000 (0:00:00.032) 0:00:46.501 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:15:07 +0000 (0:00:00.056) 0:00:46.557 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:15:07 +0000 (0:00:00.033) 0:00:46.591 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:15:07 +0000 (0:00:00.035) 0:00:46.627 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:15:07 +0000 (0:00:00.038) 0:00:46.665 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:15:07 +0000 (0:00:00.033) 0:00:46.699 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:15:07 +0000 (0:00:00.033) 0:00:46.732 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:15:07 +0000 (0:00:00.379) 0:00:47.112 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11768pzumxjsv/tmp75hw0ghd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:15:08 +0000 (0:00:00.310) 0:00:47.422 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:15:08 +0000 (0:00:00.309) 0:00:47.731 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:15:08 +0000 (0:00:00.034) 0:00:47.766 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:15:08 +0000 (0:00:00.034) 0:00:47.800 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:15:08 +0000 (0:00:00.035) 0:00:47.836 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:15:08 +0000 (0:00:00.072) 0:00:47.908 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:15:08 +0000 (0:00:00.220) 0:00:48.129 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/assert_device_present.yml for sut => (item=tasks/assert_device_present.yml) included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/assert_device_present.yml:3 Monday 25 December 2023 22:15:08 +0000 (0:00:00.055) 0:00:48.184 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 25 December 2023 22:15:08 +0000 (0:00:00.044) 0:00:48.229 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1703542503.393081, "block_size": 4096, "blocks": 0, "ctime": 1703542503.393081, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30387, "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": 1703542503.393081, "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.16txp8xtiy/tests/playbooks/tasks/assert_device_present.yml:5 Monday 25 December 2023 22:15:09 +0000 (0:00:00.209) 0:00:48.439 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:15:09 +0000 (0:00:00.036) 0:00:48.475 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:15:09 +0000 (0:00:00.045) 0:00:48.520 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:15:09 +0000 (0:00:00.031) 0:00:48.552 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:15:09 +0000 (0:00:00.209) 0:00:48.762 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:15:09 +0000 (0:00:00.030) 0:00:48.793 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020177", "end": "2023-12-25 22:15:09.736386", "rc": 1, "start": "2023-12-25 22:15:09.716209" } 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:15:09 +0000 (0:00:00.244) 0:00:49.037 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:15:09 +0000 (0:00:00.032) 0:00:49.070 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:15:09 +0000 (0:00:00.038) 0:00:49.109 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:15:09 +0000 (0:00:00.084) 0:00:49.194 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:15:09 +0000 (0:00:00.031) 0:00:49.225 ******* 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.16txp8xtiy/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:15:09 +0000 (0:00:00.031) 0:00:49.256 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:15:10 +0000 (0:00:00.033) 0:00:49.290 ******* 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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:15:10 +0000 (0:00:00.029) 0:00:49.320 ******* 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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:15:10 +0000 (0:00:00.031) 0:00:49.352 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:15:10 +0000 (0:00:00.047) 0:00:49.399 ******* 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.051159", "end": "2023-12-25 22:15:10.370863", "rc": 0, "start": "2023-12-25 22:15:10.319704" } 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.16txp8xtiy/tests/playbooks/tests_states.yml:102 Monday 25 December 2023 22:15:10 +0000 (0:00:00.263) 0:00:49.663 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:15:10 +0000 (0:00:00.048) 0:00:49.711 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:15:10 +0000 (0:00:00.033) 0:00:49.744 ******* 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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:15:10 +0000 (0:00:00.074) 0:00:49.819 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:15:10 +0000 (0:00:00.047) 0:00:49.866 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:15:10 +0000 (0:00:00.095) 0:00:49.961 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003450", "end": "2023-12-25 22:15:10.912971", "rc": 0, "start": "2023-12-25 22:15:10.909521" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:15:10 +0000 (0:00:00.240) 0:00:50.201 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:15:10 +0000 (0:00:00.033) 0:00:50.234 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:15:11 +0000 (0:00:00.032) 0:00:50.267 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:15:11 +0000 (0:00:00.053) 0:00:50.320 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:15:11 +0000 (0:00:00.057) 0:00:50.377 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:15:11 +0000 (0:00:00.055) 0:00:50.433 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:15:11 +0000 (0:00:00.038) 0:00:50.471 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:15:11 +0000 (0:00:00.050) 0:00:50.521 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:15:11 +0000 (0:00:00.037) 0:00:50.558 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:15:12 +0000 (0:00:01.622) 0:00:52.181 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:15:14 +0000 (0:00:01.406) 0:00:53.587 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:15:14 +0000 (0:00:00.035) 0:00:53.622 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:15:14 +0000 (0:00:00.035) 0:00:53.657 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:15:14 +0000 (0:00:00.033) 0:00:53.691 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:15:14 +0000 (0:00:00.068) 0:00:53.760 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:15:14 +0000 (0:00:00.074) 0:00:53.835 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:15:14 +0000 (0:00:00.033) 0:00:53.868 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:15:14 +0000 (0:00:00.036) 0:00:53.905 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:15:14 +0000 (0:00:00.030) 0:00:53.936 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:15:14 +0000 (0:00:00.029) 0:00:53.965 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:15:15 +0000 (0:00:00.377) 0:00:54.342 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11768pzumxjsv/tmpxt84lo73" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:15:15 +0000 (0:00:00.304) 0:00:54.647 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:15:15 +0000 (0:00:00.296) 0:00:54.944 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:15:15 +0000 (0:00:00.031) 0:00:54.975 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:15:15 +0000 (0:00:00.030) 0:00:55.006 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:15:15 +0000 (0:00:00.032) 0:00:55.038 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:15:15 +0000 (0:00:00.063) 0:00:55.102 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:15:16 +0000 (0:00:00.214) 0:00:55.317 ******* 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.16txp8xtiy/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:15:16 +0000 (0:00:00.047) 0:00:55.364 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:15:16 +0000 (0:00:00.060) 0:00:55.425 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:15:16 +0000 (0:00:00.052) 0:00:55.478 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:15:16 +0000 (0:00:00.034) 0:00:55.512 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:15:16 +0000 (0:00:00.030) 0:00:55.542 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:15:16 +0000 (0:00:00.029) 0:00:55.572 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:15:17 +0000 (0:00:01.601) 0:00:57.174 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:15:19 +0000 (0:00:01.328) 0:00:58.502 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:15:19 +0000 (0:00:00.030) 0:00:58.532 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:15:19 +0000 (0:00:00.062) 0:00:58.595 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:15:19 +0000 (0:00:00.032) 0:00:58.627 ******* skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:15:19 +0000 (0:00:00.053) 0:00:58.681 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:15:19 +0000 (0:00:00.032) 0:00:58.713 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:15:19 +0000 (0:00:00.030) 0:00:58.743 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:15:19 +0000 (0:00:00.034) 0:00:58.778 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:15:19 +0000 (0:00:00.035) 0:00:58.813 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:15:19 +0000 (0:00:00.029) 0:00:58.842 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:15:19 +0000 (0:00:00.375) 0:00:59.218 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11768pzumxjsv/tmpqza97hbl" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:15:20 +0000 (0:00:00.307) 0:00:59.525 ******* 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:15:20 +0000 (0:00:00.564) 0:01:00.089 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:15:20 +0000 (0:00:00.029) 0:01:00.119 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:15:20 +0000 (0:00:00.033) 0:01:00.153 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:15:20 +0000 (0:00:00.039) 0:01:00.192 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:15:20 +0000 (0:00:00.031) 0:01:00.224 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/remove_profile.yml:3 Monday 25 December 2023 22:15:21 +0000 (0:00:00.249) 0:01:00.473 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:15:21 +0000 (0:00:00.048) 0:01:00.522 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:15:21 +0000 (0:00:00.045) 0:01:00.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:15:21 +0000 (0:00:00.032) 0:01:00.600 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:15:21 +0000 (0:00:00.031) 0:01:00.632 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:15:21 +0000 (0:00:00.031) 0:01:00.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 : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:15:23 +0000 (0:00:01.648) 0:01:02.312 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:15:24 +0000 (0:00:01.339) 0:01:03.651 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:15:24 +0000 (0:00:00.032) 0:01:03.684 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:15:24 +0000 (0:00:00.031) 0:01:03.716 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:15:24 +0000 (0:00:00.030) 0:01:03.747 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:15:24 +0000 (0:00:00.055) 0:01:03.802 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:15:24 +0000 (0:00:00.113) 0:01:03.916 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:15:24 +0000 (0:00:00.042) 0:01:03.958 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:15:24 +0000 (0:00:00.035) 0:01:03.994 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:15:24 +0000 (0:00:00.033) 0:01:04.028 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:15:24 +0000 (0:00:00.028) 0:01:04.057 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:15:25 +0000 (0:00:00.394) 0:01:04.451 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11768pzumxjsv/tmp7c7cy8jg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:15:25 +0000 (0:00:00.318) 0:01:04.770 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:15:25 +0000 (0:00:00.320) 0:01:05.091 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:15:25 +0000 (0:00:00.032) 0:01:05.123 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:15:25 +0000 (0:00:00.033) 0:01:05.156 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:15:25 +0000 (0:00:00.033) 0:01:05.190 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:15:25 +0000 (0:00:00.036) 0:01:05.226 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:15:26 +0000 (0:00:00.228) 0:01:05.455 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:15:26 +0000 (0:00:00.044) 0:01:05.500 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:15:26 +0000 (0:00:00.088) 0:01:05.588 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:15:26 +0000 (0:00:00.047) 0:01:05.635 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:15:26 +0000 (0:00:00.034) 0:01:05.670 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:15:26 +0000 (0:00:00.029) 0:01:05.700 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:15:26 +0000 (0:00:00.032) 0:01:05.732 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:15:28 +0000 (0:00:01.731) 0:01:07.463 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:15:29 +0000 (0:00:01.376) 0:01:08.840 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:15:29 +0000 (0:00:00.031) 0:01:08.872 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:15:29 +0000 (0:00:00.033) 0:01:08.906 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:15:29 +0000 (0:00:00.031) 0:01:08.937 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:15:29 +0000 (0:00:00.056) 0:01:08.993 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:15:29 +0000 (0:00:00.031) 0:01:09.024 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:15:29 +0000 (0:00:00.102) 0:01:09.127 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:15:29 +0000 (0:00:00.036) 0:01:09.164 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:15:29 +0000 (0:00:00.030) 0:01:09.194 ******* skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:15:29 +0000 (0:00:00.031) 0:01:09.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:15:30 +0000 (0:00:00.403) 0:01:09.629 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11768pzumxjsv/tmpiilqblxj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:15:30 +0000 (0:00:00.408) 0:01:10.038 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:15:31 +0000 (0:00:00.305) 0:01:10.343 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:15:31 +0000 (0:00:00.032) 0:01:10.375 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:15:31 +0000 (0:00:00.031) 0:01:10.407 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:15:31 +0000 (0:00:00.032) 0:01:10.439 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:15:31 +0000 (0:00:00.030) 0:01:10.469 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:15:31 +0000 (0:00:00.222) 0:01:10.692 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:15:31 +0000 (0:00:00.045) 0:01:10.737 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:15:31 +0000 (0:00:00.081) 0:01:10.819 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:15:31 +0000 (0:00:00.033) 0:01:10.852 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:15:31 +0000 (0:00:00.216) 0:01:11.069 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:15:31 +0000 (0:00:00.042) 0:01:11.112 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020990", "end": "2023-12-25 22:15:32.082094", "rc": 1, "start": "2023-12-25 22:15:32.061104" } 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:15:32 +0000 (0:00:00.258) 0:01:11.370 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:15:32 +0000 (0:00:00.031) 0:01:11.402 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:15:32 +0000 (0:00:00.028) 0:01:11.430 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:15:32 +0000 (0:00:00.027) 0:01:11.458 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:15:32 +0000 (0:00:00.029) 0:01:11.487 ******* 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.16txp8xtiy/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:15:32 +0000 (0:00:00.028) 0:01:11.515 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:15:32 +0000 (0:00:00.032) 0:01:11.547 ******* 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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:15:32 +0000 (0:00:00.033) 0:01:11.581 ******* 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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:15:32 +0000 (0:00:00.033) 0:01:11.615 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:15:32 +0000 (0:00:00.043) 0:01:11.658 ******* 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.048214", "end": "2023-12-25 22:15:32.631703", "rc": 0, "start": "2023-12-25 22:15:32.583489" } 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.16txp8xtiy/tests/playbooks/tests_states.yml:124 Monday 25 December 2023 22:15:32 +0000 (0:00:00.263) 0:01:11.922 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:5 Monday 25 December 2023 22:15:32 +0000 (0:00:00.073) 0:01:11.995 ******* 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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:9 Monday 25 December 2023 22:15:32 +0000 (0:00:00.031) 0:01:12.026 ******* 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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:21 Monday 25 December 2023 22:15:32 +0000 (0:00:00.053) 0:01:12.080 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/show_interfaces.yml:3 Monday 25 December 2023 22:15:32 +0000 (0:00:00.041) 0:01:12.121 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 25 December 2023 22:15:32 +0000 (0:00:00.038) 0:01:12.159 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003630", "end": "2023-12-25 22:15:33.087977", "rc": 0, "start": "2023-12-25 22:15:33.084347" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 25 December 2023 22:15:33 +0000 (0:00:00.217) 0:01:12.377 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/show_interfaces.yml:5 Monday 25 December 2023 22:15:33 +0000 (0:00:00.028) 0:01:12.406 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:24 Monday 25 December 2023 22:15:33 +0000 (0:00:00.029) 0:01:12.435 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/create_bridge_profile.yml for sut => (item=tasks/create_bridge_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/activate_profile.yml for sut => (item=tasks/activate_profile.yml) included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 25 December 2023 22:15:33 +0000 (0:00:00.047) 0:01:12.483 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:15:33 +0000 (0:00:00.046) 0:01:12.529 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:15:33 +0000 (0:00:00.045) 0:01:12.574 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:15:33 +0000 (0:00:00.093) 0:01:12.668 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:15:33 +0000 (0:00:00.031) 0:01:12.699 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:15:33 +0000 (0:00:00.029) 0:01:12.729 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:15:35 +0000 (0:00:01.717) 0:01:14.447 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:15:36 +0000 (0:00:01.376) 0:01:15.824 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:15:36 +0000 (0:00:00.033) 0:01:15.858 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:15:36 +0000 (0:00:00.032) 0:01:15.890 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:15:36 +0000 (0:00:00.030) 0:01:15.920 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:15:36 +0000 (0:00:00.051) 0:01:15.972 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:15:36 +0000 (0:00:00.031) 0:01:16.004 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:15:36 +0000 (0:00:00.030) 0:01:16.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:15:36 +0000 (0:00:00.034) 0:01:16.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:15:36 +0000 (0:00:00.032) 0:01:16.101 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:15:36 +0000 (0:00:00.059) 0:01:16.160 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:15:37 +0000 (0:00:00.390) 0:01:16.551 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11768pzumxjsv/tmp1jzrc7bv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:15:37 +0000 (0:00:00.313) 0:01:16.864 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:15:37 +0000 (0:00:00.306) 0:01:17.171 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:15:37 +0000 (0:00:00.032) 0:01:17.203 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:15:37 +0000 (0:00:00.031) 0:01:17.235 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:15:38 +0000 (0:00:00.033) 0:01:17.269 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:15:38 +0000 (0:00:00.033) 0:01:17.302 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 25 December 2023 22:15:38 +0000 (0:00:00.225) 0:01:17.527 ******* 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.16txp8xtiy/tests/playbooks/tasks/activate_profile.yml:3 Monday 25 December 2023 22:15:38 +0000 (0:00:00.029) 0:01:17.557 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:15:38 +0000 (0:00:00.049) 0:01:17.606 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:15:38 +0000 (0:00:00.047) 0:01:17.654 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:15:38 +0000 (0:00:00.042) 0:01:17.696 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:15:38 +0000 (0:00:00.075) 0:01:17.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:15:38 +0000 (0:00:00.031) 0:01:17.804 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:15:40 +0000 (0:00:01.716) 0:01:19.520 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:15:41 +0000 (0:00:01.378) 0:01:20.899 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:15:41 +0000 (0:00:00.033) 0:01:20.932 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:15:41 +0000 (0:00:00.032) 0:01:20.965 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:15:41 +0000 (0:00:00.043) 0:01:21.008 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:15:41 +0000 (0:00:00.068) 0:01:21.076 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:15:41 +0000 (0:00:00.032) 0:01:21.109 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:15:41 +0000 (0:00:00.031) 0:01:21.141 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:15:41 +0000 (0:00:00.035) 0:01:21.176 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:15:41 +0000 (0:00:00.030) 0:01:21.206 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:15:41 +0000 (0:00:00.026) 0:01:21.233 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:15:42 +0000 (0:00:00.390) 0:01:21.623 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11768pzumxjsv/tmp5yl03ovv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:15:42 +0000 (0:00:00.352) 0:01:21.976 ******* 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='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:15:43 +0000 (0:00:00.584) 0:01:22.561 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:15:43 +0000 (0:00:00.032) 0:01:22.594 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:15:43 +0000 (0:00:00.031) 0:01:22.626 ******* 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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\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='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:15:43 +0000 (0:00:00.030) 0:01:22.656 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:15:43 +0000 (0:00:00.032) 0:01:22.688 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:15:43 +0000 (0:00:00.219) 0:01:22.908 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:15:43 +0000 (0:00:00.048) 0:01:22.957 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:15:43 +0000 (0:00:00.045) 0:01:23.002 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:15:43 +0000 (0:00:00.035) 0:01:23.038 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:15:43 +0000 (0:00:00.031) 0:01:23.070 ******* skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:15:43 +0000 (0:00:00.032) 0:01:23.102 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:15:45 +0000 (0:00:01.718) 0:01:24.821 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:15:47 +0000 (0:00:01.459) 0:01:26.280 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:15:47 +0000 (0:00:00.032) 0:01:26.313 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:15:47 +0000 (0:00:00.033) 0:01:26.346 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:15:47 +0000 (0:00:00.031) 0:01:26.377 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:15:47 +0000 (0:00:00.055) 0:01:26.433 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:15:47 +0000 (0:00:00.033) 0:01:26.467 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:15:47 +0000 (0:00:00.031) 0:01:26.498 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:15:47 +0000 (0:00:00.036) 0:01:26.535 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:15:47 +0000 (0:00:00.030) 0:01:26.566 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:15:47 +0000 (0:00:00.028) 0:01:26.594 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:15:47 +0000 (0:00:00.420) 0:01:27.015 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11768pzumxjsv/tmpcs3hfyvd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:15:48 +0000 (0:00:00.334) 0:01:27.349 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:15:48 +0000 (0:00:00.363) 0:01:27.713 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:15:48 +0000 (0:00:00.033) 0:01:27.747 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:15:48 +0000 (0:00:00.070) 0:01:27.817 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:15:48 +0000 (0:00:00.032) 0:01:27.850 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:15:48 +0000 (0:00:00.033) 0:01:27.883 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:30 Monday 25 December 2023 22:15:48 +0000 (0:00:00.222) 0:01:28.106 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 25 December 2023 22:15:48 +0000 (0:00:00.051) 0:01:28.157 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 25 December 2023 22:15:48 +0000 (0:00:00.050) 0:01:28.208 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 25 December 2023 22:15:49 +0000 (0:00:00.053) 0:01:28.261 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 25 December 2023 22:15:49 +0000 (0:00:00.034) 0:01:28.295 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 25 December 2023 22:15:49 +0000 (0:00:00.033) 0:01:28.329 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 25 December 2023 22:15:49 +0000 (0:00:00.032) 0:01:28.361 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 25 December 2023 22:15:50 +0000 (0:00:01.723) 0:01:30.084 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 25 December 2023 22:15:52 +0000 (0:00:01.457) 0:01:31.541 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 25 December 2023 22:15:52 +0000 (0:00:00.031) 0:01:31.573 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 25 December 2023 22:15:52 +0000 (0:00:00.033) 0:01:31.606 ******* skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Monday 25 December 2023 22:15:52 +0000 (0:00:00.032) 0:01:31.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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 25 December 2023 22:15:52 +0000 (0:00:00.055) 0:01:31.695 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:47 Monday 25 December 2023 22:15:52 +0000 (0:00:00.034) 0:01:31.729 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:59 Monday 25 December 2023 22:15:52 +0000 (0:00:00.031) 0:01:31.761 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:72 Monday 25 December 2023 22:15:52 +0000 (0:00:00.036) 0:01:31.798 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:83 Monday 25 December 2023 22:15:52 +0000 (0:00:00.034) 0:01:31.832 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Monday 25 December 2023 22:15:52 +0000 (0:00:00.029) 0:01:31.862 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:100 Monday 25 December 2023 22:15:52 +0000 (0:00:00.392) 0:01:32.255 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-11768pzumxjsv/tmpw__701xg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 25 December 2023 22:15:53 +0000 (0:00:00.318) 0:01:32.574 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:121 Monday 25 December 2023 22:15:53 +0000 (0:00:00.305) 0:01:32.879 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:127 Monday 25 December 2023 22:15:53 +0000 (0:00:00.030) 0:01:32.910 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:131 Monday 25 December 2023 22:15:53 +0000 (0:00:00.032) 0:01:32.943 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:136 Monday 25 December 2023 22:15:53 +0000 (0:00:00.064) 0:01:33.007 ******* 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.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 25 December 2023 22:15:53 +0000 (0:00:00.031) 0:01:33.038 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:36 Monday 25 December 2023 22:15:54 +0000 (0:00:00.224) 0:01:33.263 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/assert_profile_absent.yml for sut => (item=tasks/assert_profile_absent.yml) included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 25 December 2023 22:15:54 +0000 (0:00:00.048) 0:01:33.312 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 25 December 2023 22:15:54 +0000 (0:00:00.043) 0:01:33.356 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 25 December 2023 22:15:54 +0000 (0:00:00.035) 0:01:33.391 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 25 December 2023 22:15:54 +0000 (0:00:00.226) 0:01:33.618 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 25 December 2023 22:15:54 +0000 (0:00:00.042) 0:01:33.661 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021355", "end": "2023-12-25 22:15:54.610971", "rc": 1, "start": "2023-12-25 22:15:54.589616" } 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 25 December 2023 22:15:54 +0000 (0:00:00.245) 0:01:33.906 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 25 December 2023 22:15:54 +0000 (0:00:00.035) 0:01:33.941 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 25 December 2023 22:15:54 +0000 (0:00:00.029) 0:01:33.971 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 25 December 2023 22:15:54 +0000 (0:00:00.030) 0:01:34.002 ******* 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.16txp8xtiy/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 25 December 2023 22:15:54 +0000 (0:00:00.029) 0:01:34.031 ******* 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.16txp8xtiy/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 25 December 2023 22:15:54 +0000 (0:00:00.027) 0:01:34.059 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 25 December 2023 22:15:54 +0000 (0:00:00.066) 0:01:34.125 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.971014", "end": "2023-12-25 22:15:56.023408", "rc": 0, "start": "2023-12-25 22:15:55.052394" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 25 December 2023 22:15:56 +0000 (0:00:01.187) 0:01:35.313 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 25 December 2023 22:15:56 +0000 (0:00:00.029) 0:01:35.343 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/tests/playbooks/tasks/run_test.yml:42 Monday 25 December 2023 22:15:56 +0000 (0:00:00.029) 0:01:35.372 ******* 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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:47 Monday 25 December 2023 22:15:56 +0000 (0:00:00.030) 0:01:35.403 ******* 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.16txp8xtiy/tests/playbooks/tasks/run_test.yml:66 Monday 25 December 2023 22:15:56 +0000 (0:00:00.028) 0:01:35.431 ******* included: /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/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.16txp8xtiy/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 25 December 2023 22:15:56 +0000 (0:00:00.044) 0:01:35.476 ******* 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.050563", "end": "2023-12-25 22:15:56.451643", "rc": 0, "start": "2023-12-25 22:15:56.401080" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. PLAY RECAP ********************************************************************* sut : ok=333 changed=13 unreachable=0 failed=0 skipped=226 rescued=0 ignored=10 Monday 25 December 2023 22:15:56 +0000 (0:00:00.296) 0:01:35.772 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.85s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.48s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.46s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.46s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.43s /WORKDIR/git-ansible-lint-test-2.16txp8xtiy/.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. ---^---^---^---^---^---