# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/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.165ljmwl3k/tests/tests_states_initscripts.yml:5 Thursday 21 December 2023 16:05:09 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/tests_states_initscripts.yml:8 Thursday 21 December 2023 16:05:09 +0000 (0:00:00.521) 0:00:00.532 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/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.165ljmwl3k/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 16:05:09 +0000 (0:00:00.027) 0:00:00.560 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/tasks/el_repo_setup.yml:19 Thursday 21 December 2023 16:05:09 +0000 (0:00:00.236) 0:00:00.797 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/tasks/el_repo_setup.yml:24 Thursday 21 December 2023 16:05:10 +0000 (0:00:00.207) 0:00:01.005 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/tasks/el_repo_setup.yml:28 Thursday 21 December 2023 16:05:10 +0000 (0:00:00.020) 0:00:01.025 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/tasks/el_repo_setup.yml:53 Thursday 21 December 2023 16:05:10 +0000 (0:00:00.026) 0:00:01.052 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 16:05:10 +0000 (0:00:00.041) 0:00:01.093 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 16:05:10 +0000 (0:00:00.192) 0:00:01.285 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 16:05:10 +0000 (0:00:00.461) 0:00:01.747 ***** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.177388", "end": "2023-12-21 16:05:11.102991", "rc": 0, "start": "2023-12-21 16:05:10.925603" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 16:05:11 +0000 (0:00:00.309) 0:00:02.056 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 16:05:11 +0000 (0:00:00.011) 0:00:02.067 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/tests_states_initscripts.yml:10 Thursday 21 December 2023 16:05:11 +0000 (0:00:00.009) 0:00:02.077 ***** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tests_states.yml:3 Thursday 21 December 2023 16:05:11 +0000 (0:00:00.009) 0:00:02.087 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tests_states.yml:11 Thursday 21 December 2023 16:05:11 +0000 (0:00:00.392) 0:00:02.479 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tests_states.yml:22 Thursday 21 December 2023 16:05:11 +0000 (0:00:00.011) 0:00:02.490 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:05:11 +0000 (0:00:00.018) 0:00:02.508 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:05:11 +0000 (0:00:00.010) 0:00:02.519 ***** 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.165ljmwl3k/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:05:11 +0000 (0:00:00.035) 0:00:02.555 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:05:11 +0000 (0:00:00.015) 0:00:02.570 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:05:11 +0000 (0:00:00.014) 0:00:02.584 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003390", "end": "2023-12-21 16:05:11.756901", "rc": 0, "start": "2023-12-21 16:05:11.753511" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:05:11 +0000 (0:00:00.123) 0:00:02.708 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:05:11 +0000 (0:00:00.012) 0:00:02.720 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:05:11 +0000 (0:00:00.010) 0:00:02.730 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 16:05:11 +0000 (0:00:00.021) 0:00:02.752 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010978", "end": "2023-12-21 16:05:11.930557", "rc": 1, "start": "2023-12-21 16:05:11.919579" } 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.165ljmwl3k/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:05:11 +0000 (0:00:00.128) 0:00:02.881 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:05:11 +0000 (0:00:00.015) 0:00:02.896 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:05:12 +0000 (0:00:00.130) 0:00:03.027 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:05:12 +0000 (0:00:00.013) 0:00:03.040 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:05:12 +0000 (0:00:00.018) 0:00:03.059 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:05:12 +0000 (0:00:00.032) 0:00:03.092 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:05:12 +0000 (0:00:00.068) 0:00:03.160 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:05:12 +0000 (0:00:00.012) 0:00:03.173 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:05:12 +0000 (0:00:00.010) 0:00:03.183 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:05:12 +0000 (0:00:00.009) 0:00:03.193 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:05:13 +0000 (0:00:00.768) 0:00:03.961 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:05:14 +0000 (0:00:01.117) 0:00:05.078 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:05:14 +0000 (0:00:00.021) 0:00:05.100 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:05:14 +0000 (0:00:00.020) 0:00:05.121 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:05:14 +0000 (0:00:00.022) 0:00:05.144 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:05:14 +0000 (0:00:00.042) 0:00:05.186 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:05:14 +0000 (0:00:00.020) 0:00:05.207 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:05:14 +0000 (0:00:00.021) 0:00:05.228 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:05:14 +0000 (0:00:00.023) 0:00:05.252 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:05:14 +0000 (0:00:00.020) 0:00:05.273 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:05:14 +0000 (0:00:00.019) 0:00:05.292 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:05:14 +0000 (0:00:00.369) 0:00:05.662 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17148yv98vdgu/tmp8n20fz9h" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:05:14 +0000 (0:00:00.237) 0:00:05.900 ***** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:05:15 +0000 (0:00:00.374) 0:00:06.275 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:05:15 +0000 (0:00:00.039) 0:00:06.314 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:05:15 +0000 (0:00:00.021) 0:00:06.335 ***** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:05:15 +0000 (0:00:00.022) 0:00:06.357 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:05:15 +0000 (0:00:00.021) 0:00:06.379 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:05:15 +0000 (0:00:00.176) 0:00:06.555 ***** 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.165ljmwl3k/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:05:15 +0000 (0:00:00.022) 0:00:06.578 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:05:15 +0000 (0:00:00.038) 0:00:06.617 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:05:15 +0000 (0:00:00.037) 0:00:06.654 ***** 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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:05:15 +0000 (0:00:00.021) 0:00:06.676 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703174715.310429, "block_size": 4096, "blocks": 8, "ctime": 1703174715.310429, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25431, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703174715.310429, "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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:05:15 +0000 (0:00:00.134) 0:00:06.811 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:05:15 +0000 (0:00:00.022) 0:00:06.833 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025424", "end": "2023-12-21 16:05:16.027592", "rc": 1, "start": "2023-12-21 16:05:16.002168" } 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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:05:16 +0000 (0:00:00.156) 0:00:06.989 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:05:16 +0000 (0:00:00.023) 0:00:07.013 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003509", "end": "2023-12-21 16:05:16.191764", "rc": 0, "start": "2023-12-21 16:05:16.188255" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:05:16 +0000 (0:00:00.140) 0:00:07.154 ***** 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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:05:16 +0000 (0:00:00.047) 0:00:07.201 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003376", "end": "2023-12-21 16:05:16.379349", "rc": 0, "start": "2023-12-21 16:05:16.375973" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:05:16 +0000 (0:00:00.141) 0:00:07.343 ***** 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.165ljmwl3k/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:05:16 +0000 (0:00:00.026) 0:00:07.370 ***** 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.165ljmwl3k/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:05:16 +0000 (0:00:00.025) 0:00:07.395 ***** 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.165ljmwl3k/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:05:16 +0000 (0:00:00.030) 0:00:07.425 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:05:16 +0000 (0:00:00.024) 0:00:07.449 ***** skipping: [sut] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:05:16 +0000 (0:00:00.025) 0:00:07.474 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:05:16 +0000 (0:00:00.028) 0:00:07.502 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:05:16 +0000 (0:00:00.039) 0:00:07.542 ***** 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.050429", "end": "2023-12-21 16:05:16.763248", "rc": 1, "start": "2023-12-21 16:05:16.712819" } 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.165ljmwl3k/tests/playbooks/tests_states.yml:45 Thursday 21 December 2023 16:05:16 +0000 (0:00:00.182) 0:00:07.724 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/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.165ljmwl3k/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:05:16 +0000 (0:00:00.035) 0:00:07.760 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:05:16 +0000 (0:00:00.021) 0:00:07.782 ***** 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" } 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.165ljmwl3k/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:05:16 +0000 (0:00:00.045) 0:00:07.827 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:05:16 +0000 (0:00:00.033) 0:00:07.861 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:05:16 +0000 (0:00:00.059) 0:00:07.921 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003367", "end": "2023-12-21 16:05:17.097911", "rc": 0, "start": "2023-12-21 16:05:17.094544" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:05:17 +0000 (0:00:00.139) 0:00:08.061 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:05:17 +0000 (0:00:00.024) 0:00:08.085 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:05:17 +0000 (0:00:00.022) 0:00:08.107 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 16:05:17 +0000 (0:00:00.040) 0:00:08.147 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007199", "end": "2023-12-21 16:05:17.323877", "rc": 1, "start": "2023-12-21 16:05:17.316678" } 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.165ljmwl3k/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:05:17 +0000 (0:00:00.137) 0:00:08.284 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:05:17 +0000 (0:00:00.033) 0:00:08.318 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:05:17 +0000 (0:00:00.132) 0:00:08.451 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:05:17 +0000 (0:00:00.023) 0:00:08.474 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 21 December 2023 16:05:17 +0000 (0:00:00.039) 0:00:08.513 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:05:17 +0000 (0:00:00.039) 0:00:08.553 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:05:17 +0000 (0:00:00.062) 0:00:08.615 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:05:17 +0000 (0:00:00.025) 0:00:08.641 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:05:17 +0000 (0:00:00.021) 0:00:08.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:05:17 +0000 (0:00:00.021) 0:00:08.683 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:05:18 +0000 (0:00:00.696) 0:00:09.380 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:05:19 +0000 (0:00:00.925) 0:00:10.306 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:05:19 +0000 (0:00:00.022) 0:00:10.328 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:05:19 +0000 (0:00:00.021) 0:00:10.349 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:05:19 +0000 (0:00:00.019) 0:00:10.369 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:05:19 +0000 (0:00:00.089) 0:00:10.458 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:05:19 +0000 (0:00:00.028) 0:00:10.487 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:05:19 +0000 (0:00:00.029) 0:00:10.516 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:05:19 +0000 (0:00:00.026) 0:00:10.543 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:05:19 +0000 (0:00:00.020) 0:00:10.564 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:05:19 +0000 (0:00:00.033) 0:00:10.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 [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:05:19 +0000 (0:00:00.237) 0:00:10.834 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17148yv98vdgu/tmpn5abmwhg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:05:20 +0000 (0:00:00.218) 0:00:11.053 ***** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:05:20 +0000 (0:00:00.227) 0:00:11.280 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:05:20 +0000 (0:00:00.023) 0:00:11.304 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:05:20 +0000 (0:00:00.024) 0:00:11.328 ***** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:05:20 +0000 (0:00:00.023) 0:00:11.352 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:05:20 +0000 (0:00:00.026) 0:00:11.379 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 21 December 2023 16:05:20 +0000 (0:00:00.137) 0:00:11.516 ***** 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.165ljmwl3k/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:05:20 +0000 (0:00:00.026) 0:00:11.543 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 16:05:20 +0000 (0:00:00.069) 0:00:11.612 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:05:20 +0000 (0:00:00.034) 0:00:11.647 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 16:05:20 +0000 (0:00:00.136) 0:00:11.783 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:05:20 +0000 (0:00:00.023) 0:00:11.807 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:05:20 +0000 (0:00:00.036) 0:00:11.843 ***** 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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:05:20 +0000 (0:00:00.021) 0:00:11.865 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703174720.3154755, "block_size": 4096, "blocks": 8, "ctime": 1703174720.3154755, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25400, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703174720.3154755, "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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:05:21 +0000 (0:00:00.134) 0:00:11.999 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:05:21 +0000 (0:00:00.021) 0:00:12.021 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023732", "end": "2023-12-21 16:05:21.216114", "rc": 1, "start": "2023-12-21 16:05:21.192382" } 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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:05:21 +0000 (0:00:00.156) 0:00:12.178 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:05:21 +0000 (0:00:00.021) 0:00:12.200 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003403", "end": "2023-12-21 16:05:21.375174", "rc": 0, "start": "2023-12-21 16:05:21.371771" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:05:21 +0000 (0:00:00.138) 0:00:12.338 ***** 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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:05:21 +0000 (0:00:00.027) 0:00:12.365 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003481", "end": "2023-12-21 16:05:21.543226", "rc": 0, "start": "2023-12-21 16:05:21.539745" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:05:21 +0000 (0:00:00.141) 0:00:12.507 ***** 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.165ljmwl3k/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:05:21 +0000 (0:00:00.049) 0:00:12.557 ***** 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.165ljmwl3k/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:05:21 +0000 (0:00:00.023) 0:00:12.580 ***** 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.165ljmwl3k/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:05:21 +0000 (0:00:00.023) 0:00:12.604 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:05:21 +0000 (0:00:00.022) 0:00:12.627 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:05:21 +0000 (0:00:00.019) 0:00:12.646 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:05:21 +0000 (0:00:00.024) 0:00:12.670 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:05:21 +0000 (0:00:00.042) 0:00:12.713 ***** 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.046658", "end": "2023-12-21 16:05:21.930237", "rc": 1, "start": "2023-12-21 16:05:21.883579" } 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.165ljmwl3k/tests/playbooks/tests_states.yml:65 Thursday 21 December 2023 16:05:21 +0000 (0:00:00.179) 0:00:12.892 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:05:21 +0000 (0:00:00.035) 0:00:12.928 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:05:22 +0000 (0:00:00.022) 0:00:12.950 ***** 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" } 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.165ljmwl3k/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:05:22 +0000 (0:00:00.044) 0:00:12.995 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:05:22 +0000 (0:00:00.033) 0:00:13.029 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:05:22 +0000 (0:00:00.035) 0:00:13.065 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003402", "end": "2023-12-21 16:05:22.238198", "rc": 0, "start": "2023-12-21 16:05:22.234796" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:05:22 +0000 (0:00:00.161) 0:00:13.226 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:05:22 +0000 (0:00:00.023) 0:00:13.250 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:05:22 +0000 (0:00:00.021) 0:00:13.271 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:05:22 +0000 (0:00:00.038) 0:00:13.310 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:05:22 +0000 (0:00:00.039) 0:00:13.349 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:05:22 +0000 (0:00:00.040) 0:00:13.389 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:05:22 +0000 (0:00:00.025) 0:00:13.415 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:05:22 +0000 (0:00:00.022) 0:00:13.437 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:05:22 +0000 (0:00:00.021) 0:00:13.459 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:05:23 +0000 (0:00:00.692) 0:00:14.151 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:05:24 +0000 (0:00:00.951) 0:00:15.103 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:05:24 +0000 (0:00:00.023) 0:00:15.126 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:05:24 +0000 (0:00:00.021) 0:00:15.147 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:05:24 +0000 (0:00:00.022) 0:00:15.170 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:05:24 +0000 (0:00:00.043) 0:00:15.213 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:05:24 +0000 (0:00:00.021) 0:00:15.235 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:05:24 +0000 (0:00:00.021) 0:00:15.256 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:05:24 +0000 (0:00:00.023) 0:00:15.280 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:05:24 +0000 (0:00:00.021) 0:00:15.302 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:05:24 +0000 (0:00:00.020) 0:00:15.322 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:05:24 +0000 (0:00:00.226) 0:00:15.548 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17148yv98vdgu/tmpma7n8bbn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:05:24 +0000 (0:00:00.213) 0:00:15.761 ***** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:05:25 +0000 (0:00:00.252) 0:00:16.014 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:05:25 +0000 (0:00:00.021) 0:00:16.035 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:05:25 +0000 (0:00:00.022) 0:00:16.058 ***** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:05:25 +0000 (0:00:00.022) 0:00:16.080 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:05:25 +0000 (0:00:00.020) 0:00:16.100 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:05:25 +0000 (0:00:00.130) 0:00:16.231 ***** 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.165ljmwl3k/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:05:25 +0000 (0:00:00.024) 0:00:16.255 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:05:25 +0000 (0:00:00.038) 0:00:16.293 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:05:25 +0000 (0:00:00.039) 0:00:16.332 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:05:25 +0000 (0:00:00.039) 0:00:16.371 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:05:25 +0000 (0:00:00.025) 0:00:16.397 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:05:25 +0000 (0:00:00.021) 0:00:16.418 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:05:25 +0000 (0:00:00.019) 0:00:16.437 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:05:26 +0000 (0:00:00.712) 0:00:17.150 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:05:27 +0000 (0:00:00.924) 0:00:18.075 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:05:27 +0000 (0:00:00.027) 0:00:18.102 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:05:27 +0000 (0:00:00.021) 0:00:18.124 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:05:27 +0000 (0:00:00.039) 0:00:18.163 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:05:27 +0000 (0:00:00.047) 0:00:18.211 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:05:27 +0000 (0:00:00.021) 0:00:18.233 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:05:27 +0000 (0:00:00.022) 0:00:18.256 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:05:27 +0000 (0:00:00.025) 0:00:18.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 [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:05:27 +0000 (0:00:00.045) 0:00:18.327 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:05:27 +0000 (0:00:00.021) 0:00:18.349 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:05:27 +0000 (0:00:00.227) 0:00:18.576 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17148yv98vdgu/tmpyo8cbds8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:05:27 +0000 (0:00:00.214) 0:00:18.791 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:05:28 +0000 (0:00:00.471) 0:00:19.263 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:05:28 +0000 (0:00:00.021) 0:00:19.284 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:05:28 +0000 (0:00:00.023) 0:00:19.307 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:05:28 +0000 (0:00:00.022) 0:00:19.330 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:05:28 +0000 (0:00:00.021) 0:00:19.351 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:05:28 +0000 (0:00:00.128) 0:00:19.480 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:05:28 +0000 (0:00:00.042) 0:00:19.522 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:05:28 +0000 (0:00:00.034) 0:00:19.557 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703174728.2275484, "block_size": 4096, "blocks": 0, "ctime": 1703174728.2265482, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17631, "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": 1703174728.2265482, "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.165ljmwl3k/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:05:28 +0000 (0:00:00.161) 0:00:19.718 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 16:05:28 +0000 (0:00:00.025) 0:00:19.744 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:05:28 +0000 (0:00:00.037) 0:00:19.781 ***** 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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:05:28 +0000 (0:00:00.021) 0:00:19.802 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703174728.0515466, "block_size": 4096, "blocks": 8, "ctime": 1703174725.050519, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25431, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703174725.050519, "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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:05:28 +0000 (0:00:00.135) 0:00:19.938 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:05:29 +0000 (0:00:00.026) 0:00:19.965 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024572", "end": "2023-12-21 16:05:29.158059", "rc": 1, "start": "2023-12-21 16:05:29.133487" } 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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:05:29 +0000 (0:00:00.169) 0:00:20.134 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:05:29 +0000 (0:00:00.024) 0:00:20.159 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003420", "end": "2023-12-21 16:05:29.345306", "rc": 0, "start": "2023-12-21 16:05:29.341886" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:05:29 +0000 (0:00:00.150) 0:00:20.309 ***** 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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:05:29 +0000 (0:00:00.034) 0:00:20.344 ***** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003332", "end": "2023-12-21 16:05:29.531993", "rc": 0, "start": "2023-12-21 16:05:29.528661" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:05:29 +0000 (0:00:00.151) 0:00:20.495 ***** 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.165ljmwl3k/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 16:05:29 +0000 (0:00:00.026) 0:00:20.521 ***** 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.165ljmwl3k/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 16:05:29 +0000 (0:00:00.023) 0:00:20.545 ***** 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.165ljmwl3k/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 16:05:29 +0000 (0:00:00.023) 0:00:20.568 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:05:29 +0000 (0:00:00.023) 0:00:20.592 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:05:29 +0000 (0:00:00.043) 0:00:20.635 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:05:29 +0000 (0:00:00.022) 0:00:20.657 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:05:29 +0000 (0:00:00.039) 0:00:20.696 ***** 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.051530", "end": "2023-12-21 16:05:29.928876", "rc": 0, "start": "2023-12-21 16:05:29.877346" } 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.165ljmwl3k/tests/playbooks/tests_states.yml:83 Thursday 21 December 2023 16:05:29 +0000 (0:00:00.194) 0:00:20.891 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/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.165ljmwl3k/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:05:29 +0000 (0:00:00.035) 0:00:20.927 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:05:30 +0000 (0:00:00.021) 0:00:20.949 ***** 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" } 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.165ljmwl3k/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:05:30 +0000 (0:00:00.046) 0:00:20.995 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:05:30 +0000 (0:00:00.035) 0:00:21.030 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:05:30 +0000 (0:00:00.033) 0:00:21.064 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003414", "end": "2023-12-21 16:05:30.241527", "rc": 0, "start": "2023-12-21 16:05:30.238113" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:05:30 +0000 (0:00:00.139) 0:00:21.203 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:05:30 +0000 (0:00:00.023) 0:00:21.227 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:05:30 +0000 (0:00:00.022) 0:00:21.249 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:05:30 +0000 (0:00:00.074) 0:00:21.324 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:05:30 +0000 (0:00:00.042) 0:00:21.366 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:05:30 +0000 (0:00:00.068) 0:00:21.434 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:05:30 +0000 (0:00:00.040) 0:00:21.474 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:05:30 +0000 (0:00:00.031) 0:00:21.506 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:05:30 +0000 (0:00:00.030) 0:00:21.537 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:05:31 +0000 (0:00:00.723) 0:00:22.260 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:05:32 +0000 (0:00:00.947) 0:00:23.207 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:05:32 +0000 (0:00:00.022) 0:00:23.230 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:05:32 +0000 (0:00:00.022) 0:00:23.253 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:05:32 +0000 (0:00:00.029) 0:00:23.282 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:05:32 +0000 (0:00:00.059) 0:00:23.341 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:05:32 +0000 (0:00:00.035) 0:00:23.377 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:05:32 +0000 (0:00:00.025) 0:00:23.403 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:05:32 +0000 (0:00:00.036) 0:00:23.439 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:05:32 +0000 (0:00:00.022) 0:00:23.461 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:05:32 +0000 (0:00:00.019) 0:00:23.481 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:05:32 +0000 (0:00:00.226) 0:00:23.708 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17148yv98vdgu/tmpvamgff7d" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:05:32 +0000 (0:00:00.223) 0:00:23.932 ***** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:05:33 +0000 (0:00:00.225) 0:00:24.158 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:05:33 +0000 (0:00:00.020) 0:00:24.178 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:05:33 +0000 (0:00:00.022) 0:00:24.200 ***** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:05:33 +0000 (0:00:00.022) 0:00:24.223 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:05:33 +0000 (0:00:00.044) 0:00:24.268 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:05:33 +0000 (0:00:00.129) 0:00:24.397 ***** 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.165ljmwl3k/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:05:33 +0000 (0:00:00.021) 0:00:24.419 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:05:33 +0000 (0:00:00.034) 0:00:24.454 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:05:33 +0000 (0:00:00.038) 0:00:24.492 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:05:33 +0000 (0:00:00.026) 0:00:24.519 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:05:33 +0000 (0:00:00.021) 0:00:24.541 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:05:33 +0000 (0:00:00.021) 0:00:24.563 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:05:34 +0000 (0:00:00.688) 0:00:25.251 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:05:35 +0000 (0:00:00.920) 0:00:26.171 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:05:35 +0000 (0:00:00.023) 0:00:26.194 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:05:35 +0000 (0:00:00.020) 0:00:26.215 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:05:35 +0000 (0:00:00.021) 0:00:26.236 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:05:35 +0000 (0:00:00.041) 0:00:26.278 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:05:35 +0000 (0:00:00.021) 0:00:26.299 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:05:35 +0000 (0:00:00.022) 0:00:26.322 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:05:35 +0000 (0:00:00.024) 0:00:26.346 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:05:35 +0000 (0:00:00.021) 0:00:26.368 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:05:35 +0000 (0:00:00.020) 0:00:26.389 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:05:35 +0000 (0:00:00.225) 0:00:26.614 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17148yv98vdgu/tmpuboozc21" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:05:35 +0000 (0:00:00.216) 0:00:26.831 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:05:36 +0000 (0:00:00.508) 0:00:27.339 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:05:36 +0000 (0:00:00.021) 0:00:27.360 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:05:36 +0000 (0:00:00.022) 0:00:27.383 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:05:36 +0000 (0:00:00.022) 0:00:27.406 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:05:36 +0000 (0:00:00.023) 0:00:27.430 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:05:36 +0000 (0:00:00.130) 0:00:27.560 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 16:05:36 +0000 (0:00:00.038) 0:00:27.598 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:05:36 +0000 (0:00:00.038) 0:00:27.637 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:05:36 +0000 (0:00:00.038) 0:00:27.676 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:05:36 +0000 (0:00:00.026) 0:00:27.703 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:05:36 +0000 (0:00:00.022) 0:00:27.725 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:05:36 +0000 (0:00:00.022) 0:00:27.747 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:05:37 +0000 (0:00:00.691) 0:00:28.439 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:05:38 +0000 (0:00:00.937) 0:00:29.377 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:05:38 +0000 (0:00:00.022) 0:00:29.399 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:05:38 +0000 (0:00:00.021) 0:00:29.421 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:05:38 +0000 (0:00:00.021) 0:00:29.443 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:05:38 +0000 (0:00:00.042) 0:00:29.485 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:05:38 +0000 (0:00:00.021) 0:00:29.506 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:05:38 +0000 (0:00:00.020) 0:00:29.527 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:05:38 +0000 (0:00:00.024) 0:00:29.551 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:05:38 +0000 (0:00:00.021) 0:00:29.572 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:05:38 +0000 (0:00:00.045) 0:00:29.618 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:05:38 +0000 (0:00:00.227) 0:00:29.846 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17148yv98vdgu/tmpngyj8bwb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:05:39 +0000 (0:00:00.213) 0:00:30.059 ***** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:05:39 +0000 (0:00:00.238) 0:00:30.297 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:05:39 +0000 (0:00:00.021) 0:00:30.319 ***** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:05:39 +0000 (0:00:00.021) 0:00:30.341 ***** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:05:39 +0000 (0:00:00.022) 0:00:30.363 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:05:39 +0000 (0:00:00.020) 0:00:30.384 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:05:39 +0000 (0:00:00.127) 0:00:30.511 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 16:05:39 +0000 (0:00:00.044) 0:00:30.556 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 16:05:39 +0000 (0:00:00.034) 0:00:30.590 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703174736.307623, "block_size": 4096, "blocks": 0, "ctime": 1703174736.3066227, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17631, "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": 1703174736.3066227, "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.165ljmwl3k/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 16:05:39 +0000 (0:00:00.136) 0:00:30.727 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 16:05:39 +0000 (0:00:00.023) 0:00:30.750 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:05:39 +0000 (0:00:00.067) 0:00:30.818 ***** 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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:05:39 +0000 (0:00:00.022) 0:00:30.840 ***** 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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.131) 0:00:30.972 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.021) 0:00:30.993 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024191", "end": "2023-12-21 16:05:40.187455", "rc": 1, "start": "2023-12-21 16:05:40.163264" } 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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.155) 0:00:31.149 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.022) 0:00:31.171 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.022) 0:00:31.194 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.021) 0:00:31.215 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.022) 0:00:31.238 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.020) 0:00:31.258 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.023) 0:00:31.281 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.018) 0:00:31.300 ***** 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.165ljmwl3k/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.021) 0:00:31.322 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.038) 0:00:31.361 ***** 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.052591", "end": "2023-12-21 16:05:40.583927", "rc": 0, "start": "2023-12-21 16:05:40.531336" } 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.165ljmwl3k/tests/playbooks/tests_states.yml:103 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.184) 0:00:31.546 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/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.165ljmwl3k/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.058) 0:00:31.604 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.022) 0:00:31.626 ***** 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.165ljmwl3k/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.045) 0:00:31.672 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.033) 0:00:31.705 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.032) 0:00:31.738 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003405", "end": "2023-12-21 16:05:40.910572", "rc": 0, "start": "2023-12-21 16:05:40.907167" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.133) 0:00:31.872 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.023) 0:00:31.895 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:05:40 +0000 (0:00:00.022) 0:00:31.917 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:05:41 +0000 (0:00:00.044) 0:00:31.962 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:05:41 +0000 (0:00:00.034) 0:00:31.996 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:05:41 +0000 (0:00:00.037) 0:00:32.034 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:05:41 +0000 (0:00:00.055) 0:00:32.090 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:05:41 +0000 (0:00:00.021) 0:00:32.111 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:05:41 +0000 (0:00:00.021) 0:00:32.133 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:05:41 +0000 (0:00:00.685) 0:00:32.819 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:05:42 +0000 (0:00:00.922) 0:00:33.742 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:05:42 +0000 (0:00:00.022) 0:00:33.764 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:05:42 +0000 (0:00:00.021) 0:00:33.785 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:05:42 +0000 (0:00:00.021) 0:00:33.807 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:05:42 +0000 (0:00:00.043) 0:00:33.851 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:05:42 +0000 (0:00:00.045) 0:00:33.896 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:05:42 +0000 (0:00:00.021) 0:00:33.918 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:05:43 +0000 (0:00:00.026) 0:00:33.945 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:05:43 +0000 (0:00:00.022) 0:00:33.967 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:05:43 +0000 (0:00:00.021) 0:00:33.989 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:05:43 +0000 (0:00:00.225) 0:00:34.214 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17148yv98vdgu/tmpdzo_fu12" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:05:43 +0000 (0:00:00.221) 0:00:34.436 ***** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:05:43 +0000 (0:00:00.232) 0:00:34.668 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:05:43 +0000 (0:00:00.022) 0:00:34.690 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:05:43 +0000 (0:00:00.022) 0:00:34.713 ***** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:05:43 +0000 (0:00:00.023) 0:00:34.736 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:05:43 +0000 (0:00:00.021) 0:00:34.758 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:05:43 +0000 (0:00:00.128) 0:00:34.886 ***** 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.165ljmwl3k/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:05:43 +0000 (0:00:00.022) 0:00:34.908 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:05:44 +0000 (0:00:00.034) 0:00:34.943 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:05:44 +0000 (0:00:00.065) 0:00:35.009 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:05:44 +0000 (0:00:00.025) 0:00:35.035 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:05:44 +0000 (0:00:00.022) 0:00:35.058 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:05:44 +0000 (0:00:00.020) 0:00:35.078 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:05:44 +0000 (0:00:00.694) 0:00:35.773 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:05:45 +0000 (0:00:00.936) 0:00:36.710 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:05:45 +0000 (0:00:00.032) 0:00:36.742 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:05:45 +0000 (0:00:00.052) 0:00:36.794 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:05:45 +0000 (0:00:00.034) 0:00:36.829 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:05:45 +0000 (0:00:00.047) 0:00:36.877 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:05:45 +0000 (0:00:00.021) 0:00:36.899 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:05:45 +0000 (0:00:00.026) 0:00:36.925 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:05:46 +0000 (0:00:00.029) 0:00:36.954 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:05:46 +0000 (0:00:00.021) 0:00:36.976 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:05:46 +0000 (0:00:00.021) 0:00:36.997 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:05:46 +0000 (0:00:00.229) 0:00:37.226 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17148yv98vdgu/tmpeze03cqj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:05:46 +0000 (0:00:00.235) 0:00:37.462 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:05:46 +0000 (0:00:00.464) 0:00:37.927 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:05:47 +0000 (0:00:00.020) 0:00:37.948 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:05:47 +0000 (0:00:00.022) 0:00:37.970 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:05:47 +0000 (0:00:00.021) 0:00:37.992 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:05:47 +0000 (0:00:00.021) 0:00:38.013 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 16:05:47 +0000 (0:00:00.157) 0:00:38.171 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:05:47 +0000 (0:00:00.036) 0:00:38.208 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:05:47 +0000 (0:00:00.039) 0:00:38.247 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:05:47 +0000 (0:00:00.026) 0:00:38.274 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:05:47 +0000 (0:00:00.021) 0:00:38.296 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:05:47 +0000 (0:00:00.021) 0:00:38.317 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:05:48 +0000 (0:00:00.689) 0:00:39.006 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:05:49 +0000 (0:00:00.949) 0:00:39.955 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:05:49 +0000 (0:00:00.026) 0:00:39.981 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:05:49 +0000 (0:00:00.023) 0:00:40.005 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:05:49 +0000 (0:00:00.024) 0:00:40.030 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:05:49 +0000 (0:00:00.042) 0:00:40.072 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:05:49 +0000 (0:00:00.021) 0:00:40.094 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:05:49 +0000 (0:00:00.022) 0:00:40.116 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:05:49 +0000 (0:00:00.028) 0:00:40.145 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:05:49 +0000 (0:00:00.022) 0:00:40.167 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:05:49 +0000 (0:00:00.021) 0:00:40.188 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:05:49 +0000 (0:00:00.227) 0:00:40.416 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17148yv98vdgu/tmpmd5clv5u" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:05:49 +0000 (0:00:00.228) 0:00:40.645 ***** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:05:49 +0000 (0:00:00.265) 0:00:40.911 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:05:50 +0000 (0:00:00.030) 0:00:40.942 ***** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:05:50 +0000 (0:00:00.024) 0:00:40.967 ***** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:05:50 +0000 (0:00:00.024) 0:00:40.991 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:05:50 +0000 (0:00:00.051) 0:00:41.043 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:05:50 +0000 (0:00:00.153) 0:00:41.196 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 16:05:50 +0000 (0:00:00.048) 0:00:41.245 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:05:50 +0000 (0:00:00.048) 0:00:41.293 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:05:50 +0000 (0:00:00.049) 0:00:41.343 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:05:50 +0000 (0:00:00.025) 0:00:41.369 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:05:50 +0000 (0:00:00.021) 0:00:41.391 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:05:50 +0000 (0:00:00.021) 0:00:41.412 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:05:51 +0000 (0:00:00.690) 0:00:42.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 [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:05:52 +0000 (0:00:00.963) 0:00:43.066 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:05:52 +0000 (0:00:00.022) 0:00:43.089 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:05:52 +0000 (0:00:00.021) 0:00:43.110 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:05:52 +0000 (0:00:00.020) 0:00:43.131 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:05:52 +0000 (0:00:00.042) 0:00:43.174 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:05:52 +0000 (0:00:00.021) 0:00:43.195 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:05:52 +0000 (0:00:00.020) 0:00:43.216 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:05:52 +0000 (0:00:00.025) 0:00:43.241 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:05:52 +0000 (0:00:00.020) 0:00:43.262 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:05:52 +0000 (0:00:00.021) 0:00:43.284 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:05:52 +0000 (0:00:00.234) 0:00:43.518 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17148yv98vdgu/tmpc9ntvab5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:05:52 +0000 (0:00:00.216) 0:00:43.734 ***** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.248) 0:00:43.983 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.021) 0:00:44.004 ***** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.022) 0:00:44.027 ***** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.027) 0:00:44.055 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.023) 0:00:44.078 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.127) 0:00:44.206 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.042) 0:00:44.248 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.039) 0:00:44.288 ***** 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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.027) 0:00:44.316 ***** 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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.135) 0:00:44.452 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.021) 0:00:44.474 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023563", "end": "2023-12-21 16:05:53.669269", "rc": 1, "start": "2023-12-21 16:05:53.645706" } 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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.158) 0:00:44.632 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.030) 0:00:44.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.022) 0:00:44.685 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.046) 0:00:44.731 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.022) 0:00:44.753 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.022) 0:00:44.776 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.028) 0:00:44.804 ***** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.026) 0:00:44.831 ***** 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.165ljmwl3k/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.023) 0:00:44.855 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:05:53 +0000 (0:00:00.046) 0:00:44.901 ***** 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.051976", "end": "2023-12-21 16:05:54.136897", "rc": 0, "start": "2023-12-21 16:05:54.084921" } 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.165ljmwl3k/tests/playbooks/tests_states.yml:126 Thursday 21 December 2023 16:05:54 +0000 (0:00:00.199) 0:00:45.100 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/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.165ljmwl3k/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 16:05:54 +0000 (0:00:00.035) 0:00:45.136 ***** 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.165ljmwl3k/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 16:05:54 +0000 (0:00:00.022) 0:00:45.158 ***** 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.165ljmwl3k/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 16:05:54 +0000 (0:00:00.045) 0:00:45.203 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 16:05:54 +0000 (0:00:00.034) 0:00:45.238 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 16:05:54 +0000 (0:00:00.035) 0:00:45.273 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003319", "end": "2023-12-21 16:05:54.446179", "rc": 0, "start": "2023-12-21 16:05:54.442860" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 16:05:54 +0000 (0:00:00.162) 0:00:45.435 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 16:05:54 +0000 (0:00:00.022) 0:00:45.458 ***** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 16:05:54 +0000 (0:00:00.022) 0:00:45.481 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 16:05:54 +0000 (0:00:00.045) 0:00:45.526 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:05:54 +0000 (0:00:00.036) 0:00:45.562 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:05:54 +0000 (0:00:00.041) 0:00:45.604 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:05:54 +0000 (0:00:00.028) 0:00:45.632 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:05:54 +0000 (0:00:00.024) 0:00:45.656 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:05:54 +0000 (0:00:00.021) 0:00:45.677 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:05:55 +0000 (0:00:00.695) 0:00:46.373 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:05:56 +0000 (0:00:00.945) 0:00:47.318 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:05:56 +0000 (0:00:00.022) 0:00:47.340 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:05:56 +0000 (0:00:00.021) 0:00:47.361 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:05:56 +0000 (0:00:00.020) 0:00:47.381 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:05:56 +0000 (0:00:00.042) 0:00:47.424 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:05:56 +0000 (0:00:00.021) 0:00:47.445 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:05:56 +0000 (0:00:00.020) 0:00:47.466 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:05:56 +0000 (0:00:00.024) 0:00:47.491 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:05:56 +0000 (0:00:00.020) 0:00:47.511 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:05:56 +0000 (0:00:00.021) 0:00:47.532 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:05:56 +0000 (0:00:00.226) 0:00:47.759 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17148yv98vdgu/tmpdp16r78e" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:05:57 +0000 (0:00:00.213) 0:00:47.973 ***** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:05:57 +0000 (0:00:00.252) 0:00:48.226 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:05:57 +0000 (0:00:00.022) 0:00:48.248 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:05:57 +0000 (0:00:00.022) 0:00:48.271 ***** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:05:57 +0000 (0:00:00.031) 0:00:48.302 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:05:57 +0000 (0:00:00.022) 0:00:48.324 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 16:05:57 +0000 (0:00:00.129) 0:00:48.454 ***** 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.165ljmwl3k/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 16:05:57 +0000 (0:00:00.021) 0:00:48.476 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:05:57 +0000 (0:00:00.034) 0:00:48.510 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:05:57 +0000 (0:00:00.038) 0:00:48.549 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:05:57 +0000 (0:00:00.025) 0:00:48.574 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:05:57 +0000 (0:00:00.021) 0:00:48.596 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:05:57 +0000 (0:00:00.020) 0:00:48.616 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:05:58 +0000 (0:00:00.714) 0:00:49.331 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:05:59 +0000 (0:00:00.924) 0:00:50.255 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:05:59 +0000 (0:00:00.024) 0:00:50.279 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:05:59 +0000 (0:00:00.022) 0:00:50.301 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:05:59 +0000 (0:00:00.020) 0:00:50.322 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:05:59 +0000 (0:00:00.042) 0:00:50.365 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:05:59 +0000 (0:00:00.020) 0:00:50.385 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:05:59 +0000 (0:00:00.021) 0:00:50.406 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:05:59 +0000 (0:00:00.025) 0:00:50.432 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:05:59 +0000 (0:00:00.021) 0:00:50.453 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:05:59 +0000 (0:00:00.022) 0:00:50.475 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:05:59 +0000 (0:00:00.254) 0:00:50.730 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17148yv98vdgu/tmpmkydyohn" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:06:00 +0000 (0:00:00.224) 0:00:50.955 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:06:00 +0000 (0:00:00.471) 0:00:51.426 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:06:00 +0000 (0:00:00.020) 0:00:51.447 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:06:00 +0000 (0:00:00.022) 0:00:51.469 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:06:00 +0000 (0:00:00.021) 0:00:51.490 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:06:00 +0000 (0:00:00.019) 0:00:51.510 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 16:06:00 +0000 (0:00:00.129) 0:00:51.640 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:06:00 +0000 (0:00:00.034) 0:00:51.675 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:06:00 +0000 (0:00:00.038) 0:00:51.714 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:06:00 +0000 (0:00:00.025) 0:00:51.739 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:06:00 +0000 (0:00:00.020) 0:00:51.760 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:06:00 +0000 (0:00:00.020) 0:00:51.780 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:06:01 +0000 (0:00:00.717) 0:00:52.498 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:06:02 +0000 (0:00:00.934) 0:00:53.432 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:06:02 +0000 (0:00:00.022) 0:00:53.455 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:06:02 +0000 (0:00:00.021) 0:00:53.476 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:06:02 +0000 (0:00:00.019) 0:00:53.496 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:06:02 +0000 (0:00:00.041) 0:00:53.538 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:06:02 +0000 (0:00:00.020) 0:00:53.559 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:06:02 +0000 (0:00:00.021) 0:00:53.580 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:06:02 +0000 (0:00:00.024) 0:00:53.604 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:06:02 +0000 (0:00:00.041) 0:00:53.646 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:06:02 +0000 (0:00:00.021) 0:00:53.668 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:06:02 +0000 (0:00:00.230) 0:00:53.899 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17148yv98vdgu/tmpuabk282a" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:06:03 +0000 (0:00:00.216) 0:00:54.116 ***** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:06:03 +0000 (0:00:00.239) 0:00:54.356 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:06:03 +0000 (0:00:00.021) 0:00:54.378 ***** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:06:03 +0000 (0:00:00.022) 0:00:54.400 ***** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:06:03 +0000 (0:00:00.023) 0:00:54.423 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:06:03 +0000 (0:00:00.020) 0:00:54.444 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 16:06:03 +0000 (0:00:00.130) 0:00:54.574 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 16:06:03 +0000 (0:00:00.038) 0:00:54.612 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 16:06:03 +0000 (0:00:00.034) 0:00:54.647 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 16:06:03 +0000 (0:00:00.066) 0:00:54.713 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 16:06:03 +0000 (0:00:00.027) 0:00:54.741 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 16:06:03 +0000 (0:00:00.020) 0:00:54.762 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 16:06:03 +0000 (0:00:00.021) 0:00:54.783 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 16:06:04 +0000 (0:00:00.689) 0:00:55.473 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 16:06:05 +0000 (0:00:00.923) 0:00:56.397 ***** ok: [sut] => {} MSG: Using network provider: initscripts TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 16:06:05 +0000 (0:00:00.024) 0:00:56.421 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 16:06:05 +0000 (0:00:00.021) 0:00:56.442 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 16:06:05 +0000 (0:00:00.045) 0:00:56.488 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 16:06:05 +0000 (0:00:00.043) 0:00:56.531 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 16:06:05 +0000 (0:00:00.021) 0:00:56.553 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 16:06:05 +0000 (0:00:00.020) 0:00:56.574 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 16:06:05 +0000 (0:00:00.025) 0:00:56.599 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 16:06:05 +0000 (0:00:00.022) 0:00:56.622 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 16:06:05 +0000 (0:00:00.021) 0:00:56.643 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 16:06:05 +0000 (0:00:00.231) 0:00:56.875 ***** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17148yv98vdgu/tmpm77uym8_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 16:06:06 +0000 (0:00:00.226) 0:00:57.101 ***** 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 [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 16:06:06 +0000 (0:00:00.220) 0:00:57.322 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 16:06:06 +0000 (0:00:00.021) 0:00:57.343 ***** 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 [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 16:06:06 +0000 (0:00:00.022) 0:00:57.365 ***** 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 [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 16:06:06 +0000 (0:00:00.022) 0:00:57.388 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 16:06:06 +0000 (0:00:00.022) 0:00:57.410 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 16:06:06 +0000 (0:00:00.132) 0:00:57.542 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 16:06:06 +0000 (0:00:00.068) 0:00:57.611 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 16:06:06 +0000 (0:00:00.038) 0:00:57.650 ***** 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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 16:06:06 +0000 (0:00:00.023) 0:00:57.673 ***** 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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 16:06:06 +0000 (0:00:00.131) 0:00:57.805 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 16:06:06 +0000 (0:00:00.021) 0:00:57.827 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023247", "end": "2023-12-21 16:06:07.020556", "rc": 1, "start": "2023-12-21 16:06:06.997309" } 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.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 16:06:07 +0000 (0:00:00.154) 0:00:57.982 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 16:06:07 +0000 (0:00:00.023) 0:00:58.005 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 16:06:07 +0000 (0:00:00.022) 0:00:58.028 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 16:06:07 +0000 (0:00:00.024) 0:00:58.052 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 16:06:07 +0000 (0:00:00.022) 0:00:58.075 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 16:06:07 +0000 (0:00:00.021) 0:00:58.097 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 21 December 2023 16:06:07 +0000 (0:00:00.023) 0:00:58.120 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.690980", "end": "2023-12-21 16:06:07.983929", "rc": 0, "start": "2023-12-21 16:06:07.292949" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 21 December 2023 16:06:08 +0000 (0:00:00.852) 0:00:58.973 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 21 December 2023 16:06:08 +0000 (0:00:00.022) 0:00:58.995 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 16:06:08 +0000 (0:00:00.021) 0:00:59.016 ***** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } 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.165ljmwl3k/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 16:06:08 +0000 (0:00:00.024) 0:00:59.041 ***** 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.165ljmwl3k/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 16:06:08 +0000 (0:00:00.021) 0:00:59.063 ***** included: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 16:06:08 +0000 (0:00:00.039) 0:00:59.102 ***** 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.051915", "end": "2023-12-21 16:06:08.323924", "rc": 0, "start": "2023-12-21 16:06:08.272009" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=334 changed=13 unreachable=0 failed=0 skipped=225 rescued=0 ignored=10 Thursday 21 December 2023 16:06:08 +0000 (0:00:00.175) 0:00:59.278 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.92s /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.34s /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.27s /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which packages are installed --------- 1.12s /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.11s /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable network service --------------------- 0.94s /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-ansible-lint-test-2.165ljmwl3k/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---