# 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.16y42cnoec/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.16y42cnoec/tests/tests_states_initscripts.yml:5 Wednesday 20 December 2023 03:45:20 +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.16y42cnoec/tests/tests_states_initscripts.yml:8 Wednesday 20 December 2023 03:45:20 +0000 (0:00:00.498) 0:00:00.509 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/tasks/el_repo_setup.yml:3 Wednesday 20 December 2023 03:45:20 +0000 (0:00:00.021) 0:00:00.531 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/tasks/el_repo_setup.yml:19 Wednesday 20 December 2023 03:45:21 +0000 (0:00:00.233) 0:00:00.765 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/tasks/el_repo_setup.yml:24 Wednesday 20 December 2023 03:45:21 +0000 (0:00:00.194) 0:00:00.960 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/tasks/el_repo_setup.yml:28 Wednesday 20 December 2023 03:45:21 +0000 (0:00:00.021) 0:00:00.981 **** 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.16y42cnoec/tests/tasks/el_repo_setup.yml:53 Wednesday 20 December 2023 03:45:21 +0000 (0:00:00.018) 0:00:01.000 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/tasks/enable_epel.yml:8 Wednesday 20 December 2023 03:45:21 +0000 (0:00:00.030) 0:00:01.031 **** 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.16y42cnoec/tests/tasks/enable_epel.yml:24 Wednesday 20 December 2023 03:45:21 +0000 (0:00:00.183) 0:00:01.214 **** 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.16y42cnoec/tests/tasks/enable_epel.yml:30 Wednesday 20 December 2023 03:45:21 +0000 (0:00:00.451) 0:00:01.665 **** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.178398", "end": "2023-12-20 03:45:22.215048", "rc": 0, "start": "2023-12-20 03:45:22.036650" } 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.16y42cnoec/tests/tasks/enable_epel.yml:35 Wednesday 20 December 2023 03:45:22 +0000 (0:00:00.298) 0:00:01.964 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/tasks/enable_epel.yml:40 Wednesday 20 December 2023 03:45:22 +0000 (0:00:00.010) 0:00:01.975 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/tests_states_initscripts.yml:10 Wednesday 20 December 2023 03:45:22 +0000 (0:00:00.009) 0:00:01.984 **** 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.16y42cnoec/tests/playbooks/tests_states.yml:3 Wednesday 20 December 2023 03:45:22 +0000 (0:00:00.009) 0:00:01.994 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tests_states.yml:11 Wednesday 20 December 2023 03:45:22 +0000 (0:00:00.373) 0:00:02.368 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tests_states.yml:22 Wednesday 20 December 2023 03:45:22 +0000 (0:00:00.011) 0:00:02.379 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 03:45:22 +0000 (0:00:00.016) 0:00:02.395 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 03:45:22 +0000 (0:00:00.011) 0:00:02.407 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 03:45:22 +0000 (0:00:00.036) 0:00:02.444 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:45:22 +0000 (0:00:00.023) 0:00:02.467 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:45:22 +0000 (0:00:00.019) 0:00:02.487 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003458", "end": "2023-12-20 03:45:22.860506", "rc": 0, "start": "2023-12-20 03:45:22.857048" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:45:22 +0000 (0:00:00.122) 0:00:02.610 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:45:22 +0000 (0:00:00.012) 0:00:02.622 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 03:45:22 +0000 (0:00:00.011) 0:00:02.634 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 20 December 2023 03:45:22 +0000 (0:00:00.021) 0:00:02.655 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010899", "end": "2023-12-20 03:45:23.037411", "rc": 1, "start": "2023-12-20 03:45:23.026512" } 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.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 03:45:23 +0000 (0:00:00.131) 0:00:02.786 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:45:23 +0000 (0:00:00.015) 0:00:02.802 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 03:45:23 +0000 (0:00:00.127) 0:00:02.929 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 03:45:23 +0000 (0:00:00.024) 0:00:02.954 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 03:45:23 +0000 (0:00:00.020) 0:00:02.974 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:45:23 +0000 (0:00:00.034) 0:00:03.008 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:45:23 +0000 (0:00:00.076) 0:00:03.085 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:45:23 +0000 (0:00:00.012) 0:00:03.097 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:45:23 +0000 (0:00:00.010) 0:00:03.108 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:45:23 +0000 (0:00:00.011) 0:00:03.119 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:45:24 +0000 (0:00:00.761) 0:00:03.881 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:45:25 +0000 (0:00:01.091) 0:00:04.973 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:45:25 +0000 (0:00:00.023) 0:00:04.996 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:45:25 +0000 (0:00:00.024) 0:00:05.020 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:45:25 +0000 (0:00:00.023) 0:00:05.044 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:45:25 +0000 (0:00:00.048) 0:00:05.092 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:45:25 +0000 (0:00:00.025) 0:00:05.118 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:45:25 +0000 (0:00:00.026) 0:00:05.144 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:45:25 +0000 (0:00:00.028) 0:00:05.173 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:45:25 +0000 (0:00:00.020) 0:00:05.194 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:45:25 +0000 (0:00:00.020) 0:00:05.214 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:45:25 +0000 (0:00:00.346) 0:00:05.561 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171276vk8trib/tmpi1j2ynv5" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:45:26 +0000 (0:00:00.201) 0:00:05.763 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:45:26 +0000 (0:00:00.368) 0:00:06.132 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:45:26 +0000 (0:00:00.021) 0:00:06.153 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:45:26 +0000 (0:00:00.040) 0:00:06.194 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:45:26 +0000 (0:00:00.022) 0:00:06.216 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:45:26 +0000 (0:00:00.021) 0:00:06.238 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 03:45:26 +0000 (0:00:00.175) 0:00:06.414 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 03:45:26 +0000 (0:00:00.027) 0:00:06.441 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 03:45:26 +0000 (0:00:00.038) 0:00:06.479 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 03:45:26 +0000 (0:00:00.036) 0:00:06.516 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 03:45:26 +0000 (0:00:00.021) 0:00:06.537 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703043926.370846, "block_size": 4096, "blocks": 8, "ctime": 1703043926.370846, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25401, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703043926.370846, "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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 03:45:26 +0000 (0:00:00.154) 0:00:06.692 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 03:45:26 +0000 (0:00:00.023) 0:00:06.715 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024178", "end": "2023-12-20 03:45:27.130259", "rc": 1, "start": "2023-12-20 03:45:27.106081" } 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.174) 0:00:06.889 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.021) 0:00:06.911 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003425", "end": "2023-12-20 03:45:27.289860", "rc": 0, "start": "2023-12-20 03:45:27.286435" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.138) 0:00:07.050 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.026) 0:00:07.076 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003430", "end": "2023-12-20 03:45:27.454360", "rc": 0, "start": "2023-12-20 03:45:27.450930" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.137) 0:00:07.214 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.026) 0:00:07.241 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.022) 0:00:07.263 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.023) 0:00:07.286 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.021) 0:00:07.308 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.025) 0:00:07.333 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.020) 0:00:07.354 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.038) 0:00:07.392 **** 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.046654", "end": "2023-12-20 03:45:27.811783", "rc": 1, "start": "2023-12-20 03:45:27.765129" } 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.16y42cnoec/tests/playbooks/tests_states.yml:45 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.177) 0:00:07.570 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.035) 0:00:07.605 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.022) 0:00:07.627 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.045) 0:00:07.673 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:45:27 +0000 (0:00:00.034) 0:00:07.708 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:45:28 +0000 (0:00:00.055) 0:00:07.763 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004614", "end": "2023-12-20 03:45:29.139152", "rc": 0, "start": "2023-12-20 03:45:28.134538" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:45:29 +0000 (0:00:01.135) 0:00:08.899 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:45:29 +0000 (0:00:00.021) 0:00:08.921 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 03:45:29 +0000 (0:00:00.020) 0:00:08.941 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 20 December 2023 03:45:29 +0000 (0:00:00.040) 0:00:08.982 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007183", "end": "2023-12-20 03:45:29.361637", "rc": 1, "start": "2023-12-20 03:45:29.354454" } 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.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 03:45:29 +0000 (0:00:00.140) 0:00:09.123 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:45:29 +0000 (0:00:00.042) 0:00:09.166 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 03:45:29 +0000 (0:00:00.132) 0:00:09.298 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 03:45:29 +0000 (0:00:00.025) 0:00:09.324 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 20 December 2023 03:45:29 +0000 (0:00:00.040) 0:00:09.364 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:45:29 +0000 (0:00:00.059) 0:00:09.424 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:45:29 +0000 (0:00:00.039) 0:00:09.463 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:45:29 +0000 (0:00:00.025) 0:00:09.489 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:45:29 +0000 (0:00:00.020) 0:00:09.510 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:45:29 +0000 (0:00:00.021) 0:00:09.531 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:45:30 +0000 (0:00:00.705) 0:00:10.236 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.953) 0:00:11.190 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.022) 0:00:11.212 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.021) 0:00:11.234 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.029) 0:00:11.264 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.050) 0:00:11.314 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.029) 0:00:11.344 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.036) 0:00:11.380 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.027) 0:00:11.407 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.021) 0:00:11.429 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.020) 0:00:11.450 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:45:31 +0000 (0:00:00.231) 0:00:11.681 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171276vk8trib/tmpbcl2du29" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.205) 0:00:11.887 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.229) 0:00:12.117 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.022) 0:00:12.139 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.022) 0:00:12.162 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.024) 0:00:12.187 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.051) 0:00:12.238 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.127) 0:00:12.366 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.021) 0:00:12.388 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.042) 0:00:12.430 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.034) 0:00:12.465 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.135) 0:00:12.600 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.024) 0:00:12.624 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.037) 0:00:12.661 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 03:45:32 +0000 (0:00:00.022) 0:00:12.684 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703043932.3547285, "block_size": 4096, "blocks": 8, "ctime": 1703043932.3547285, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25418, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703043932.3547285, "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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.134) 0:00:12.819 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.024) 0:00:12.843 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020419", "end": "2023-12-20 03:45:33.238205", "rc": 1, "start": "2023-12-20 03:45:33.217786" } 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.154) 0:00:12.997 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.022) 0:00:13.020 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003523", "end": "2023-12-20 03:45:33.398123", "rc": 0, "start": "2023-12-20 03:45:33.394600" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.165) 0:00:13.185 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.028) 0:00:13.214 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003527", "end": "2023-12-20 03:45:33.606017", "rc": 0, "start": "2023-12-20 03:45:33.602490" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.153) 0:00:13.368 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.028) 0:00:13.396 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.024) 0:00:13.421 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.027) 0:00:13.448 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.023) 0:00:13.472 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.019) 0:00:13.491 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.022) 0:00:13.514 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.039) 0:00:13.554 **** 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.043668", "end": "2023-12-20 03:45:33.972080", "rc": 1, "start": "2023-12-20 03:45:33.928412" } 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.16y42cnoec/tests/playbooks/tests_states.yml:65 Wednesday 20 December 2023 03:45:33 +0000 (0:00:00.176) 0:00:13.730 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 03:45:34 +0000 (0:00:00.035) 0:00:13.765 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 03:45:34 +0000 (0:00:00.023) 0:00:13.789 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 03:45:34 +0000 (0:00:00.047) 0:00:13.836 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:45:34 +0000 (0:00:00.057) 0:00:13.894 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:45:34 +0000 (0:00:00.032) 0:00:13.926 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003535", "end": "2023-12-20 03:45:34.303806", "rc": 0, "start": "2023-12-20 03:45:34.300271" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:45:34 +0000 (0:00:00.136) 0:00:14.063 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:45:34 +0000 (0:00:00.023) 0:00:14.086 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 03:45:34 +0000 (0:00:00.021) 0:00:14.108 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 03:45:34 +0000 (0:00:00.039) 0:00:14.148 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:45:34 +0000 (0:00:00.035) 0:00:14.183 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:45:34 +0000 (0:00:00.038) 0:00:14.222 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:45:34 +0000 (0:00:00.025) 0:00:14.247 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:45:34 +0000 (0:00:00.021) 0:00:14.268 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:45:34 +0000 (0:00:00.021) 0:00:14.289 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:45:35 +0000 (0:00:00.719) 0:00:15.009 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.919) 0:00:15.928 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.021) 0:00:15.950 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.021) 0:00:15.971 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.021) 0:00:15.992 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.045) 0:00:16.038 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.021) 0:00:16.060 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.021) 0:00:16.081 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.024) 0:00:16.106 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.020) 0:00:16.126 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.020) 0:00:16.147 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.258) 0:00:16.405 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171276vk8trib/tmpewcgkui3" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:45:36 +0000 (0:00:00.221) 0:00:16.626 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.229) 0:00:16.856 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.021) 0:00:16.878 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.022) 0:00:16.900 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.022) 0:00:16.922 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.021) 0:00:16.944 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.128) 0:00:17.072 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.022) 0:00:17.095 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.037) 0:00:17.133 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.040) 0:00:17.174 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.038) 0:00:17.212 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.052) 0:00:17.264 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.022) 0:00:17.287 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:45:37 +0000 (0:00:00.021) 0:00:17.309 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:45:38 +0000 (0:00:00.704) 0:00:18.013 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:45:39 +0000 (0:00:00.927) 0:00:18.941 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:45:39 +0000 (0:00:00.022) 0:00:18.963 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:45:39 +0000 (0:00:00.021) 0:00:18.985 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:45:39 +0000 (0:00:00.020) 0:00:19.006 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:45:39 +0000 (0:00:00.043) 0:00:19.049 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:45:39 +0000 (0:00:00.046) 0:00:19.096 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:45:39 +0000 (0:00:00.020) 0:00:19.117 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:45:39 +0000 (0:00:00.025) 0:00:19.142 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:45:39 +0000 (0:00:00.023) 0:00:19.165 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:45:39 +0000 (0:00:00.028) 0:00:19.194 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:45:39 +0000 (0:00:00.233) 0:00:19.427 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171276vk8trib/tmpa7tryfgq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:45:39 +0000 (0:00:00.206) 0:00:19.633 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.470) 0:00:20.104 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.021) 0:00:20.126 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.021) 0:00:20.147 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.023) 0:00:20.171 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.023) 0:00:20.194 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.140) 0:00:20.335 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.043) 0:00:20.378 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.074) 0:00:20.453 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703043940.271573, "block_size": 4096, "blocks": 0, "ctime": 1703043940.2705731, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17623, "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": 1703043940.2705731, "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.16y42cnoec/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.135) 0:00:20.588 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.041) 0:00:20.629 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.047) 0:00:20.677 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 03:45:40 +0000 (0:00:00.024) 0:00:20.702 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703043940.0965765, "block_size": 4096, "blocks": 8, "ctime": 1703043937.0956354, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25401, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1703043937.0956354, "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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.137) 0:00:20.840 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.027) 0:00:20.867 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022121", "end": "2023-12-20 03:45:41.260621", "rc": 1, "start": "2023-12-20 03:45:41.238500" } 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.151) 0:00:21.019 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.029) 0:00:21.049 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003491", "end": "2023-12-20 03:45:41.426145", "rc": 0, "start": "2023-12-20 03:45:41.422654" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.138) 0:00:21.187 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.026) 0:00:21.213 **** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003434", "end": "2023-12-20 03:45:41.592105", "rc": 0, "start": "2023-12-20 03:45:41.588671" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.138) 0:00:21.352 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.027) 0:00:21.380 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.023) 0:00:21.403 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.064) 0:00:21.468 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.023) 0:00:21.491 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.020) 0:00:21.512 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.023) 0:00:21.536 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 03:45:41 +0000 (0:00:00.043) 0:00:21.579 **** 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.047892", "end": "2023-12-20 03:45:41.998182", "rc": 0, "start": "2023-12-20 03:45:41.950290" } 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.16y42cnoec/tests/playbooks/tests_states.yml:83 Wednesday 20 December 2023 03:45:42 +0000 (0:00:00.192) 0:00:21.771 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 03:45:42 +0000 (0:00:00.041) 0:00:21.813 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 03:45:42 +0000 (0:00:00.022) 0:00:21.836 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 03:45:42 +0000 (0:00:00.045) 0:00:21.881 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:45:42 +0000 (0:00:00.035) 0:00:21.916 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:45:42 +0000 (0:00:00.035) 0:00:21.951 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003436", "end": "2023-12-20 03:45:42.331775", "rc": 0, "start": "2023-12-20 03:45:42.328339" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:45:42 +0000 (0:00:00.140) 0:00:22.092 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:45:42 +0000 (0:00:00.023) 0:00:22.116 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 03:45:42 +0000 (0:00:00.057) 0:00:22.173 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 03:45:42 +0000 (0:00:00.043) 0:00:22.216 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:45:42 +0000 (0:00:00.035) 0:00:22.252 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:45:42 +0000 (0:00:00.038) 0:00:22.291 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:45:42 +0000 (0:00:00.027) 0:00:22.319 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:45:42 +0000 (0:00:00.042) 0:00:22.361 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:45:42 +0000 (0:00:00.021) 0:00:22.383 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:45:43 +0000 (0:00:00.704) 0:00:23.087 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.950) 0:00:24.038 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.029) 0:00:24.068 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.036) 0:00:24.105 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.022) 0:00:24.127 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.049) 0:00:24.176 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.025) 0:00:24.202 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.026) 0:00:24.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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.037) 0:00:24.265 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.046) 0:00:24.312 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.040) 0:00:24.353 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:45:44 +0000 (0:00:00.309) 0:00:24.663 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171276vk8trib/tmpku8bsnny" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.247) 0:00:24.910 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.256) 0:00:25.166 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.021) 0:00:25.188 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.023) 0:00:25.212 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.047) 0:00:25.260 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.026) 0:00:25.286 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.134) 0:00:25.421 **** 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.16y42cnoec/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.024) 0:00:25.445 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.036) 0:00:25.481 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.040) 0:00:25.522 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.050) 0:00:25.573 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.051) 0:00:25.624 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:45:45 +0000 (0:00:00.033) 0:00:25.657 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:45:46 +0000 (0:00:00.715) 0:00:26.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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:45:47 +0000 (0:00:00.964) 0:00:27.338 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:45:47 +0000 (0:00:00.023) 0:00:27.362 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:45:47 +0000 (0:00:00.022) 0:00:27.384 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:45:47 +0000 (0:00:00.022) 0:00:27.407 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:45:47 +0000 (0:00:00.042) 0:00:27.449 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:45:47 +0000 (0:00:00.026) 0:00:27.476 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:45:47 +0000 (0:00:00.030) 0:00:27.506 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:45:47 +0000 (0:00:00.047) 0:00:27.554 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:45:47 +0000 (0:00:00.029) 0:00:27.584 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:45:47 +0000 (0:00:00.026) 0:00:27.610 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:45:48 +0000 (0:00:00.243) 0:00:27.853 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171276vk8trib/tmpwfw4zxor" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:45:48 +0000 (0:00:00.215) 0:00:28.069 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:45:48 +0000 (0:00:00.486) 0:00:28.556 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:45:48 +0000 (0:00:00.048) 0:00:28.605 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:45:48 +0000 (0:00:00.022) 0:00:28.627 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:45:48 +0000 (0:00:00.022) 0:00:28.650 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:45:48 +0000 (0:00:00.021) 0:00:28.672 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.129) 0:00:28.802 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.040) 0:00:28.842 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.042) 0:00:28.885 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.041) 0:00:28.927 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.027) 0:00:28.954 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.020) 0:00:28.975 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.020) 0:00:28.996 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:45:49 +0000 (0:00:00.696) 0:00:29.693 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:45:50 +0000 (0:00:00.948) 0:00:30.641 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:45:50 +0000 (0:00:00.043) 0:00:30.685 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:45:50 +0000 (0:00:00.039) 0:00:30.724 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.023) 0:00:30.747 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.042) 0:00:30.790 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.022) 0:00:30.812 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.022) 0:00:30.834 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.047) 0:00:30.882 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.022) 0:00:30.905 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.021) 0:00:30.926 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.224) 0:00:31.151 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171276vk8trib/tmprkdhll0y" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.214) 0:00:31.366 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.247) 0:00:31.614 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.023) 0:00:31.637 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.022) 0:00:31.660 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.023) 0:00:31.683 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:45:51 +0000 (0:00:00.028) 0:00:31.712 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.143) 0:00:31.856 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.044) 0:00:31.900 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.034) 0:00:31.935 **** ok: [sut] => { "changed": false, "stat": { "atime": 1703043948.7214072, "block_size": 4096, "blocks": 0, "ctime": 1703043948.7194073, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17623, "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": 1703043948.7194073, "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.16y42cnoec/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.140) 0:00:32.075 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.025) 0:00:32.101 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.036) 0:00:32.138 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.023) 0:00:32.161 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.162) 0:00:32.323 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.024) 0:00:32.347 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023077", "end": "2023-12-20 03:45:52.746652", "rc": 1, "start": "2023-12-20 03:45:52.723575" } 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.167) 0:00:32.515 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.029) 0:00:32.544 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.026) 0:00:32.570 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.047) 0:00:32.618 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.044) 0:00:32.663 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.037) 0:00:32.700 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 03:45:52 +0000 (0:00:00.029) 0:00:32.730 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 03:45:53 +0000 (0:00:00.080) 0:00:32.810 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 03:45:53 +0000 (0:00:00.038) 0:00:32.849 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 03:45:53 +0000 (0:00:00.049) 0:00:32.899 **** 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.049237", "end": "2023-12-20 03:45:53.331191", "rc": 0, "start": "2023-12-20 03:45:53.281954" } 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.16y42cnoec/tests/playbooks/tests_states.yml:103 Wednesday 20 December 2023 03:45:53 +0000 (0:00:00.193) 0:00:33.092 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 03:45:53 +0000 (0:00:00.051) 0:00:33.143 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 03:45:53 +0000 (0:00:00.051) 0:00:33.195 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 03:45:53 +0000 (0:00:00.103) 0:00:33.298 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:45:53 +0000 (0:00:00.047) 0:00:33.346 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:45:53 +0000 (0:00:00.049) 0:00:33.395 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003411", "end": "2023-12-20 03:45:53.770424", "rc": 0, "start": "2023-12-20 03:45:53.767013" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:45:53 +0000 (0:00:00.135) 0:00:33.531 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:45:53 +0000 (0:00:00.023) 0:00:33.554 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 03:45:53 +0000 (0:00:00.024) 0:00:33.579 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 03:45:53 +0000 (0:00:00.065) 0:00:33.644 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:45:53 +0000 (0:00:00.036) 0:00:33.680 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:45:53 +0000 (0:00:00.053) 0:00:33.734 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:45:54 +0000 (0:00:00.028) 0:00:33.762 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:45:54 +0000 (0:00:00.021) 0:00:33.784 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:45:54 +0000 (0:00:00.020) 0:00:33.804 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:45:54 +0000 (0:00:00.739) 0:00:34.543 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.922) 0:00:35.465 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.024) 0:00:35.490 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.022) 0:00:35.512 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.023) 0:00:35.535 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.045) 0:00:35.581 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.029) 0:00:35.610 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.033) 0:00:35.644 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.025) 0:00:35.669 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:45:55 +0000 (0:00:00.046) 0:00:35.716 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.021) 0:00:35.738 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.232) 0:00:35.971 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171276vk8trib/tmpyhrgfmsu" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.217) 0:00:36.188 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.227) 0:00:36.416 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.023) 0:00:36.439 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.023) 0:00:36.463 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.024) 0:00:36.487 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.024) 0:00:36.511 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.131) 0:00:36.643 **** 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.16y42cnoec/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.027) 0:00:36.670 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:45:56 +0000 (0:00:00.035) 0:00:36.706 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:45:57 +0000 (0:00:00.039) 0:00:36.745 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:45:57 +0000 (0:00:00.063) 0:00:36.809 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:45:57 +0000 (0:00:00.032) 0:00:36.841 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:45:57 +0000 (0:00:00.034) 0:00:36.875 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:45:57 +0000 (0:00:00.705) 0:00:37.581 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:45:58 +0000 (0:00:00.919) 0:00:38.500 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:45:58 +0000 (0:00:00.021) 0:00:38.522 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:45:58 +0000 (0:00:00.021) 0:00:38.544 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:45:58 +0000 (0:00:00.021) 0:00:38.566 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:45:58 +0000 (0:00:00.044) 0:00:38.610 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:45:58 +0000 (0:00:00.052) 0:00:38.663 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:45:58 +0000 (0:00:00.022) 0:00:38.686 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:45:58 +0000 (0:00:00.028) 0:00:38.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:45:59 +0000 (0:00:00.023) 0:00:38.737 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:45:59 +0000 (0:00:00.021) 0:00:38.759 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:45:59 +0000 (0:00:00.227) 0:00:38.986 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171276vk8trib/tmpfla34apb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:45:59 +0000 (0:00:00.219) 0:00:39.205 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:45:59 +0000 (0:00:00.469) 0:00:39.675 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:45:59 +0000 (0:00:00.021) 0:00:39.697 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:45:59 +0000 (0:00:00.021) 0:00:39.718 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:46:00 +0000 (0:00:00.026) 0:00:39.744 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:46:00 +0000 (0:00:00.021) 0:00:39.766 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 20 December 2023 03:46:00 +0000 (0:00:00.130) 0:00:39.896 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:46:00 +0000 (0:00:00.037) 0:00:39.933 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:46:00 +0000 (0:00:00.066) 0:00:40.001 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:46:00 +0000 (0:00:00.025) 0:00:40.026 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:46:00 +0000 (0:00:00.022) 0:00:40.049 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:46:00 +0000 (0:00:00.023) 0:00:40.072 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:46:01 +0000 (0:00:00.708) 0:00:40.781 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:46:01 +0000 (0:00:00.921) 0:00:41.702 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:46:01 +0000 (0:00:00.022) 0:00:41.725 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.043) 0:00:41.768 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.020) 0:00:41.789 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.043) 0:00:41.833 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.020) 0:00:41.854 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.020) 0:00:41.874 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.024) 0:00:41.899 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.020) 0:00:41.919 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.021) 0:00:41.941 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.231) 0:00:42.173 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171276vk8trib/tmpwqipgu_s" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.207) 0:00:42.381 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.236) 0:00:42.617 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.020) 0:00:42.638 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.021) 0:00:42.660 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.022) 0:00:42.682 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:46:02 +0000 (0:00:00.021) 0:00:42.703 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 03:46:03 +0000 (0:00:00.127) 0:00:42.831 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 03:46:03 +0000 (0:00:00.063) 0:00:42.895 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:46:03 +0000 (0:00:00.039) 0:00:42.934 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:46:03 +0000 (0:00:00.039) 0:00:42.974 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:46:03 +0000 (0:00:00.027) 0:00:43.002 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:46:03 +0000 (0:00:00.023) 0:00:43.025 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:46:03 +0000 (0:00:00.021) 0:00:43.047 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:46:04 +0000 (0:00:00.698) 0:00:43.746 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:46:04 +0000 (0:00:00.950) 0:00:44.696 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:46:04 +0000 (0:00:00.028) 0:00:44.725 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.028) 0:00:44.753 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.023) 0:00:44.777 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.062) 0:00:44.839 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.029) 0:00:44.869 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.022) 0:00:44.891 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.026) 0:00:44.918 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.038) 0:00:44.956 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.022) 0:00:44.978 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.231) 0:00:45.210 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171276vk8trib/tmprh6dw6kp" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.207) 0:00:45.417 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.225) 0:00:45.643 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.021) 0:00:45.664 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:46:05 +0000 (0:00:00.054) 0:00:45.719 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.032) 0:00:45.751 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.023) 0:00:45.774 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.129) 0:00:45.904 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.040) 0:00:45.945 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.039) 0:00:45.984 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.032) 0:00:46.016 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.134) 0:00:46.151 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.030) 0:00:46.181 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021583", "end": "2023-12-20 03:46:06.575737", "rc": 1, "start": "2023-12-20 03:46:06.554154" } 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.153) 0:00:46.334 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.022) 0:00:46.357 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.021) 0:00:46.379 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.022) 0:00:46.401 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.025) 0:00:46.426 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.022) 0:00:46.449 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.054) 0:00:46.503 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.025) 0:00:46.529 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.022) 0:00:46.552 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 03:46:06 +0000 (0:00:00.040) 0:00:46.592 **** 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.048992", "end": "2023-12-20 03:46:07.014213", "rc": 0, "start": "2023-12-20 03:46:06.965221" } 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.16y42cnoec/tests/playbooks/tests_states.yml:126 Wednesday 20 December 2023 03:46:07 +0000 (0:00:00.181) 0:00:46.774 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/run_test.yml:5 Wednesday 20 December 2023 03:46:07 +0000 (0:00:00.037) 0:00:46.811 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:9 Wednesday 20 December 2023 03:46:07 +0000 (0:00:00.023) 0:00:46.835 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:21 Wednesday 20 December 2023 03:46:07 +0000 (0:00:00.053) 0:00:46.889 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 20 December 2023 03:46:07 +0000 (0:00:00.036) 0:00:46.925 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 20 December 2023 03:46:07 +0000 (0:00:00.032) 0:00:46.958 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003404", "end": "2023-12-20 03:46:07.332870", "rc": 0, "start": "2023-12-20 03:46:07.329466" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 20 December 2023 03:46:07 +0000 (0:00:00.135) 0:00:47.093 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 20 December 2023 03:46:07 +0000 (0:00:00.023) 0:00:47.117 **** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:24 Wednesday 20 December 2023 03:46:07 +0000 (0:00:00.023) 0:00:47.140 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 20 December 2023 03:46:07 +0000 (0:00:00.073) 0:00:47.214 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:46:07 +0000 (0:00:00.035) 0:00:47.250 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:46:07 +0000 (0:00:00.039) 0:00:47.289 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:46:07 +0000 (0:00:00.025) 0:00:47.315 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:46:07 +0000 (0:00:00.021) 0:00:47.336 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:46:07 +0000 (0:00:00.021) 0:00:47.357 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:46:08 +0000 (0:00:00.701) 0:00:48.059 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.941) 0:00:49.001 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.022) 0:00:49.023 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.022) 0:00:49.046 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.020) 0:00:49.067 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.044) 0:00:49.112 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.020) 0:00:49.133 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.021) 0:00:49.154 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.025) 0:00:49.180 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.022) 0:00:49.202 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.021) 0:00:49.224 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.226) 0:00:49.450 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171276vk8trib/tmpug1twsc4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:46:09 +0000 (0:00:00.209) 0:00:49.659 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.227) 0:00:49.887 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.021) 0:00:49.908 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.021) 0:00:49.930 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.048) 0:00:49.978 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.025) 0:00:50.003 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.140) 0:00:50.144 **** 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.16y42cnoec/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.026) 0:00:50.170 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.036) 0:00:50.206 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.038) 0:00:50.245 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.025) 0:00:50.271 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.021) 0:00:50.292 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:46:10 +0000 (0:00:00.021) 0:00:50.313 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:46:11 +0000 (0:00:00.707) 0:00:51.021 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.947) 0:00:51.968 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.022) 0:00:51.991 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.021) 0:00:52.013 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.021) 0:00:52.034 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.042) 0:00:52.077 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.021) 0:00:52.098 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.021) 0:00:52.120 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.026) 0:00:52.146 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.021) 0:00:52.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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.022) 0:00:52.190 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.228) 0:00:52.418 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171276vk8trib/tmpje5jrgu_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:46:12 +0000 (0:00:00.204) 0:00:52.623 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.496) 0:00:53.119 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.023) 0:00:53.143 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.024) 0:00:53.168 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.023) 0:00:53.191 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.021) 0:00:53.213 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.129) 0:00:53.342 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.036) 0:00:53.379 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.040) 0:00:53.419 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.027) 0:00:53.447 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.023) 0:00:53.470 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:46:13 +0000 (0:00:00.021) 0:00:53.492 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:46:14 +0000 (0:00:00.740) 0:00:54.233 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.929) 0:00:55.162 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.032) 0:00:55.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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.029) 0:00:55.224 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.022) 0:00:55.246 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.044) 0:00:55.291 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.022) 0:00:55.313 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.022) 0:00:55.336 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.034) 0:00:55.370 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.024) 0:00:55.394 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.024) 0:00:55.419 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:46:15 +0000 (0:00:00.257) 0:00:55.676 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171276vk8trib/tmphctrszdv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.207) 0:00:55.883 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.238) 0:00:56.121 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.021) 0:00:56.142 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.022) 0:00:56.164 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.023) 0:00:56.188 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.021) 0:00:56.210 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:30 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.143) 0:00:56.353 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.040) 0:00:56.393 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.035) 0:00:56.428 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.038) 0:00:56.466 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.024) 0:00:56.491 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.020) 0:00:56.512 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 20 December 2023 03:46:16 +0000 (0:00:00.046) 0:00:56.558 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 20 December 2023 03:46:17 +0000 (0:00:00.685) 0:00:57.244 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.920) 0:00:58.164 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.023) 0:00:58.188 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.022) 0:00:58.210 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.021) 0:00:58.231 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.044) 0:00:58.276 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.021) 0:00:58.298 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.020) 0:00:58.318 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.048) 0:00:58.367 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.023) 0:00:58.391 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.023) 0:00:58.414 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 20 December 2023 03:46:18 +0000 (0:00:00.228) 0:00:58.642 **** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-171276vk8trib/tmppfbqhwvg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.203) 0:00:58.846 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.225) 0:00:59.072 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.022) 0:00:59.094 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.024) 0:00:59.118 **** 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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.023) 0:00:59.142 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.021) 0:00:59.164 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:36 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.127) 0:00:59.292 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.047) 0:00:59.339 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.036) 0:00:59.376 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.021) 0:00:59.397 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.129) 0:00:59.526 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.021) 0:00:59.548 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021881", "end": "2023-12-20 03:46:19.941079", "rc": 1, "start": "2023-12-20 03:46:19.919198" } 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.152) 0:00:59.700 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 20 December 2023 03:46:19 +0000 (0:00:00.022) 0:00:59.723 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 20 December 2023 03:46:20 +0000 (0:00:00.023) 0:00:59.746 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 20 December 2023 03:46:20 +0000 (0:00:00.023) 0:00:59.770 **** 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.16y42cnoec/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 20 December 2023 03:46:20 +0000 (0:00:00.023) 0:00:59.794 **** 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.16y42cnoec/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 20 December 2023 03:46:20 +0000 (0:00:00.023) 0:00:59.817 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 20 December 2023 03:46:20 +0000 (0:00:00.023) 0:00:59.841 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.680872", "end": "2023-12-20 03:46:20.893044", "rc": 0, "start": "2023-12-20 03:46:20.212172" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 20 December 2023 03:46:20 +0000 (0:00:00.814) 0:01:00.655 **** 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.16y42cnoec/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 20 December 2023 03:46:20 +0000 (0:00:00.024) 0:01:00.680 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/run_test.yml:42 Wednesday 20 December 2023 03:46:20 +0000 (0:00:00.022) 0:01:00.702 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:47 Wednesday 20 December 2023 03:46:20 +0000 (0:00:00.026) 0:01:00.729 **** 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.16y42cnoec/tests/playbooks/tasks/run_test.yml:66 Wednesday 20 December 2023 03:46:21 +0000 (0:00:00.022) 0:01:00.751 **** included: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 20 December 2023 03:46:21 +0000 (0:00:00.072) 0:01:00.823 **** 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.048617", "end": "2023-12-20 03:46:21.245240", "rc": 0, "start": "2023-12-20 03:46:21.196623" } 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 Wednesday 20 December 2023 03:46:21 +0000 (0:00:00.172) 0:01:00.996 **** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.92s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.37s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 1.31s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.10s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which packages are installed --------- 1.09s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/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.16y42cnoec/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.16y42cnoec/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.16y42cnoec/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.16y42cnoec/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.16y42cnoec/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable network service --------------------- 0.93s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-ansible-lint-test-2.16y42cnoec/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.16y42cnoec/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.16y42cnoec/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.16y42cnoec/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.16y42cnoec/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.16y42cnoec/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. ---^---^---^---^---^---