# 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-weekly-cipb9dl22j/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/tests_states_initscripts.yml:5 Saturday 13 January 2024 13:37:10 +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-weekly-cipb9dl22j/tests/tests_states_initscripts.yml:8 Saturday 13 January 2024 13:37:11 +0000 (0:00:00.586) 0:00:00.599 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/tasks/el_repo_setup.yml:3 Saturday 13 January 2024 13:37:11 +0000 (0:00:00.045) 0:00:00.645 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/tasks/el_repo_setup.yml:19 Saturday 13 January 2024 13:37:11 +0000 (0:00:00.208) 0:00:00.853 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/tasks/el_repo_setup.yml:24 Saturday 13 January 2024 13:37:11 +0000 (0:00:00.194) 0:00:01.048 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/tasks/el_repo_setup.yml:28 Saturday 13 January 2024 13:37:11 +0000 (0:00:00.020) 0:00:01.068 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/tasks/el_repo_setup.yml:53 Saturday 13 January 2024 13:37:11 +0000 (0:00:00.018) 0:00:01.086 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/tasks/enable_epel.yml:8 Saturday 13 January 2024 13:37:11 +0000 (0:00:00.030) 0:00:01.117 ****** 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-weekly-cipb9dl22j/tests/tasks/enable_epel.yml:24 Saturday 13 January 2024 13:37:11 +0000 (0:00:00.207) 0:00:01.325 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/tasks/enable_epel.yml:30 Saturday 13 January 2024 13:37:12 +0000 (0:00:00.472) 0:00:01.798 ****** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.174061", "end": "2024-01-13 13:37:12.750044", "rc": 0, "start": "2024-01-13 13:37:12.575983" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/tasks/enable_epel.yml:35 Saturday 13 January 2024 13:37:12 +0000 (0:00:00.305) 0:00:02.103 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/tasks/enable_epel.yml:40 Saturday 13 January 2024 13:37:12 +0000 (0:00:00.018) 0:00:02.121 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/tests_states_initscripts.yml:10 Saturday 13 January 2024 13:37:12 +0000 (0:00:00.027) 0:00:02.149 ****** 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-weekly-cipb9dl22j/tests/playbooks/tests_states.yml:3 Saturday 13 January 2024 13:37:12 +0000 (0:00:00.021) 0:00:02.171 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tests_states.yml:11 Saturday 13 January 2024 13:37:13 +0000 (0:00:00.400) 0:00:02.571 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tests_states.yml:22 Saturday 13 January 2024 13:37:13 +0000 (0:00:00.023) 0:00:02.594 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:37:13 +0000 (0:00:00.027) 0:00:02.622 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:37:13 +0000 (0:00:00.012) 0:00:02.635 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:37:13 +0000 (0:00:00.046) 0:00:02.681 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:37:13 +0000 (0:00:00.020) 0:00:02.701 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:37:13 +0000 (0:00:00.015) 0:00:02.717 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003119", "end": "2024-01-13 13:37:13.489305", "rc": 0, "start": "2024-01-13 13:37:13.486186" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:37:13 +0000 (0:00:00.123) 0:00:02.840 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:37:13 +0000 (0:00:00.013) 0:00:02.854 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:37:13 +0000 (0:00:00.016) 0:00:02.870 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/delete_interface.yml:3 Saturday 13 January 2024 13:37:13 +0000 (0:00:00.027) 0:00:02.898 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010829", "end": "2024-01-13 13:37:13.676855", "rc": 1, "start": "2024-01-13 13:37:13.666026" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 13:37:13 +0000 (0:00:00.137) 0:00:03.035 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:37:13 +0000 (0:00:00.019) 0:00:03.054 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 13:37:13 +0000 (0:00:00.124) 0:00:03.179 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:37:13 +0000 (0:00:00.015) 0:00:03.195 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:37:13 +0000 (0:00:00.028) 0:00:03.223 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:37:13 +0000 (0:00:00.037) 0:00:03.260 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:37:14 +0000 (0:00:00.079) 0:00:03.340 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:37:14 +0000 (0:00:00.018) 0:00:03.358 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:37:14 +0000 (0:00:00.021) 0:00:03.380 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:37:14 +0000 (0:00:00.011) 0:00:03.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 : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:37:14 +0000 (0:00:00.761) 0:00:04.153 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:37:15 +0000 (0:00:01.073) 0:00:05.227 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:37:15 +0000 (0:00:00.022) 0:00:05.250 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:37:15 +0000 (0:00:00.020) 0:00:05.270 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:37:15 +0000 (0:00:00.022) 0:00:05.293 ****** 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.centos.1.x86_64 providing dhclient is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * epel: dl.fedoraproject.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\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 base 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" ] } lsrpackages: bridge-utils dhclient initscripts TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:37:18 +0000 (0:00:02.195) 0:00:07.488 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:37:18 +0000 (0:00:00.029) 0:00:07.518 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:37:18 +0000 (0:00:00.027) 0:00:07.545 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:37:18 +0000 (0:00:00.029) 0:00:07.574 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:37:18 +0000 (0:00:00.052) 0:00:07.626 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:37:18 +0000 (0:00:00.107) 0:00:07.733 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:37:18 +0000 (0:00:00.565) 0:00:08.299 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17241199pcbnb/tmp5ge5pn16" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:37:19 +0000 (0:00:00.236) 0:00:08.536 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:37:19 +0000 (0:00:00.342) 0:00:08.879 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:37:19 +0000 (0:00:00.022) 0:00:08.901 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:37:19 +0000 (0:00:00.024) 0:00:08.925 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:37:19 +0000 (0:00:00.026) 0:00:08.952 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:37:19 +0000 (0:00:00.021) 0:00:08.974 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:37:19 +0000 (0:00:00.241) 0:00:09.215 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:37:19 +0000 (0:00:00.063) 0:00:09.278 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 13:37:19 +0000 (0:00:00.055) 0:00:09.334 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:37:20 +0000 (0:00:00.053) 0:00:09.387 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:37:20 +0000 (0:00:00.082) 0:00:09.470 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153039.514398, "block_size": 4096, "blocks": 8, "ctime": 1705153039.514398, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25406, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705153039.514398, "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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:37:20 +0000 (0:00:00.160) 0:00:09.631 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:37:20 +0000 (0:00:00.027) 0:00:09.658 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022812", "end": "2024-01-13 13:37:20.458391", "rc": 1, "start": "2024-01-13 13:37:20.435579" } 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:37:20 +0000 (0:00:00.167) 0:00:09.825 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:37:20 +0000 (0:00:00.035) 0:00:09.861 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003187", "end": "2024-01-13 13:37:20.661062", "rc": 0, "start": "2024-01-13 13:37:20.657875" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:37:20 +0000 (0:00:00.163) 0:00:10.024 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:37:20 +0000 (0:00:00.049) 0:00:10.074 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003239", "end": "2024-01-13 13:37:20.852747", "rc": 0, "start": "2024-01-13 13:37:20.849508" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:37:20 +0000 (0:00:00.141) 0:00:10.215 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 13:37:20 +0000 (0:00:00.028) 0:00:10.243 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 13:37:20 +0000 (0:00:00.023) 0:00:10.267 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 13:37:20 +0000 (0:00:00.042) 0:00:10.309 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:37:20 +0000 (0:00:00.025) 0:00:10.334 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.040) 0:00:10.375 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.056) 0:00:10.432 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.049) 0:00:10.481 ****** 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.044082", "end": "2024-01-13 13:37:21.296890", "rc": 1, "start": "2024-01-13 13:37:21.252808" } 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-weekly-cipb9dl22j/tests/playbooks/tests_states.yml:45 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.206) 0:00:10.688 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.038) 0:00:10.726 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.024) 0:00:10.751 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.048) 0:00:10.799 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.034) 0:00:10.834 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.032) 0:00:10.867 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003186", "end": "2024-01-13 13:37:21.642227", "rc": 0, "start": "2024-01-13 13:37:21.639041" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.139) 0:00:11.007 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.027) 0:00:11.034 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.032) 0:00:11.067 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/delete_interface.yml:3 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.062) 0:00:11.129 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007043", "end": "2024-01-13 13:37:21.906590", "rc": 1, "start": "2024-01-13 13:37:21.899547" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.144) 0:00:11.274 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:37:21 +0000 (0:00:00.039) 0:00:11.314 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 13:37:22 +0000 (0:00:00.182) 0:00:11.496 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:37:22 +0000 (0:00:00.027) 0:00:11.523 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 13 January 2024 13:37:22 +0000 (0:00:00.041) 0:00:11.565 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:37:22 +0000 (0:00:00.044) 0:00:11.610 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:37:22 +0000 (0:00:00.051) 0:00:11.661 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:37:22 +0000 (0:00:00.028) 0:00:11.689 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:37:22 +0000 (0:00:00.030) 0:00:11.720 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:37:22 +0000 (0:00:00.023) 0:00:11.743 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:37:23 +0000 (0:00:00.691) 0:00:12.435 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:37:24 +0000 (0:00:00.987) 0:00:13.422 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:37:24 +0000 (0:00:00.044) 0:00:13.467 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:37:24 +0000 (0:00:00.058) 0:00:13.525 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:37:24 +0000 (0:00:00.039) 0:00:13.564 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:37:24 +0000 (0:00:00.056) 0:00:13.621 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:37:24 +0000 (0:00:00.035) 0:00:13.656 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:37:24 +0000 (0:00:00.025) 0:00:13.681 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:37:24 +0000 (0:00:00.034) 0:00:13.716 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:37:24 +0000 (0:00:00.024) 0:00:13.741 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:37:24 +0000 (0:00:00.056) 0:00:13.797 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:37:24 +0000 (0:00:00.311) 0:00:14.109 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17241199pcbnb/tmpm5fpvn7c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.384) 0:00:14.493 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.236) 0:00:14.729 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.022) 0:00:14.752 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.023) 0:00:14.775 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.023) 0:00:14.799 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.056) 0:00:14.855 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.130) 0:00:14.986 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.028) 0:00:15.015 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.048) 0:00:15.063 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.038) 0:00:15.102 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.136) 0:00:15.238 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.024) 0:00:15.263 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:37:25 +0000 (0:00:00.053) 0:00:15.317 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.033) 0:00:15.350 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153045.363196, "block_size": 4096, "blocks": 8, "ctime": 1705153045.363196, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25408, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705153045.363196, "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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.167) 0:00:15.517 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.024) 0:00:15.542 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020531", "end": "2024-01-13 13:37:26.360585", "rc": 1, "start": "2024-01-13 13:37:26.340054" } 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.179) 0:00:15.721 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.030) 0:00:15.752 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003350", "end": "2024-01-13 13:37:26.578258", "rc": 0, "start": "2024-01-13 13:37:26.574908" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.242) 0:00:15.995 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.061) 0:00:16.057 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003382", "end": "2024-01-13 13:37:26.840011", "rc": 0, "start": "2024-01-13 13:37:26.836629" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.145) 0:00:16.202 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.040) 0:00:16.243 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.038) 0:00:16.281 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.027) 0:00:16.309 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:37:26 +0000 (0:00:00.025) 0:00:16.335 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.019) 0:00:16.354 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.024) 0:00:16.379 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.044) 0:00:16.424 ****** 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.041143", "end": "2024-01-13 13:37:27.237500", "rc": 1, "start": "2024-01-13 13:37:27.196357" } 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-weekly-cipb9dl22j/tests/playbooks/tests_states.yml:65 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.188) 0:00:16.613 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.051) 0:00:16.665 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.038) 0:00:16.703 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.050) 0:00:16.753 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.039) 0:00:16.792 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.061) 0:00:16.854 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003290", "end": "2024-01-13 13:37:27.679068", "rc": 0, "start": "2024-01-13 13:37:27.675778" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.220) 0:00:17.075 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.044) 0:00:17.119 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.033) 0:00:17.152 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.053) 0:00:17.206 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.057) 0:00:17.263 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:37:27 +0000 (0:00:00.048) 0:00:17.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:37:28 +0000 (0:00:00.045) 0:00:17.357 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:37:28 +0000 (0:00:00.025) 0:00:17.382 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:37:28 +0000 (0:00:00.035) 0:00:17.418 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:37:28 +0000 (0:00:00.766) 0:00:18.185 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:37:29 +0000 (0:00:00.962) 0:00:19.147 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:37:29 +0000 (0:00:00.049) 0:00:19.197 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:37:29 +0000 (0:00:00.032) 0:00:19.229 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:37:29 +0000 (0:00:00.035) 0:00:19.265 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:37:30 +0000 (0:00:00.122) 0:00:19.388 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:37:30 +0000 (0:00:00.027) 0:00:19.416 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:37:30 +0000 (0:00:00.049) 0:00:19.465 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:37:30 +0000 (0:00:00.027) 0:00:19.492 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:37:30 +0000 (0:00:00.023) 0:00:19.515 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:37:30 +0000 (0:00:00.023) 0:00:19.539 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:37:30 +0000 (0:00:00.288) 0:00:19.827 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17241199pcbnb/tmpl1zvl1fo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:37:30 +0000 (0:00:00.366) 0:00:20.194 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.300) 0:00:20.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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.052) 0:00:20.547 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.058) 0:00:20.605 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.035) 0:00:20.641 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.035) 0:00:20.676 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.191) 0:00:20.868 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.028) 0:00:20.897 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.039) 0:00:20.936 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.062) 0:00:20.998 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.104) 0:00:21.103 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.090) 0:00:21.194 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.049) 0:00:21.243 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:37:31 +0000 (0:00:00.049) 0:00:21.293 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:37:32 +0000 (0:00:00.788) 0:00:22.082 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.939) 0:00:23.021 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.075) 0:00:23.097 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.061) 0:00:23.159 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.042) 0:00:23.201 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.062) 0:00:23.263 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.028) 0:00:23.292 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:37:33 +0000 (0:00:00.024) 0:00:23.316 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:37:34 +0000 (0:00:00.024) 0:00:23.341 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:37:34 +0000 (0:00:00.024) 0:00:23.365 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:37:34 +0000 (0:00:00.023) 0:00:23.389 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:37:34 +0000 (0:00:00.271) 0:00:23.660 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17241199pcbnb/tmpmhh3mpc8" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:37:34 +0000 (0:00:00.293) 0:00:23.953 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:37:35 +0000 (0:00:00.470) 0:00:24.424 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:37:35 +0000 (0:00:00.031) 0:00:24.455 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:37:35 +0000 (0:00:00.026) 0:00:24.482 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:37:35 +0000 (0:00:00.040) 0:00:24.523 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:37:35 +0000 (0:00:00.027) 0:00:24.550 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:37:35 +0000 (0:00:00.196) 0:00:24.746 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 13:37:35 +0000 (0:00:00.059) 0:00:24.805 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:37:35 +0000 (0:00:00.039) 0:00:24.845 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153054.990863, "block_size": 4096, "blocks": 0, "ctime": 1705153054.9898632, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17626, "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": 1705153054.9898632, "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-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 13:37:35 +0000 (0:00:00.156) 0:00:25.001 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 13:37:35 +0000 (0:00:00.031) 0:00:25.033 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:37:35 +0000 (0:00:00.045) 0:00:25.078 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:37:35 +0000 (0:00:00.029) 0:00:25.108 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153054.8138692, "block_size": 4096, "blocks": 8, "ctime": 1705153051.0919979, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25406, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705153051.0919979, "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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:37:35 +0000 (0:00:00.199) 0:00:25.308 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.113) 0:00:25.422 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021244", "end": "2024-01-13 13:37:36.219515", "rc": 1, "start": "2024-01-13 13:37:36.198271" } 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.186) 0:00:25.609 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.050) 0:00:25.659 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003170", "end": "2024-01-13 13:37:36.438690", "rc": 0, "start": "2024-01-13 13:37:36.435520" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.163) 0:00:25.823 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.064) 0:00:25.888 ****** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003219", "end": "2024-01-13 13:37:36.701090", "rc": 0, "start": "2024-01-13 13:37:36.697871" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.200) 0:00:26.088 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.030) 0:00:26.119 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.028) 0:00:26.148 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.026) 0:00:26.174 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.040) 0:00:26.214 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.023) 0:00:26.238 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.025) 0:00:26.263 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:37:36 +0000 (0:00:00.057) 0:00:26.321 ****** 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.048301", "end": "2024-01-13 13:37:37.167224", "rc": 0, "start": "2024-01-13 13:37:37.118923" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tests_states.yml:83 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.224) 0:00:26.545 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.040) 0:00:26.586 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.071) 0:00:26.657 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.071) 0:00:26.729 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.064) 0:00:26.793 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.043) 0:00:26.837 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003250", "end": "2024-01-13 13:37:37.655053", "rc": 0, "start": "2024-01-13 13:37:37.651803" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.187) 0:00:27.025 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.034) 0:00:27.059 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.040) 0:00:27.099 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.051) 0:00:27.151 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.076) 0:00:27.228 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.055) 0:00:27.283 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:37:37 +0000 (0:00:00.043) 0:00:27.326 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:37:38 +0000 (0:00:00.030) 0:00:27.356 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:37:38 +0000 (0:00:00.022) 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 : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:37:38 +0000 (0:00:00.745) 0:00:28.124 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:37:39 +0000 (0:00:00.922) 0:00:29.046 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:37:39 +0000 (0:00:00.025) 0:00:29.071 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:37:39 +0000 (0:00:00.040) 0:00:29.112 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:37:39 +0000 (0:00:00.027) 0:00:29.140 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:37:39 +0000 (0:00:00.112) 0:00:29.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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:37:39 +0000 (0:00:00.058) 0:00:29.311 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:37:39 +0000 (0:00:00.023) 0:00:29.334 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.031) 0:00:29.366 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.033) 0:00:29.399 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.060) 0:00:29.460 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.261) 0:00:29.722 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17241199pcbnb/tmpdbcqxwv9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.260) 0:00:29.982 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.236) 0:00:30.219 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.022) 0:00:30.241 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:37:40 +0000 (0:00:00.047) 0:00:30.289 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.064) 0:00:30.353 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.026) 0:00:30.380 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.134) 0:00:30.514 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.027) 0:00:30.542 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.039) 0:00:30.581 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.044) 0:00:30.625 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.045) 0:00:30.671 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.038) 0:00:30.710 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:37:41 +0000 (0:00:00.060) 0:00:30.770 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:37:42 +0000 (0:00:00.698) 0:00:31.469 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:37:43 +0000 (0:00:00.924) 0:00:32.393 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:37:43 +0000 (0:00:00.024) 0:00:32.417 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:37:43 +0000 (0:00:00.032) 0:00:32.450 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:37:43 +0000 (0:00:00.050) 0:00:32.500 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:37:43 +0000 (0:00:00.048) 0:00:32.549 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:37:43 +0000 (0:00:00.061) 0:00:32.611 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:37:43 +0000 (0:00:00.032) 0:00:32.643 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:37:43 +0000 (0:00:00.048) 0:00:32.692 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:37:43 +0000 (0:00:00.025) 0:00:32.717 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:37:43 +0000 (0:00:00.056) 0:00:32.774 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:37:43 +0000 (0:00:00.225) 0:00:32.999 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17241199pcbnb/tmppez7coud" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:37:43 +0000 (0:00:00.235) 0:00:33.235 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.493) 0:00:33.728 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.029) 0:00:33.757 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.053) 0:00:33.811 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.046) 0:00:33.857 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.031) 0:00:33.889 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.135) 0:00:34.024 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/remove_profile.yml:3 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.052) 0:00:34.076 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.050) 0:00:34.127 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.081) 0:00:34.208 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.028) 0:00:34.236 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.026) 0:00:34.263 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:37:44 +0000 (0:00:00.032) 0:00:34.295 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:37:45 +0000 (0:00:00.699) 0:00:34.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 : Print network provider] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:37:46 +0000 (0:00:00.913) 0:00:35.908 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:37:46 +0000 (0:00:00.029) 0:00:35.937 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:37:46 +0000 (0:00:00.025) 0:00:35.963 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:37:46 +0000 (0:00:00.024) 0:00:35.987 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:37:46 +0000 (0:00:00.081) 0:00:36.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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:37:46 +0000 (0:00:00.027) 0:00:36.096 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:37:46 +0000 (0:00:00.053) 0:00:36.149 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:37:46 +0000 (0:00:00.025) 0:00:36.175 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:37:46 +0000 (0:00:00.022) 0:00:36.197 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:37:46 +0000 (0:00:00.022) 0:00:36.220 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:37:47 +0000 (0:00:00.239) 0:00:36.459 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17241199pcbnb/tmplijrv3t1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:37:47 +0000 (0:00:00.248) 0:00:36.708 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:37:47 +0000 (0:00:00.300) 0:00:37.009 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:37:47 +0000 (0:00:00.023) 0:00:37.032 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:37:47 +0000 (0:00:00.027) 0:00:37.060 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:37:47 +0000 (0:00:00.035) 0:00:37.095 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:37:47 +0000 (0:00:00.042) 0:00:37.138 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:37:47 +0000 (0:00:00.155) 0:00:37.293 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.068) 0:00:37.361 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.043) 0:00:37.404 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153064.2885416, "block_size": 4096, "blocks": 0, "ctime": 1705153064.2865417, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17626, "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": 1705153064.2865417, "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-weekly-cipb9dl22j/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.188) 0:00:37.593 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.033) 0:00:37.627 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.044) 0:00:37.671 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.029) 0:00:37.700 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.164) 0:00:37.865 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.047) 0:00:37.913 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022362", "end": "2024-01-13 13:37:48.731182", "rc": 1, "start": "2024-01-13 13:37:48.708820" } 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.200) 0:00:38.114 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.027) 0:00:38.141 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.027) 0:00:38.168 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.024) 0:00:38.193 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.026) 0:00:38.219 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.027) 0:00:38.247 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.025) 0:00:38.272 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.024) 0:00:38.297 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:37:48 +0000 (0:00:00.023) 0:00:38.321 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:37:49 +0000 (0:00:00.081) 0:00:38.402 ****** 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.047991", "end": "2024-01-13 13:37:49.270251", "rc": 0, "start": "2024-01-13 13:37:49.222260" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tests_states.yml:103 Saturday 13 January 2024 13:37:49 +0000 (0:00:00.262) 0:00:38.665 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:37:49 +0000 (0:00:00.044) 0:00:38.709 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:37:49 +0000 (0:00:00.026) 0:00:38.736 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:37:49 +0000 (0:00:00.080) 0:00:38.816 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:37:49 +0000 (0:00:00.048) 0:00:38.865 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:37:49 +0000 (0:00:00.069) 0:00:38.934 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003177", "end": "2024-01-13 13:37:49.721226", "rc": 0, "start": "2024-01-13 13:37:49.718049" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:37:49 +0000 (0:00:00.151) 0:00:39.085 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:37:49 +0000 (0:00:00.028) 0:00:39.114 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:37:49 +0000 (0:00:00.023) 0:00:39.138 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:37:49 +0000 (0:00:00.046) 0:00:39.184 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:37:49 +0000 (0:00:00.049) 0:00:39.233 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:37:49 +0000 (0:00:00.090) 0:00:39.324 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:37:50 +0000 (0:00:00.036) 0:00:39.361 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:37:50 +0000 (0:00:00.028) 0:00:39.389 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:37:50 +0000 (0:00:00.035) 0:00:39.424 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:37:50 +0000 (0:00:00.735) 0:00:40.159 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:37:51 +0000 (0:00:00.923) 0:00:41.083 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:37:51 +0000 (0:00:00.036) 0:00:41.119 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:37:51 +0000 (0:00:00.027) 0:00:41.146 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:37:51 +0000 (0:00:00.027) 0:00:41.174 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:37:51 +0000 (0:00:00.055) 0:00:41.229 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:37:51 +0000 (0:00:00.097) 0:00:41.326 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:37:52 +0000 (0:00:00.062) 0:00:41.389 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:37:52 +0000 (0:00:00.036) 0:00:41.425 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:37:52 +0000 (0:00:00.067) 0:00:41.492 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:37:52 +0000 (0:00:00.048) 0:00:41.540 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:37:52 +0000 (0:00:00.245) 0:00:41.786 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17241199pcbnb/tmpwszio47m" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:37:52 +0000 (0:00:00.331) 0:00:42.118 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.324) 0:00:42.442 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.031) 0:00:42.474 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.030) 0:00:42.504 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.031) 0:00:42.536 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.025) 0:00:42.561 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.145) 0:00:42.707 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.027) 0:00:42.734 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.096) 0:00:42.831 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.081) 0:00:42.913 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.034) 0:00:42.948 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.025) 0:00:42.973 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:37:53 +0000 (0:00:00.028) 0:00:43.002 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:37:54 +0000 (0:00:00.706) 0:00:43.708 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:37:55 +0000 (0:00:00.945) 0:00:44.654 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:37:55 +0000 (0:00:00.054) 0:00:44.709 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:37:55 +0000 (0:00:00.036) 0:00:44.745 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:37:55 +0000 (0:00:00.032) 0:00:44.777 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:37:55 +0000 (0:00:00.050) 0:00:44.828 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:37:55 +0000 (0:00:00.027) 0:00:44.855 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:37:55 +0000 (0:00:00.077) 0:00:44.933 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:37:55 +0000 (0:00:00.045) 0:00:44.979 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:37:55 +0000 (0:00:00.029) 0:00:45.008 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:37:55 +0000 (0:00:00.042) 0:00:45.050 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.295) 0:00:45.346 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17241199pcbnb/tmpjfmj4upc" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.270) 0:00:45.617 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.500) 0:00:46.117 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.032) 0:00:46.150 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.025) 0:00:46.175 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.024) 0:00:46.200 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:37:56 +0000 (0:00:00.022) 0:00:46.223 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/remove_profile.yml:3 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.127) 0:00:46.351 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.048) 0:00:46.399 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.108) 0:00:46.508 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.032) 0:00:46.541 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.033) 0:00:46.575 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.025) 0:00:46.600 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:37:57 +0000 (0:00:00.690) 0:00:47.290 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:37:58 +0000 (0:00:00.948) 0:00:48.238 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:37:58 +0000 (0:00:00.025) 0:00:48.263 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:37:58 +0000 (0:00:00.026) 0:00:48.290 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:37:58 +0000 (0:00:00.045) 0:00:48.336 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.045) 0:00:48.381 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.059) 0:00:48.441 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.024) 0:00:48.466 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.034) 0:00:48.501 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.040) 0:00:48.541 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.040) 0:00:48.582 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.244) 0:00:48.826 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17241199pcbnb/tmpryma18gr" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.270) 0:00:49.096 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:37:59 +0000 (0:00:00.231) 0:00:49.327 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:00 +0000 (0:00:00.022) 0:00:49.350 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:00 +0000 (0:00:00.033) 0:00:49.383 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:00 +0000 (0:00:00.033) 0:00:49.417 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:00 +0000 (0:00:00.040) 0:00:49.457 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:38:00 +0000 (0:00:00.133) 0:00:49.591 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 13:38:00 +0000 (0:00:00.038) 0:00:49.630 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:00 +0000 (0:00:00.038) 0:00:49.668 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:00 +0000 (0:00:00.073) 0:00:49.742 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:00 +0000 (0:00:00.026) 0:00:49.769 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:00 +0000 (0:00:00.021) 0:00:49.790 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:00 +0000 (0:00:00.021) 0:00:49.812 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:01 +0000 (0:00:00.681) 0:00:50.494 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.948) 0:00:51.443 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.027) 0:00:51.470 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.021) 0:00:51.492 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.062) 0:00:51.555 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.062) 0:00:51.617 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.025) 0:00:51.642 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.031) 0:00:51.674 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.030) 0:00:51.704 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.022) 0:00:51.726 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.024) 0:00:51.750 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.236) 0:00:51.986 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17241199pcbnb/tmpk6brze49" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:02 +0000 (0:00:00.241) 0:00:52.228 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.270) 0:00:52.499 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.028) 0:00:52.527 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.091) 0:00:52.619 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.041) 0:00:52.660 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.029) 0:00:52.689 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.148) 0:00:52.838 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.092) 0:00:52.930 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.042) 0:00:52.973 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.041) 0:00:53.014 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.151) 0:00:53.166 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:38:03 +0000 (0:00:00.023) 0:00:53.189 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020652", "end": "2024-01-13 13:38:03.982441", "rc": 1, "start": "2024-01-13 13:38:03.961789" } 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.177) 0:00:53.366 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.036) 0:00:53.403 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.026) 0:00:53.430 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.026) 0:00:53.456 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.028) 0:00:53.484 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.038) 0:00:53.523 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.039) 0:00:53.563 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.053) 0:00:53.616 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.024) 0:00:53.640 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.076) 0:00:53.717 ****** 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.047231", "end": "2024-01-13 13:38:04.547267", "rc": 0, "start": "2024-01-13 13:38:04.500036" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tests_states.yml:126 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.253) 0:00:53.971 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.041) 0:00:54.012 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.035) 0:00:54.048 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.062) 0:00:54.110 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.035) 0:00:54.146 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.036) 0:00:54.182 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003516", "end": "2024-01-13 13:38:04.960391", "rc": 0, "start": "2024-01-13 13:38:04.956875" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:38:04 +0000 (0:00:00.154) 0:00:54.336 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.030) 0:00:54.366 ****** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.033) 0:00:54.400 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.060) 0:00:54.460 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.038) 0:00:54.499 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.051) 0:00:54.551 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.144) 0:00:54.695 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.031) 0:00:54.726 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:05 +0000 (0:00:00.055) 0:00:54.782 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:06 +0000 (0:00:00.722) 0:00:55.505 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.901) 0:00:56.407 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.022) 0:00:56.429 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.022) 0:00:56.452 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.021) 0:00:56.474 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.061) 0:00:56.535 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.041) 0:00:56.576 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.082) 0:00:56.659 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.040) 0:00:56.699 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.028) 0:00:56.727 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.029) 0:00:56.757 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.246) 0:00:57.003 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17241199pcbnb/tmp803oe9um" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:07 +0000 (0:00:00.264) 0:00:57.267 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.293) 0:00:57.561 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.044) 0:00:57.606 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.024) 0:00:57.631 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.063) 0:00:57.694 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.026) 0:00:57.721 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.135) 0:00:57.857 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.040) 0:00:57.897 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.065) 0:00:57.962 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.081) 0:00:58.044 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.026) 0:00:58.071 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.022) 0:00:58.094 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:08 +0000 (0:00:00.049) 0:00:58.144 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:09 +0000 (0:00:00.686) 0:00:58.830 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.907) 0:00:59.738 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.022) 0:00:59.760 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.023) 0:00:59.784 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.024) 0:00:59.808 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.044) 0:00:59.852 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.045) 0:00:59.898 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.021) 0:00:59.919 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.024) 0:00:59.944 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.020) 0:00:59.965 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.021) 0:00:59.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:10 +0000 (0:00:00.227) 0:01:00.214 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17241199pcbnb/tmpk7h7_laf" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.241) 0:01:00.456 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.488) 0:01:00.944 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.032) 0:01:00.976 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.024) 0:01:01.001 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.034) 0:01:01.036 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.022) 0:01:01.058 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.128) 0:01:01.186 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.036) 0:01:01.223 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:11 +0000 (0:00:00.091) 0:01:01.315 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:12 +0000 (0:00:00.025) 0:01:01.341 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:12 +0000 (0:00:00.021) 0:01:01.363 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:12 +0000 (0:00:00.021) 0:01:01.384 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:12 +0000 (0:00:00.703) 0:01:02.087 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.911) 0:01:02.998 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.023) 0:01:03.021 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.023) 0:01:03.044 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.031) 0:01:03.076 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.155) 0:01:03.231 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.038) 0:01:03.270 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.027) 0:01:03.297 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:13 +0000 (0:00:00.029) 0:01:03.326 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.037) 0:01:03.364 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.038) 0:01:03.402 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.275) 0:01:03.677 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17241199pcbnb/tmpep3blea6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.320) 0:01:03.998 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.251) 0:01:04.249 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.025) 0:01:04.275 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:14 +0000 (0:00:00.043) 0:01:04.319 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.051) 0:01:04.370 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.030) 0:01:04.400 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.152) 0:01:04.553 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.086) 0:01:04.639 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.046) 0:01:04.686 ****** included: /WORKDIR/git-weekly-cipb9dl22j/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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.057) 0:01:04.744 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.033) 0:01:04.777 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.023) 0:01:04.801 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:15 +0000 (0:00:00.029) 0:01:04.830 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:16 +0000 (0:00:00.684) 0:01:05.515 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.908) 0:01:06.424 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.065) 0:01:06.489 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.039) 0:01:06.529 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.025) 0:01:06.554 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.043) 0:01:06.598 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.021) 0:01:06.620 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.025) 0:01:06.645 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.033) 0:01:06.679 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.029) 0:01:06.709 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.027) 0:01:06.736 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.230) 0:01:06.967 ****** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17241199pcbnb/tmpxfq3l47s" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:17 +0000 (0:00:00.215) 0:01:07.182 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.246) 0:01:07.429 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.021) 0:01:07.451 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.027) 0:01:07.478 ****** 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-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.036) 0:01:07.515 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.022) 0:01:07.538 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.161) 0:01:07.699 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.047) 0:01:07.747 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.038) 0:01:07.786 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.027) 0:01:07.814 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.146) 0:01:07.960 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.022) 0:01:07.983 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021114", "end": "2024-01-13 13:38:18.779585", "rc": 1, "start": "2024-01-13 13:38:18.758471" } 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-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.158) 0:01:08.141 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.029) 0:01:08.171 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.039) 0:01:08.211 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.026) 0:01:08.237 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.029) 0:01:08.266 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.028) 0:01:08.294 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 13 January 2024 13:38:18 +0000 (0:00:00.024) 0:01:08.319 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.670991", "end": "2024-01-13 13:38:19.761223", "rc": 0, "start": "2024-01-13 13:38:19.090232" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.843) 0:01:09.162 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.024) 0:01:09.187 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.029) 0:01:09.217 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.027) 0:01:09.244 ****** 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-weekly-cipb9dl22j/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:38:19 +0000 (0:00:00.036) 0:01:09.280 ****** included: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cipb9dl22j/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.057) 0:01:09.338 ****** 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.049844", "end": "2024-01-13 13:38:20.163302", "rc": 0, "start": "2024-01-13 13:38:20.113458" } 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 Saturday 13 January 2024 13:38:20 +0000 (0:00:00.190) 0:01:09.528 ****** =============================================================================== linux-system-roles.network : Install packages --------------------------- 2.55s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 1.95s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.61s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 1.50s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.46s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which packages are installed --------- 1.07s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.04s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Enable network service --------------------- 1.02s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-weekly-cipb9dl22j/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-weekly-cipb9dl22j/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. ---^---^---^---^---^---