# 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-ci_fixnylq7gb6/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tests_states_initscripts.yml:5 Friday 26 January 2024 21:29:33 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tests_states_initscripts.yml:8 Friday 26 January 2024 21:29:34 +0000 (0:00:00.922) 0:00:00.934 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tasks/el_repo_setup.yml:3 Friday 26 January 2024 21:29:34 +0000 (0:00:00.027) 0:00:00.962 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tasks/el_repo_setup.yml:19 Friday 26 January 2024 21:29:34 +0000 (0:00:00.230) 0:00:01.192 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tasks/el_repo_setup.yml:24 Friday 26 January 2024 21:29:35 +0000 (0:00:00.294) 0:00:01.487 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tasks/el_repo_setup.yml:28 Friday 26 January 2024 21:29:35 +0000 (0:00:00.020) 0:00:01.507 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tasks/el_repo_setup.yml:53 Friday 26 January 2024 21:29:35 +0000 (0:00:00.017) 0:00:01.525 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tasks/enable_epel.yml:8 Friday 26 January 2024 21:29:35 +0000 (0:00:00.031) 0:00:01.556 ******** 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-ci_fixnylq7gb6/tests/tasks/enable_epel.yml:24 Friday 26 January 2024 21:29:35 +0000 (0:00:00.216) 0:00:01.772 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tasks/enable_epel.yml:30 Friday 26 January 2024 21:29:35 +0000 (0:00:00.581) 0:00:02.354 ******** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.193093", "end": "2024-01-26 21:29:36.279362", "rc": 0, "start": "2024-01-26 21:29:36.086269" } STDOUT: ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tasks/enable_epel.yml:35 Friday 26 January 2024 21:29:36 +0000 (0:00:00.371) 0:00:02.725 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tasks/enable_epel.yml:40 Friday 26 January 2024 21:29:36 +0000 (0:00:00.060) 0:00:02.785 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/tests_states_initscripts.yml:10 Friday 26 January 2024 21:29:36 +0000 (0:00:00.076) 0:00:02.862 ******** 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-ci_fixnylq7gb6/tests/playbooks/tests_states.yml:3 Friday 26 January 2024 21:29:36 +0000 (0:00:00.082) 0:00:02.944 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tests_states.yml:11 Friday 26 January 2024 21:29:37 +0000 (0:00:00.680) 0:00:03.625 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tests_states.yml:22 Friday 26 January 2024 21:29:37 +0000 (0:00:00.046) 0:00:03.671 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:29:37 +0000 (0:00:00.055) 0:00:03.726 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:29:37 +0000 (0:00:00.019) 0:00:03.746 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:29:37 +0000 (0:00:00.095) 0:00:03.841 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:29:37 +0000 (0:00:00.107) 0:00:03.948 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:29:37 +0000 (0:00:00.044) 0:00:03.993 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004553", "end": "2024-01-26 21:29:38.692304", "rc": 0, "start": "2024-01-26 21:29:37.687751" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:29:38 +0000 (0:00:01.141) 0:00:05.134 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:29:38 +0000 (0:00:00.014) 0:00:05.149 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:29:38 +0000 (0:00:00.022) 0:00:05.172 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/delete_interface.yml:3 Friday 26 January 2024 21:29:38 +0000 (0:00:00.027) 0:00:05.199 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010540", "end": "2024-01-26 21:29:38.990705", "rc": 1, "start": "2024-01-26 21:29:38.980165" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:29:39 +0000 (0:00:00.244) 0:00:05.444 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:29:39 +0000 (0:00:00.016) 0:00:05.460 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:29:39 +0000 (0:00:00.170) 0:00:05.630 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:29:39 +0000 (0:00:00.032) 0:00:05.663 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:29:39 +0000 (0:00:00.084) 0:00:05.748 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:29:39 +0000 (0:00:00.064) 0:00:05.813 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:29:39 +0000 (0:00:00.106) 0:00:05.919 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:29:39 +0000 (0:00:00.037) 0:00:05.956 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:29:39 +0000 (0:00:00.039) 0:00:05.996 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:29:39 +0000 (0:00:00.056) 0:00:06.052 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:29:40 +0000 (0:00:00.888) 0:00:06.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 : Print network provider] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:29:41 +0000 (0:00:00.896) 0:00:07.838 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:29:41 +0000 (0:00:00.025) 0:00:07.863 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:29:41 +0000 (0:00:00.027) 0:00:07.891 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:29:41 +0000 (0:00:00.026) 0:00:07.917 ******** changed: [sut] => { "changed": true, "changes": { "installed": [ "bridge-utils" ] }, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7_9.1.x86_64 providing dhclient is already installed", "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 rhel-Server 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:29:44 +0000 (0:00:02.706) 0:00:10.624 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:29:44 +0000 (0:00:00.076) 0:00:10.701 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:29:44 +0000 (0:00:00.053) 0:00:10.754 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:29:44 +0000 (0:00:00.101) 0:00:10.855 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:29:44 +0000 (0:00:00.043) 0:00:10.898 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:29:44 +0000 (0:00:00.040) 0:00:10.939 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:29:45 +0000 (0:00:00.575) 0:00:11.514 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172399p2v28x2/tmpzhycnhkv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:29:45 +0000 (0:00:00.421) 0:00:11.936 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:29:46 +0000 (0:00:00.651) 0:00:12.588 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:29:46 +0000 (0:00:00.090) 0:00:12.678 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:29:46 +0000 (0:00:00.058) 0:00:12.737 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:29:46 +0000 (0:00:00.074) 0:00:12.811 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:29:46 +0000 (0:00:00.026) 0:00:12.837 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:29:47 +0000 (0:00:00.601) 0:00:13.439 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:29:47 +0000 (0:00:00.210) 0:00:13.650 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:29:47 +0000 (0:00:00.072) 0:00:13.722 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:29:47 +0000 (0:00:00.101) 0:00:13.824 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:29:47 +0000 (0:00:00.038) 0:00:13.863 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304586.1172018, "block_size": 4096, "blocks": 8, "ctime": 1706304586.1172018, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416149, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304586.1172018, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:29:47 +0000 (0:00:00.399) 0:00:14.263 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:29:47 +0000 (0:00:00.083) 0:00:14.346 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023854", "end": "2024-01-26 21:29:48.151490", "rc": 1, "start": "2024-01-26 21:29:48.127636" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:29:48 +0000 (0:00:00.315) 0:00:14.661 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:29:48 +0000 (0:00:00.073) 0:00:14.735 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003331", "end": "2024-01-26 21:29:48.479635", "rc": 0, "start": "2024-01-26 21:29:48.476304" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:29:48 +0000 (0:00:00.199) 0:00:14.934 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:29:48 +0000 (0:00:00.078) 0:00:15.013 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003439", "end": "2024-01-26 21:29:48.742151", "rc": 0, "start": "2024-01-26 21:29:48.738712" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:29:48 +0000 (0:00:00.175) 0:00:15.189 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:29:48 +0000 (0:00:00.030) 0:00:15.219 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:29:48 +0000 (0:00:00.027) 0:00:15.246 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:29:48 +0000 (0:00:00.033) 0:00:15.280 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:29:48 +0000 (0:00:00.084) 0:00:15.365 ******** 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-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:29:49 +0000 (0:00:00.103) 0:00:15.468 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:29:49 +0000 (0:00:00.063) 0:00:15.532 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:29:49 +0000 (0:00:00.119) 0:00:15.652 ******** 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.046892", "end": "2024-01-26 21:29:49.499634", "rc": 1, "start": "2024-01-26 21:29:49.452742" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tests_states.yml:45 Friday 26 January 2024 21:29:49 +0000 (0:00:00.295) 0:00:15.948 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:29:49 +0000 (0:00:00.048) 0:00:15.996 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:29:49 +0000 (0:00:00.024) 0:00:16.020 ******** 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-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:29:49 +0000 (0:00:00.049) 0:00:16.070 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:29:49 +0000 (0:00:00.041) 0:00:16.112 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:29:49 +0000 (0:00:00.040) 0:00:16.153 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003438", "end": "2024-01-26 21:29:49.843248", "rc": 0, "start": "2024-01-26 21:29:49.839810" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:29:49 +0000 (0:00:00.150) 0:00:16.303 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:29:49 +0000 (0:00:00.095) 0:00:16.399 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:29:50 +0000 (0:00:00.080) 0:00:16.480 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/delete_interface.yml:3 Friday 26 January 2024 21:29:50 +0000 (0:00:00.173) 0:00:16.653 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007286", "end": "2024-01-26 21:29:50.349230", "rc": 1, "start": "2024-01-26 21:29:50.341944" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:29:50 +0000 (0:00:00.184) 0:00:16.837 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:29:50 +0000 (0:00:00.078) 0:00:16.916 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:29:50 +0000 (0:00:00.181) 0:00:17.098 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:29:50 +0000 (0:00:00.040) 0:00:17.139 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 26 January 2024 21:29:50 +0000 (0:00:00.110) 0:00:17.250 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:29:50 +0000 (0:00:00.050) 0:00:17.301 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:29:50 +0000 (0:00:00.063) 0:00:17.364 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:29:51 +0000 (0:00:00.059) 0:00:17.424 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:29:51 +0000 (0:00:00.028) 0:00:17.453 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:29:51 +0000 (0:00:00.059) 0:00:17.512 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:29:51 +0000 (0:00:00.855) 0:00:18.367 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:29:52 +0000 (0:00:00.690) 0:00:19.057 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:29:52 +0000 (0:00:00.073) 0:00:19.131 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:29:52 +0000 (0:00:00.035) 0:00:19.166 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:29:52 +0000 (0:00:00.024) 0:00:19.191 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:29:52 +0000 (0:00:00.044) 0:00:19.236 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:29:52 +0000 (0:00:00.038) 0:00:19.275 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:29:52 +0000 (0:00:00.043) 0:00:19.318 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:29:52 +0000 (0:00:00.054) 0:00:19.372 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:29:53 +0000 (0:00:00.061) 0:00:19.434 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:29:53 +0000 (0:00:00.049) 0:00:19.483 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:29:53 +0000 (0:00:00.383) 0:00:19.866 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172399p2v28x2/tmpmuizcgn9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:29:53 +0000 (0:00:00.349) 0:00:20.216 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:29:54 +0000 (0:00:00.257) 0:00:20.474 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:29:54 +0000 (0:00:00.021) 0:00:20.496 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:29:54 +0000 (0:00:00.049) 0:00:20.545 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:29:54 +0000 (0:00:00.165) 0:00:20.711 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:29:54 +0000 (0:00:00.047) 0:00:20.759 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 26 January 2024 21:29:54 +0000 (0:00:00.200) 0:00:20.959 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:29:54 +0000 (0:00:00.027) 0:00:20.986 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 26 January 2024 21:29:54 +0000 (0:00:00.141) 0:00:21.127 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:29:54 +0000 (0:00:00.095) 0:00:21.222 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 26 January 2024 21:29:55 +0000 (0:00:00.207) 0:00:21.430 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:29:55 +0000 (0:00:00.044) 0:00:21.475 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:29:55 +0000 (0:00:00.080) 0:00:21.556 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:29:55 +0000 (0:00:00.028) 0:00:21.585 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304594.0212092, "block_size": 4096, "blocks": 8, "ctime": 1706304594.0212092, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4416149, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304594.0212092, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:29:55 +0000 (0:00:00.204) 0:00:21.789 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:29:55 +0000 (0:00:00.038) 0:00:21.828 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022377", "end": "2024-01-26 21:29:55.593402", "rc": 1, "start": "2024-01-26 21:29:55.571025" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:29:55 +0000 (0:00:00.294) 0:00:22.123 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:29:55 +0000 (0:00:00.084) 0:00:22.207 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003542", "end": "2024-01-26 21:29:55.999151", "rc": 0, "start": "2024-01-26 21:29:55.995609" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:29:56 +0000 (0:00:00.399) 0:00:22.607 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:29:56 +0000 (0:00:00.056) 0:00:22.663 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003460", "end": "2024-01-26 21:29:56.391742", "rc": 0, "start": "2024-01-26 21:29:56.388282" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:29:56 +0000 (0:00:00.206) 0:00:22.869 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:29:56 +0000 (0:00:00.112) 0:00:22.982 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:29:56 +0000 (0:00:00.099) 0:00:23.082 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:29:56 +0000 (0:00:00.080) 0:00:23.163 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:29:56 +0000 (0:00:00.053) 0:00:23.216 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:29:56 +0000 (0:00:00.091) 0:00:23.307 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:29:56 +0000 (0:00:00.030) 0:00:23.338 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:29:57 +0000 (0:00:00.123) 0:00:23.461 ******** 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.043189", "end": "2024-01-26 21:29:57.222282", "rc": 1, "start": "2024-01-26 21:29:57.179093" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tests_states.yml:65 Friday 26 January 2024 21:29:57 +0000 (0:00:00.264) 0:00:23.726 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:29:57 +0000 (0:00:00.067) 0:00:23.794 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:29:57 +0000 (0:00:00.059) 0:00:23.853 ******** 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-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:29:57 +0000 (0:00:00.253) 0:00:24.107 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:29:57 +0000 (0:00:00.052) 0:00:24.159 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:29:57 +0000 (0:00:00.088) 0:00:24.247 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003561", "end": "2024-01-26 21:29:58.030199", "rc": 0, "start": "2024-01-26 21:29:58.026638" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:29:58 +0000 (0:00:00.258) 0:00:24.505 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:29:58 +0000 (0:00:00.059) 0:00:24.565 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:29:58 +0000 (0:00:00.044) 0:00:24.609 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:29:58 +0000 (0:00:00.102) 0:00:24.712 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:29:58 +0000 (0:00:00.250) 0:00:24.962 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:29:58 +0000 (0:00:00.148) 0:00:25.110 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:29:58 +0000 (0:00:00.055) 0:00:25.166 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:29:58 +0000 (0:00:00.041) 0:00:25.207 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:29:58 +0000 (0:00:00.108) 0:00:25.315 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:29:59 +0000 (0:00:00.812) 0:00:26.127 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:00 +0000 (0:00:00.855) 0:00:26.983 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:00 +0000 (0:00:00.023) 0:00:27.006 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:00 +0000 (0:00:00.038) 0:00:27.045 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:00 +0000 (0:00:00.069) 0:00:27.115 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:00 +0000 (0:00:00.049) 0:00:27.164 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:00 +0000 (0:00:00.060) 0:00:27.225 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:00 +0000 (0:00:00.028) 0:00:27.253 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:00 +0000 (0:00:00.058) 0:00:27.312 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:00 +0000 (0:00:00.040) 0:00:27.352 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:00 +0000 (0:00:00.026) 0:00:27.378 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:01 +0000 (0:00:00.362) 0:00:27.740 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172399p2v28x2/tmpu9kbjmhf" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:01 +0000 (0:00:00.398) 0:00:28.139 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:02 +0000 (0:00:00.434) 0:00:28.573 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:02 +0000 (0:00:00.029) 0:00:28.603 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:02 +0000 (0:00:00.052) 0:00:28.656 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:02 +0000 (0:00:00.132) 0:00:28.788 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:02 +0000 (0:00:00.057) 0:00:28.845 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:30:02 +0000 (0:00:00.209) 0:00:29.055 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:30:02 +0000 (0:00:00.274) 0:00:29.329 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:30:02 +0000 (0:00:00.072) 0:00:29.401 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:03 +0000 (0:00:00.091) 0:00:29.493 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:03 +0000 (0:00:00.051) 0:00:29.544 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:03 +0000 (0:00:00.068) 0:00:29.612 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:03 +0000 (0:00:00.044) 0:00:29.657 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:03 +0000 (0:00:00.045) 0:00:29.702 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:04 +0000 (0:00:00.896) 0:00:30.598 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:04 +0000 (0:00:00.648) 0:00:31.247 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:04 +0000 (0:00:00.074) 0:00:31.321 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:04 +0000 (0:00:00.064) 0:00:31.386 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:05 +0000 (0:00:00.049) 0:00:31.436 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:05 +0000 (0:00:00.129) 0:00:31.565 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:05 +0000 (0:00:00.032) 0:00:31.598 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:05 +0000 (0:00:00.064) 0:00:31.662 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:05 +0000 (0:00:00.043) 0:00:31.706 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:05 +0000 (0:00:00.035) 0:00:31.741 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:05 +0000 (0:00:00.060) 0:00:31.802 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:05 +0000 (0:00:00.400) 0:00:32.202 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172399p2v28x2/tmpbzz4lu_a" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:06 +0000 (0:00:00.238) 0:00:32.441 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:06 +0000 (0:00:00.486) 0:00:32.927 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:06 +0000 (0:00:00.077) 0:00:33.004 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:06 +0000 (0:00:00.048) 0:00:33.053 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:06 +0000 (0:00:00.053) 0:00:33.107 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:06 +0000 (0:00:00.028) 0:00:33.135 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:30:06 +0000 (0:00:00.180) 0:00:33.315 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:30:07 +0000 (0:00:00.156) 0:00:33.472 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:30:07 +0000 (0:00:00.038) 0:00:33.510 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304606.407221, "block_size": 4096, "blocks": 0, "ctime": 1706304606.404221, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17596, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1706304606.404221, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:30:07 +0000 (0:00:00.245) 0:00:33.755 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 26 January 2024 21:30:07 +0000 (0:00:00.076) 0:00:33.832 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:30:07 +0000 (0:00:00.105) 0:00:33.938 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:30:07 +0000 (0:00:00.045) 0:00:33.983 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304606.227221, "block_size": 4096, "blocks": 8, "ctime": 1706304602.098217, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4535613, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706304602.098217, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:30:07 +0000 (0:00:00.204) 0:00:34.188 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:30:07 +0000 (0:00:00.130) 0:00:34.319 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022090", "end": "2024-01-26 21:30:08.051795", "rc": 1, "start": "2024-01-26 21:30:08.029705" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:30:08 +0000 (0:00:00.226) 0:00:34.546 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:30:08 +0000 (0:00:00.129) 0:00:34.675 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003391", "end": "2024-01-26 21:30:08.390447", "rc": 0, "start": "2024-01-26 21:30:08.387056" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:30:08 +0000 (0:00:00.175) 0:00:34.850 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:30:08 +0000 (0:00:00.093) 0:00:34.944 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003429", "end": "2024-01-26 21:30:08.731991", "rc": 0, "start": "2024-01-26 21:30:08.728562" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:30:08 +0000 (0:00:00.285) 0:00:35.229 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 26 January 2024 21:30:08 +0000 (0:00:00.083) 0:00:35.313 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 26 January 2024 21:30:08 +0000 (0:00:00.058) 0:00:35.371 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 26 January 2024 21:30:08 +0000 (0:00:00.048) 0:00:35.420 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:30:09 +0000 (0:00:00.052) 0:00:35.472 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:30:09 +0000 (0:00:00.021) 0:00:35.494 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:30:09 +0000 (0:00:00.032) 0:00:35.526 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:30:09 +0000 (0:00:00.049) 0:00:35.576 ******** 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.051141", "end": "2024-01-26 21:30:09.375464", "rc": 0, "start": "2024-01-26 21:30:09.324323" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tests_states.yml:83 Friday 26 January 2024 21:30:09 +0000 (0:00:00.277) 0:00:35.853 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:30:09 +0000 (0:00:00.053) 0:00:35.906 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:30:09 +0000 (0:00:00.038) 0:00:35.944 ******** 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-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:30:09 +0000 (0:00:00.061) 0:00:36.006 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:30:09 +0000 (0:00:00.098) 0:00:36.104 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:30:09 +0000 (0:00:00.100) 0:00:36.204 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003490", "end": "2024-01-26 21:30:09.939044", "rc": 0, "start": "2024-01-26 21:30:09.935554" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:30:10 +0000 (0:00:00.236) 0:00:36.441 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:30:10 +0000 (0:00:00.146) 0:00:36.587 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:30:10 +0000 (0:00:00.061) 0:00:36.649 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:30:10 +0000 (0:00:00.126) 0:00:36.775 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:10 +0000 (0:00:00.070) 0:00:36.845 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:10 +0000 (0:00:00.119) 0:00:36.965 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:10 +0000 (0:00:00.078) 0:00:37.044 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:10 +0000 (0:00:00.059) 0:00:37.103 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:10 +0000 (0:00:00.065) 0:00:37.169 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:11 +0000 (0:00:00.817) 0:00:37.987 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:12 +0000 (0:00:00.692) 0:00:38.679 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:12 +0000 (0:00:00.050) 0:00:38.729 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:12 +0000 (0:00:00.025) 0:00:38.755 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:12 +0000 (0:00:00.079) 0:00:38.834 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:12 +0000 (0:00:00.111) 0:00:38.946 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:12 +0000 (0:00:00.204) 0:00:39.150 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:12 +0000 (0:00:00.069) 0:00:39.220 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:12 +0000 (0:00:00.043) 0:00:39.264 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:12 +0000 (0:00:00.036) 0:00:39.301 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:12 +0000 (0:00:00.047) 0:00:39.348 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:13 +0000 (0:00:00.346) 0:00:39.695 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172399p2v28x2/tmpe5wfhg0e" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:13 +0000 (0:00:00.398) 0:00:40.093 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:13 +0000 (0:00:00.241) 0:00:40.335 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:13 +0000 (0:00:00.047) 0:00:40.383 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:14 +0000 (0:00:00.041) 0:00:40.424 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:14 +0000 (0:00:00.031) 0:00:40.456 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:14 +0000 (0:00:00.073) 0:00:40.530 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:30:14 +0000 (0:00:00.186) 0:00:40.716 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:30:14 +0000 (0:00:00.112) 0:00:40.829 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:14 +0000 (0:00:00.080) 0:00:40.909 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:14 +0000 (0:00:00.225) 0:00:41.135 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:14 +0000 (0:00:00.028) 0:00:41.164 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:14 +0000 (0:00:00.023) 0:00:41.187 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:14 +0000 (0:00:00.034) 0:00:41.221 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:15 +0000 (0:00:00.816) 0:00:42.038 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:16 +0000 (0:00:00.690) 0:00:42.728 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:16 +0000 (0:00:00.099) 0:00:42.828 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:16 +0000 (0:00:00.075) 0:00:42.903 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:16 +0000 (0:00:00.038) 0:00:42.942 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:16 +0000 (0:00:00.127) 0:00:43.069 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:16 +0000 (0:00:00.056) 0:00:43.125 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:16 +0000 (0:00:00.069) 0:00:43.195 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:16 +0000 (0:00:00.026) 0:00:43.221 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:16 +0000 (0:00:00.144) 0:00:43.366 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:16 +0000 (0:00:00.026) 0:00:43.392 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:17 +0000 (0:00:00.337) 0:00:43.730 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172399p2v28x2/tmpn1gqymf9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:17 +0000 (0:00:00.375) 0:00:44.106 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:18 +0000 (0:00:00.614) 0:00:44.720 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:18 +0000 (0:00:00.080) 0:00:44.800 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:18 +0000 (0:00:00.045) 0:00:44.846 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:18 +0000 (0:00:00.026) 0:00:44.873 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:18 +0000 (0:00:00.048) 0:00:44.921 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:30:18 +0000 (0:00:00.259) 0:00:45.180 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/remove_profile.yml:3 Friday 26 January 2024 21:30:18 +0000 (0:00:00.084) 0:00:45.265 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:18 +0000 (0:00:00.065) 0:00:45.331 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:18 +0000 (0:00:00.055) 0:00:45.387 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:18 +0000 (0:00:00.030) 0:00:45.417 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:19 +0000 (0:00:00.223) 0:00:45.640 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:19 +0000 (0:00:00.113) 0:00:45.754 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:20 +0000 (0:00:00.859) 0:00:46.613 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:20 +0000 (0:00:00.763) 0:00:47.377 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:20 +0000 (0:00:00.024) 0:00:47.402 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:21 +0000 (0:00:00.023) 0:00:47.426 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:21 +0000 (0:00:00.021) 0:00:47.447 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:21 +0000 (0:00:00.044) 0:00:47.492 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:21 +0000 (0:00:00.029) 0:00:47.521 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:21 +0000 (0:00:00.035) 0:00:47.556 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:21 +0000 (0:00:00.027) 0:00:47.584 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:21 +0000 (0:00:00.021) 0:00:47.605 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:21 +0000 (0:00:00.021) 0:00:47.627 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:21 +0000 (0:00:00.320) 0:00:47.947 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172399p2v28x2/tmppm_9ziub" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:21 +0000 (0:00:00.407) 0:00:48.355 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:22 +0000 (0:00:00.342) 0:00:48.698 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:22 +0000 (0:00:00.084) 0:00:48.783 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:22 +0000 (0:00:00.035) 0:00:48.819 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:22 +0000 (0:00:00.039) 0:00:48.859 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:22 +0000 (0:00:00.027) 0:00:48.886 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:30:22 +0000 (0:00:00.260) 0:00:49.146 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_present.yml:3 Friday 26 January 2024 21:30:22 +0000 (0:00:00.107) 0:00:49.254 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 26 January 2024 21:30:22 +0000 (0:00:00.041) 0:00:49.295 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1706304618.1802316, "block_size": 4096, "blocks": 0, "ctime": 1706304618.1762316, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17596, "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": 1706304618.1762316, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_device_present.yml:5 Friday 26 January 2024 21:30:23 +0000 (0:00:00.180) 0:00:49.476 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:30:23 +0000 (0:00:00.036) 0:00:49.513 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:30:23 +0000 (0:00:00.087) 0:00:49.600 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:30:23 +0000 (0:00:00.036) 0:00:49.637 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:30:23 +0000 (0:00:00.228) 0:00:49.865 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:30:23 +0000 (0:00:00.083) 0:00:49.949 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022288", "end": "2024-01-26 21:30:23.662733", "rc": 1, "start": "2024-01-26 21:30:23.640445" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:30:23 +0000 (0:00:00.186) 0:00:50.135 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:30:23 +0000 (0:00:00.039) 0:00:50.175 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:30:23 +0000 (0:00:00.074) 0:00:50.249 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:30:23 +0000 (0:00:00.112) 0:00:50.362 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:30:24 +0000 (0:00:00.079) 0:00:50.442 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:30:24 +0000 (0:00:00.105) 0:00:50.548 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:30:24 +0000 (0:00:00.065) 0:00:50.613 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:30:24 +0000 (0:00:00.055) 0:00:50.669 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:30:24 +0000 (0:00:00.111) 0:00:50.781 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:30:24 +0000 (0:00:00.095) 0:00:50.877 ******** 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.047592", "end": "2024-01-26 21:30:24.710369", "rc": 0, "start": "2024-01-26 21:30:24.662777" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tests_states.yml:103 Friday 26 January 2024 21:30:24 +0000 (0:00:00.284) 0:00:51.161 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:30:24 +0000 (0:00:00.074) 0:00:51.236 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:30:24 +0000 (0:00:00.072) 0:00:51.308 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:30:25 +0000 (0:00:00.132) 0:00:51.441 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:30:25 +0000 (0:00:00.299) 0:00:51.741 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:30:25 +0000 (0:00:00.223) 0:00:51.964 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003454", "end": "2024-01-26 21:30:25.688560", "rc": 0, "start": "2024-01-26 21:30:25.685106" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:30:25 +0000 (0:00:00.177) 0:00:52.141 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:30:25 +0000 (0:00:00.045) 0:00:52.187 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:30:25 +0000 (0:00:00.091) 0:00:52.278 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:30:25 +0000 (0:00:00.109) 0:00:52.388 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:26 +0000 (0:00:00.055) 0:00:52.444 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:26 +0000 (0:00:00.051) 0:00:52.495 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:26 +0000 (0:00:00.031) 0:00:52.527 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:26 +0000 (0:00:00.022) 0:00:52.550 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:26 +0000 (0:00:00.027) 0:00:52.577 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:26 +0000 (0:00:00.767) 0:00:53.345 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:27 +0000 (0:00:00.777) 0:00:54.122 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:27 +0000 (0:00:00.025) 0:00:54.148 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:27 +0000 (0:00:00.028) 0:00:54.177 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:27 +0000 (0:00:00.067) 0:00:54.244 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:27 +0000 (0:00:00.059) 0:00:54.304 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:27 +0000 (0:00:00.094) 0:00:54.398 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:28 +0000 (0:00:00.035) 0:00:54.434 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:28 +0000 (0:00:00.045) 0:00:54.480 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:28 +0000 (0:00:00.097) 0:00:54.577 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:28 +0000 (0:00:00.040) 0:00:54.617 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:28 +0000 (0:00:00.323) 0:00:54.941 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172399p2v28x2/tmp467izg6c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:28 +0000 (0:00:00.288) 0:00:55.230 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:29 +0000 (0:00:00.265) 0:00:55.495 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:29 +0000 (0:00:00.148) 0:00:55.643 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:29 +0000 (0:00:00.050) 0:00:55.694 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:29 +0000 (0:00:00.024) 0:00:55.718 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:29 +0000 (0:00:00.023) 0:00:55.742 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:30:29 +0000 (0:00:00.141) 0:00:55.883 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:30:29 +0000 (0:00:00.059) 0:00:55.942 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:29 +0000 (0:00:00.051) 0:00:55.993 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:29 +0000 (0:00:00.064) 0:00:56.058 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:29 +0000 (0:00:00.041) 0:00:56.099 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:29 +0000 (0:00:00.057) 0:00:56.156 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:29 +0000 (0:00:00.040) 0:00:56.197 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:30 +0000 (0:00:00.787) 0:00:56.984 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:31 +0000 (0:00:00.854) 0:00:57.838 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:31 +0000 (0:00:00.030) 0:00:57.868 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:31 +0000 (0:00:00.024) 0:00:57.893 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:31 +0000 (0:00:00.028) 0:00:57.921 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:31 +0000 (0:00:00.056) 0:00:57.977 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:31 +0000 (0:00:00.034) 0:00:58.012 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:31 +0000 (0:00:00.035) 0:00:58.047 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:31 +0000 (0:00:00.039) 0:00:58.087 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:31 +0000 (0:00:00.022) 0:00:58.110 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:31 +0000 (0:00:00.025) 0:00:58.135 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:31 +0000 (0:00:00.266) 0:00:58.402 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172399p2v28x2/tmphjsvp9kb" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:32 +0000 (0:00:00.287) 0:00:58.689 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:32 +0000 (0:00:00.516) 0:00:59.206 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:32 +0000 (0:00:00.037) 0:00:59.243 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:32 +0000 (0:00:00.060) 0:00:59.304 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:32 +0000 (0:00:00.053) 0:00:59.357 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:32 +0000 (0:00:00.045) 0:00:59.403 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/remove_profile.yml:3 Friday 26 January 2024 21:30:33 +0000 (0:00:00.325) 0:00:59.729 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:33 +0000 (0:00:00.071) 0:00:59.800 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:33 +0000 (0:00:00.085) 0:00:59.886 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:33 +0000 (0:00:00.069) 0:00:59.956 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:33 +0000 (0:00:00.031) 0:00:59.988 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:33 +0000 (0:00:00.052) 0:01:00.040 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:34 +0000 (0:00:00.804) 0:01:00.845 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:35 +0000 (0:00:00.705) 0:01:01.550 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:35 +0000 (0:00:00.044) 0:01:01.595 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:35 +0000 (0:00:00.029) 0:01:01.624 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:35 +0000 (0:00:00.035) 0:01:01.660 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:35 +0000 (0:00:00.100) 0:01:01.761 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:35 +0000 (0:00:00.049) 0:01:01.811 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:35 +0000 (0:00:00.029) 0:01:01.840 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:35 +0000 (0:00:00.047) 0:01:01.887 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:35 +0000 (0:00:00.030) 0:01:01.917 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:35 +0000 (0:00:00.037) 0:01:01.955 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:35 +0000 (0:00:00.275) 0:01:02.231 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172399p2v28x2/tmp3w278xm_" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:36 +0000 (0:00:00.310) 0:01:02.541 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:36 +0000 (0:00:00.274) 0:01:02.816 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:36 +0000 (0:00:00.034) 0:01:02.850 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:36 +0000 (0:00:00.050) 0:01:02.901 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:36 +0000 (0:00:00.029) 0:01:02.930 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:36 +0000 (0:00:00.032) 0:01:02.963 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:30:36 +0000 (0:00:00.166) 0:01:03.130 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:30:36 +0000 (0:00:00.053) 0:01:03.183 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:36 +0000 (0:00:00.098) 0:01:03.282 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:36 +0000 (0:00:00.067) 0:01:03.350 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:36 +0000 (0:00:00.033) 0:01:03.383 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:37 +0000 (0:00:00.066) 0:01:03.450 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:37 +0000 (0:00:00.032) 0:01:03.483 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:37 +0000 (0:00:00.786) 0:01:04.269 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:38 +0000 (0:00:00.717) 0:01:04.986 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:38 +0000 (0:00:00.095) 0:01:05.081 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:38 +0000 (0:00:00.029) 0:01:05.110 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:38 +0000 (0:00:00.159) 0:01:05.270 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:39 +0000 (0:00:00.151) 0:01:05.422 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:39 +0000 (0:00:00.070) 0:01:05.492 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:39 +0000 (0:00:00.287) 0:01:05.780 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:39 +0000 (0:00:00.059) 0:01:05.840 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:39 +0000 (0:00:00.091) 0:01:05.932 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:39 +0000 (0:00:00.063) 0:01:05.995 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:39 +0000 (0:00:00.260) 0:01:06.255 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172399p2v28x2/tmphdx9d0hi" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:40 +0000 (0:00:00.418) 0:01:06.674 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:40 +0000 (0:00:00.303) 0:01:06.978 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:40 +0000 (0:00:00.133) 0:01:07.111 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:40 +0000 (0:00:00.070) 0:01:07.181 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:40 +0000 (0:00:00.039) 0:01:07.221 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:40 +0000 (0:00:00.077) 0:01:07.299 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:30:41 +0000 (0:00:00.169) 0:01:07.468 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:30:41 +0000 (0:00:00.052) 0:01:07.520 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:30:41 +0000 (0:00:00.036) 0:01:07.557 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:30:41 +0000 (0:00:00.022) 0:01:07.579 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:30:41 +0000 (0:00:00.126) 0:01:07.705 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:30:41 +0000 (0:00:00.062) 0:01:07.767 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021771", "end": "2024-01-26 21:30:41.501161", "rc": 1, "start": "2024-01-26 21:30:41.479390" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:30:41 +0000 (0:00:00.208) 0:01:07.975 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:30:41 +0000 (0:00:00.057) 0:01:08.033 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:30:41 +0000 (0:00:00.051) 0:01:08.084 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:30:41 +0000 (0:00:00.062) 0:01:08.147 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:30:41 +0000 (0:00:00.037) 0:01:08.185 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:30:41 +0000 (0:00:00.037) 0:01:08.222 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:30:41 +0000 (0:00:00.046) 0:01:08.269 ******** 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-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:30:41 +0000 (0:00:00.051) 0:01:08.320 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:30:41 +0000 (0:00:00.067) 0:01:08.388 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:30:42 +0000 (0:00:00.072) 0:01:08.461 ******** 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.049083", "end": "2024-01-26 21:30:42.221430", "rc": 0, "start": "2024-01-26 21:30:42.172347" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tests_states.yml:126 Friday 26 January 2024 21:30:42 +0000 (0:00:00.219) 0:01:08.681 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:5 Friday 26 January 2024 21:30:42 +0000 (0:00:00.056) 0:01:08.737 ******** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:9 Friday 26 January 2024 21:30:42 +0000 (0:00:00.076) 0:01:08.814 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:21 Friday 26 January 2024 21:30:42 +0000 (0:00:00.080) 0:01:08.894 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:3 Friday 26 January 2024 21:30:42 +0000 (0:00:00.127) 0:01:09.022 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 26 January 2024 21:30:42 +0000 (0:00:00.045) 0:01:09.067 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003410", "end": "2024-01-26 21:30:42.758700", "rc": 0, "start": "2024-01-26 21:30:42.755290" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 26 January 2024 21:30:42 +0000 (0:00:00.147) 0:01:09.214 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/show_interfaces.yml:5 Friday 26 January 2024 21:30:42 +0000 (0:00:00.024) 0:01:09.239 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'dummy0', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:24 Friday 26 January 2024 21:30:42 +0000 (0:00:00.037) 0:01:09.277 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 26 January 2024 21:30:42 +0000 (0:00:00.051) 0:01:09.328 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:42 +0000 (0:00:00.058) 0:01:09.387 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:43 +0000 (0:00:00.048) 0:01:09.435 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:43 +0000 (0:00:00.035) 0:01:09.471 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:43 +0000 (0:00:00.029) 0:01:09.500 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:43 +0000 (0:00:00.027) 0:01:09.528 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:43 +0000 (0:00:00.795) 0:01:10.323 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:44 +0000 (0:00:00.725) 0:01:11.049 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:44 +0000 (0:00:00.046) 0:01:11.096 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:44 +0000 (0:00:00.039) 0:01:11.135 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:44 +0000 (0:00:00.055) 0:01:11.191 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:44 +0000 (0:00:00.068) 0:01:11.260 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:44 +0000 (0:00:00.042) 0:01:11.303 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:44 +0000 (0:00:00.032) 0:01:11.335 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:45 +0000 (0:00:00.097) 0:01:11.433 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:45 +0000 (0:00:00.053) 0:01:11.486 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:45 +0000 (0:00:00.086) 0:01:11.573 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:45 +0000 (0:00:00.270) 0:01:11.844 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172399p2v28x2/tmpjwrslzwt" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:45 +0000 (0:00:00.360) 0:01:12.205 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:46 +0000 (0:00:00.312) 0:01:12.517 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:46 +0000 (0:00:00.039) 0:01:12.556 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:46 +0000 (0:00:00.152) 0:01:12.709 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:46 +0000 (0:00:00.147) 0:01:12.856 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:46 +0000 (0:00:00.099) 0:01:12.956 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 26 January 2024 21:30:46 +0000 (0:00:00.229) 0:01:13.185 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/activate_profile.yml:3 Friday 26 January 2024 21:30:46 +0000 (0:00:00.080) 0:01:13.266 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:46 +0000 (0:00:00.048) 0:01:13.315 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:46 +0000 (0:00:00.052) 0:01:13.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:46 +0000 (0:00:00.036) 0:01:13.404 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:47 +0000 (0:00:00.035) 0:01:13.440 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:47 +0000 (0:00:00.024) 0:01:13.465 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:47 +0000 (0:00:00.865) 0:01:14.330 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:48 +0000 (0:00:00.805) 0:01:15.135 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:48 +0000 (0:00:00.024) 0:01:15.160 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:48 +0000 (0:00:00.039) 0:01:15.199 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:48 +0000 (0:00:00.042) 0:01:15.242 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:48 +0000 (0:00:00.050) 0:01:15.292 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:48 +0000 (0:00:00.031) 0:01:15.323 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:48 +0000 (0:00:00.030) 0:01:15.354 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:48 +0000 (0:00:00.029) 0:01:15.383 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:49 +0000 (0:00:00.042) 0:01:15.425 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:49 +0000 (0:00:00.039) 0:01:15.465 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:49 +0000 (0:00:00.240) 0:01:15.706 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172399p2v28x2/tmp7xp_xixd" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:49 +0000 (0:00:00.368) 0:01:16.075 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:50 +0000 (0:00:00.518) 0:01:16.594 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:50 +0000 (0:00:00.034) 0:01:16.628 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:50 +0000 (0:00:00.069) 0:01:16.698 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:50 +0000 (0:00:00.048) 0:01:16.747 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:50 +0000 (0:00:00.064) 0:01:16.812 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:30:50 +0000 (0:00:00.187) 0:01:16.999 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:50 +0000 (0:00:00.088) 0:01:17.087 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:50 +0000 (0:00:00.065) 0:01:17.152 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:50 +0000 (0:00:00.049) 0:01:17.202 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:50 +0000 (0:00:00.065) 0:01:17.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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:50 +0000 (0:00:00.037) 0:01:17.305 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:51 +0000 (0:00:00.823) 0:01:18.128 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:52 +0000 (0:00:00.667) 0:01:18.796 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:52 +0000 (0:00:00.095) 0:01:18.891 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:52 +0000 (0:00:00.127) 0:01:19.019 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:52 +0000 (0:00:00.067) 0:01:19.087 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:52 +0000 (0:00:00.164) 0:01:19.252 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:52 +0000 (0:00:00.061) 0:01:19.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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:52 +0000 (0:00:00.041) 0:01:19.354 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:52 +0000 (0:00:00.040) 0:01:19.395 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:53 +0000 (0:00:00.044) 0:01:19.439 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:53 +0000 (0:00:00.071) 0:01:19.510 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:53 +0000 (0:00:00.332) 0:01:19.843 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172399p2v28x2/tmpb2p3tfxw" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:53 +0000 (0:00:00.466) 0:01:20.310 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:54 +0000 (0:00:00.276) 0:01:20.586 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:54 +0000 (0:00:00.077) 0:01:20.663 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:54 +0000 (0:00:00.025) 0:01:20.689 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:54 +0000 (0:00:00.048) 0:01:20.737 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:54 +0000 (0:00:00.057) 0:01:20.795 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:30 Friday 26 January 2024 21:30:54 +0000 (0:00:00.145) 0:01:20.941 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 26 January 2024 21:30:54 +0000 (0:00:00.088) 0:01:21.029 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 26 January 2024 21:30:54 +0000 (0:00:00.052) 0:01:21.082 ******** included: /WORKDIR/git-ci_fixnylq7gb6/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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 26 January 2024 21:30:54 +0000 (0:00:00.072) 0:01:21.154 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 26 January 2024 21:30:54 +0000 (0:00:00.037) 0:01:21.192 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 26 January 2024 21:30:54 +0000 (0:00:00.045) 0:01:21.237 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 26 January 2024 21:30:54 +0000 (0:00:00.025) 0:01:21.263 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 26 January 2024 21:30:55 +0000 (0:00:00.747) 0:01:22.010 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 26 January 2024 21:30:56 +0000 (0:00:00.695) 0:01:22.706 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 26 January 2024 21:30:56 +0000 (0:00:00.028) 0:01:22.734 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 26 January 2024 21:30:56 +0000 (0:00:00.036) 0:01:22.771 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 26 January 2024 21:30:56 +0000 (0:00:00.044) 0:01:22.815 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 26 January 2024 21:30:56 +0000 (0:00:00.331) 0:01:23.146 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 26 January 2024 21:30:56 +0000 (0:00:00.054) 0:01:23.201 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 26 January 2024 21:30:56 +0000 (0:00:00.107) 0:01:23.309 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 26 January 2024 21:30:57 +0000 (0:00:00.114) 0:01:23.423 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 26 January 2024 21:30:57 +0000 (0:00:00.072) 0:01:23.496 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 26 January 2024 21:30:57 +0000 (0:00:00.095) 0:01:23.591 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 26 January 2024 21:30:57 +0000 (0:00:00.423) 0:01:24.015 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-172399p2v28x2/tmpypgu1edt" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 26 January 2024 21:30:57 +0000 (0:00:00.341) 0:01:24.356 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 26 January 2024 21:30:58 +0000 (0:00:00.341) 0:01:24.698 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 26 January 2024 21:30:58 +0000 (0:00:00.026) 0:01:24.724 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 26 January 2024 21:30:58 +0000 (0:00:00.025) 0:01:24.750 ******** 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-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 26 January 2024 21:30:58 +0000 (0:00:00.028) 0:01:24.778 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 26 January 2024 21:30:58 +0000 (0:00:00.023) 0:01:24.802 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:36 Friday 26 January 2024 21:30:58 +0000 (0:00:00.162) 0:01:24.965 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 26 January 2024 21:30:58 +0000 (0:00:00.166) 0:01:25.131 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 26 January 2024 21:30:58 +0000 (0:00:00.132) 0:01:25.264 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 26 January 2024 21:30:58 +0000 (0:00:00.088) 0:01:25.353 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 26 January 2024 21:30:59 +0000 (0:00:00.157) 0:01:25.510 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 26 January 2024 21:30:59 +0000 (0:00:00.063) 0:01:25.573 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022032", "end": "2024-01-26 21:30:59.305370", "rc": 1, "start": "2024-01-26 21:30:59.283338" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 26 January 2024 21:30:59 +0000 (0:00:00.183) 0:01:25.757 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 26 January 2024 21:30:59 +0000 (0:00:00.069) 0:01:25.826 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 26 January 2024 21:30:59 +0000 (0:00:00.057) 0:01:25.884 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 26 January 2024 21:30:59 +0000 (0:00:00.040) 0:01:25.924 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 26 January 2024 21:30:59 +0000 (0:00:00.039) 0:01:25.964 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 26 January 2024 21:30:59 +0000 (0:00:00.037) 0:01:26.001 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 26 January 2024 21:30:59 +0000 (0:00:00.055) 0:01:26.056 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.403723", "end": "2024-01-26 21:31:00.164125", "rc": 0, "start": "2024-01-26 21:30:59.760402" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 26 January 2024 21:31:00 +0000 (0:00:00.596) 0:01:26.653 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 26 January 2024 21:31:00 +0000 (0:00:00.039) 0:01:26.693 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:42 Friday 26 January 2024 21:31:00 +0000 (0:00:00.037) 0:01:26.731 ******** 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-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:47 Friday 26 January 2024 21:31:00 +0000 (0:00:00.038) 0:01:26.769 ******** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/run_test.yml:66 Friday 26 January 2024 21:31:00 +0000 (0:00:00.028) 0:01:26.798 ******** included: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 26 January 2024 21:31:00 +0000 (0:00:00.096) 0:01:26.895 ******** 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.051825", "end": "2024-01-26 21:31:00.636454", "rc": 0, "start": "2024-01-26 21:31:00.584629" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=335 changed=14 unreachable=0 failed=0 skipped=224 rescued=0 ignored=10 Friday 26 January 2024 21:31:00 +0000 (0:00:00.193) 0:01:27.089 ******** =============================================================================== linux-system-roles.network : Install packages --------------------------- 3.00s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 2.14s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.91s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.88s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.87s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Re-test connectivity ----------------------- 1.37s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.27s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 1.25s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.23s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-ci_fixnylq7gb6/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Enable network service --------------------- 1.02s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Re-test connectivity ----------------------- 0.95s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Gathering Facts --------------------------------------------------------- 0.92s /WORKDIR/git-ci_fixnylq7gb6/tests/tests_states_initscripts.yml:5 -------------- linux-system-roles.network : Configure networking connection profiles --- 0.92s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.90s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.89s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.87s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.86s /WORKDIR/git-ci_fixnylq7gb6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 0.86s /WORKDIR/git-ci_fixnylq7gb6/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. ---^---^---^---^---^---