# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /WORKDIR/git-ci_fixny490rq5/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/tests_states_initscripts.yml:5 Tuesday 23 January 2024 19:44:34 +0000 (0:00:00.011) 0:00:00.011 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-ci_fixny490rq5/tests/tests_states_initscripts.yml:8 Tuesday 23 January 2024 19:44:35 +0000 (0:00:00.519) 0:00:00.531 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/tasks/el_repo_setup.yml:3 Tuesday 23 January 2024 19:44:35 +0000 (0:00:00.025) 0:00:00.557 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/tasks/el_repo_setup.yml:19 Tuesday 23 January 2024 19:44:35 +0000 (0:00:00.230) 0:00:00.787 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/tasks/el_repo_setup.yml:24 Tuesday 23 January 2024 19:44:35 +0000 (0:00:00.189) 0:00:00.976 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/tasks/el_repo_setup.yml:28 Tuesday 23 January 2024 19:44:35 +0000 (0:00:00.018) 0:00:00.995 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/tasks/el_repo_setup.yml:53 Tuesday 23 January 2024 19:44:35 +0000 (0:00:00.017) 0:00:01.013 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/tasks/enable_epel.yml:8 Tuesday 23 January 2024 19:44:35 +0000 (0:00:00.029) 0:00:01.042 ******* ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/tasks/enable_epel.yml:24 Tuesday 23 January 2024 19:44:36 +0000 (0:00:00.188) 0:00:01.231 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/tasks/enable_epel.yml:30 Tuesday 23 January 2024 19:44:36 +0000 (0:00:00.459) 0:00:01.690 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.172056", "end": "2024-01-23 19:44:36.906202", "rc": 0, "start": "2024-01-23 19:44:36.734146" } 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-ci_fixny490rq5/tests/tasks/enable_epel.yml:35 Tuesday 23 January 2024 19:44:36 +0000 (0:00:00.295) 0:00:01.985 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/tasks/enable_epel.yml:40 Tuesday 23 January 2024 19:44:36 +0000 (0:00:00.010) 0:00:01.996 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/tests_states_initscripts.yml:10 Tuesday 23 January 2024 19:44:36 +0000 (0:00:00.009) 0:00:02.005 ******* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tests_states.yml:3 Tuesday 23 January 2024 19:44:36 +0000 (0:00:00.009) 0:00:02.015 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tests_states.yml:11 Tuesday 23 January 2024 19:44:37 +0000 (0:00:00.402) 0:00:02.417 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tests_states.yml:22 Tuesday 23 January 2024 19:44:37 +0000 (0:00:00.014) 0:00:02.432 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 19:44:37 +0000 (0:00:00.017) 0:00:02.450 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 19:44:37 +0000 (0:00:00.011) 0:00:02.462 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 19:44:37 +0000 (0:00:00.038) 0:00:02.500 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 19:44:37 +0000 (0:00:00.022) 0:00:02.523 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 19:44:37 +0000 (0:00:00.021) 0:00:02.544 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003440", "end": "2024-01-23 19:44:37.594637", "rc": 0, "start": "2024-01-23 19:44:37.591197" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 19:44:37 +0000 (0:00:00.129) 0:00:02.674 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 19:44:37 +0000 (0:00:00.012) 0:00:02.686 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 19:44:37 +0000 (0:00:00.011) 0:00:02.697 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 23 January 2024 19:44:37 +0000 (0:00:00.021) 0:00:02.719 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010597", "end": "2024-01-23 19:44:37.773100", "rc": 1, "start": "2024-01-23 19:44:37.762503" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 23 January 2024 19:44:37 +0000 (0:00:00.131) 0:00:02.851 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 19:44:37 +0000 (0:00:00.015) 0:00:02.867 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 23 January 2024 19:44:37 +0000 (0:00:00.128) 0:00:02.995 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 19:44:37 +0000 (0:00:00.015) 0:00:03.011 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 23 January 2024 19:44:37 +0000 (0:00:00.022) 0:00:03.034 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:44:38 +0000 (0:00:00.033) 0:00:03.067 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:44:38 +0000 (0:00:00.073) 0:00:03.141 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:44:38 +0000 (0:00:00.012) 0:00:03.153 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:44:38 +0000 (0:00:00.010) 0:00:03.164 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:44:38 +0000 (0:00:00.013) 0:00:03.178 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:44:38 +0000 (0:00:00.783) 0:00:03.961 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:44:39 +0000 (0:00:01.072) 0:00:05.033 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:44:39 +0000 (0:00:00.022) 0:00:05.056 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:44:40 +0000 (0:00:00.020) 0:00:05.076 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:44:40 +0000 (0:00:00.020) 0:00:05.097 ******* 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: forksystems.mm.fcix.net\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" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:44:42 +0000 (0:00:02.243) 0:00:07.340 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:44:42 +0000 (0:00:00.020) 0:00:07.361 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:44:42 +0000 (0:00:00.034) 0:00:07.396 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:44:42 +0000 (0:00:00.024) 0:00:07.420 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:44:42 +0000 (0:00:00.021) 0:00:07.441 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:44:42 +0000 (0:00:00.021) 0:00:07.462 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:44:42 +0000 (0:00:00.359) 0:00:07.822 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17000apt9un_5/tmpw52bb1gm" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:44:42 +0000 (0:00:00.229) 0:00:08.051 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:44:43 +0000 (0:00:00.330) 0:00:08.382 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:44:43 +0000 (0:00:00.021) 0:00:08.403 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:44:43 +0000 (0:00:00.021) 0:00:08.424 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:44:43 +0000 (0:00:00.021) 0:00:08.446 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:44:43 +0000 (0:00:00.019) 0:00:08.465 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 23 January 2024 19:44:43 +0000 (0:00:00.202) 0:00:08.668 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 19:44:43 +0000 (0:00:00.023) 0:00:08.692 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 23 January 2024 19:44:43 +0000 (0:00:00.047) 0:00:08.740 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 19:44:43 +0000 (0:00:00.055) 0:00:08.795 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 19:44:43 +0000 (0:00:00.020) 0:00:08.816 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706039083.2918828, "block_size": 4096, "blocks": 8, "ctime": 1706039083.2918828, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25544, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706039083.2918828, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 19:44:43 +0000 (0:00:00.143) 0:00:08.960 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 19:44:43 +0000 (0:00:00.022) 0:00:08.982 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024909", "end": "2024-01-23 19:44:44.059469", "rc": 1, "start": "2024-01-23 19:44:44.034560" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 19:44:44 +0000 (0:00:00.165) 0:00:09.148 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 19:44:44 +0000 (0:00:00.021) 0:00:09.169 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003416", "end": "2024-01-23 19:44:44.240797", "rc": 0, "start": "2024-01-23 19:44:44.237381" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 19:44:44 +0000 (0:00:00.159) 0:00:09.329 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 19:44:44 +0000 (0:00:00.026) 0:00:09.356 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003372", "end": "2024-01-23 19:44:44.415526", "rc": 0, "start": "2024-01-23 19:44:44.412154" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 19:44:44 +0000 (0:00:00.149) 0:00:09.506 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 23 January 2024 19:44:44 +0000 (0:00:00.026) 0:00:09.533 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 23 January 2024 19:44:44 +0000 (0:00:00.022) 0:00:09.556 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 23 January 2024 19:44:44 +0000 (0:00:00.023) 0:00:09.579 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 19:44:44 +0000 (0:00:00.021) 0:00:09.600 ******* skipping: [sut] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 19:44:44 +0000 (0:00:00.023) 0:00:09.624 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 19:44:44 +0000 (0:00:00.020) 0:00:09.644 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 19:44:44 +0000 (0:00:00.061) 0:00:09.706 ******* 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.046504", "end": "2024-01-23 19:44:44.799412", "rc": 1, "start": "2024-01-23 19:44:44.752908" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tests_states.yml:45 Tuesday 23 January 2024 19:44:44 +0000 (0:00:00.181) 0:00:09.887 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 19:44:44 +0000 (0:00:00.034) 0:00:09.922 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 19:44:44 +0000 (0:00:00.020) 0:00:09.943 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 19:44:44 +0000 (0:00:00.043) 0:00:09.987 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 19:44:44 +0000 (0:00:00.033) 0:00:10.020 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 19:44:44 +0000 (0:00:00.032) 0:00:10.052 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003342", "end": "2024-01-23 19:44:45.110406", "rc": 0, "start": "2024-01-23 19:44:45.107064" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 19:44:45 +0000 (0:00:00.146) 0:00:10.199 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 19:44:45 +0000 (0:00:00.022) 0:00:10.221 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 19:44:45 +0000 (0:00:00.020) 0:00:10.242 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 23 January 2024 19:44:45 +0000 (0:00:00.039) 0:00:10.281 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007203", "end": "2024-01-23 19:44:45.332230", "rc": 1, "start": "2024-01-23 19:44:45.325027" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 23 January 2024 19:44:45 +0000 (0:00:00.167) 0:00:10.448 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 19:44:45 +0000 (0:00:00.037) 0:00:10.486 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 23 January 2024 19:44:45 +0000 (0:00:00.138) 0:00:10.624 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 19:44:45 +0000 (0:00:00.023) 0:00:10.647 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 23 January 2024 19:44:45 +0000 (0:00:00.040) 0:00:10.688 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:44:45 +0000 (0:00:00.039) 0:00:10.728 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:44:45 +0000 (0:00:00.039) 0:00:10.767 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:44:45 +0000 (0:00:00.025) 0:00:10.792 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:44:45 +0000 (0:00:00.020) 0:00:10.813 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:44:45 +0000 (0:00:00.020) 0:00:10.833 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:44:46 +0000 (0:00:00.708) 0:00:11.542 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:44:47 +0000 (0:00:00.927) 0:00:12.470 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:44:47 +0000 (0:00:00.023) 0:00:12.493 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:44:47 +0000 (0:00:00.022) 0:00:12.516 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:44:47 +0000 (0:00:00.022) 0:00:12.538 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:44:47 +0000 (0:00:00.043) 0:00:12.582 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:44:47 +0000 (0:00:00.021) 0:00:12.603 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:44:47 +0000 (0:00:00.021) 0:00:12.624 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:44:47 +0000 (0:00:00.023) 0:00:12.648 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:44:47 +0000 (0:00:00.030) 0:00:12.678 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:44:47 +0000 (0:00:00.023) 0:00:12.702 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:44:47 +0000 (0:00:00.234) 0:00:12.936 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17000apt9un_5/tmpoyastulj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:44:48 +0000 (0:00:00.285) 0:00:13.222 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:44:48 +0000 (0:00:00.238) 0:00:13.460 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:44:48 +0000 (0:00:00.021) 0:00:13.481 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:44:48 +0000 (0:00:00.029) 0:00:13.511 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:44:48 +0000 (0:00:00.025) 0:00:13.536 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:44:48 +0000 (0:00:00.022) 0:00:13.558 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 23 January 2024 19:44:48 +0000 (0:00:00.133) 0:00:13.691 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 19:44:48 +0000 (0:00:00.022) 0:00:13.714 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 23 January 2024 19:44:48 +0000 (0:00:00.041) 0:00:13.755 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 19:44:48 +0000 (0:00:00.033) 0:00:13.789 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 23 January 2024 19:44:48 +0000 (0:00:00.137) 0:00:13.927 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 23 January 2024 19:44:48 +0000 (0:00:00.022) 0:00:13.950 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 19:44:48 +0000 (0:00:00.060) 0:00:14.010 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 19:44:48 +0000 (0:00:00.022) 0:00:14.033 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706039088.3688579, "block_size": 4096, "blocks": 8, "ctime": 1706039088.3688579, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25539, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706039088.3688579, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 19:44:49 +0000 (0:00:00.134) 0:00:14.167 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 19:44:49 +0000 (0:00:00.022) 0:00:14.190 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023560", "end": "2024-01-23 19:44:49.259171", "rc": 1, "start": "2024-01-23 19:44:49.235611" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 19:44:49 +0000 (0:00:00.157) 0:00:14.347 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 19:44:49 +0000 (0:00:00.022) 0:00:14.369 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003434", "end": "2024-01-23 19:44:49.420600", "rc": 0, "start": "2024-01-23 19:44:49.417166" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 19:44:49 +0000 (0:00:00.140) 0:00:14.510 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 19:44:49 +0000 (0:00:00.025) 0:00:14.536 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003364", "end": "2024-01-23 19:44:49.586233", "rc": 0, "start": "2024-01-23 19:44:49.582869" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 19:44:49 +0000 (0:00:00.140) 0:00:14.677 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 23 January 2024 19:44:49 +0000 (0:00:00.025) 0:00:14.702 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 23 January 2024 19:44:49 +0000 (0:00:00.023) 0:00:14.725 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 23 January 2024 19:44:49 +0000 (0:00:00.022) 0:00:14.748 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 19:44:49 +0000 (0:00:00.021) 0:00:14.769 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 19:44:49 +0000 (0:00:00.018) 0:00:14.788 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 19:44:49 +0000 (0:00:00.019) 0:00:14.808 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 19:44:49 +0000 (0:00:00.037) 0:00:14.845 ******* 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.046587", "end": "2024-01-23 19:44:49.938080", "rc": 1, "start": "2024-01-23 19:44:49.891493" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tests_states.yml:65 Tuesday 23 January 2024 19:44:49 +0000 (0:00:00.180) 0:00:15.026 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 19:44:49 +0000 (0:00:00.036) 0:00:15.062 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 19:44:50 +0000 (0:00:00.023) 0:00:15.085 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 19:44:50 +0000 (0:00:00.046) 0:00:15.132 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 19:44:50 +0000 (0:00:00.034) 0:00:15.167 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 19:44:50 +0000 (0:00:00.033) 0:00:15.200 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003219", "end": "2024-01-23 19:44:50.254595", "rc": 0, "start": "2024-01-23 19:44:50.251376" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 19:44:50 +0000 (0:00:00.143) 0:00:15.343 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 19:44:50 +0000 (0:00:00.022) 0:00:15.365 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 19:44:50 +0000 (0:00:00.021) 0:00:15.386 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 23 January 2024 19:44:50 +0000 (0:00:00.037) 0:00:15.424 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:44:50 +0000 (0:00:00.045) 0:00:15.470 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:44:50 +0000 (0:00:00.073) 0:00:15.543 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:44:50 +0000 (0:00:00.033) 0:00:15.576 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:44:50 +0000 (0:00:00.021) 0:00:15.597 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:44:50 +0000 (0:00:00.020) 0:00:15.618 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:44:51 +0000 (0:00:00.689) 0:00:16.307 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:44:52 +0000 (0:00:00.922) 0:00:17.229 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:44:52 +0000 (0:00:00.047) 0:00:17.277 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:44:52 +0000 (0:00:00.022) 0:00:17.300 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:44:52 +0000 (0:00:00.021) 0:00:17.321 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:44:52 +0000 (0:00:00.066) 0:00:17.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-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:44:52 +0000 (0:00:00.023) 0:00:17.411 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:44:52 +0000 (0:00:00.053) 0:00:17.465 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:44:52 +0000 (0:00:00.027) 0:00:17.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-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:44:52 +0000 (0:00:00.023) 0:00:17.516 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:44:52 +0000 (0:00:00.035) 0:00:17.552 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:44:52 +0000 (0:00:00.226) 0:00:17.779 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17000apt9un_5/tmp8rhsjo0b" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:44:52 +0000 (0:00:00.225) 0:00:18.004 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:44:53 +0000 (0:00:00.229) 0:00:18.234 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:44:53 +0000 (0:00:00.021) 0:00:18.255 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:44:53 +0000 (0:00:00.022) 0:00:18.277 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:44:53 +0000 (0:00:00.022) 0:00:18.300 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:44:53 +0000 (0:00:00.022) 0:00:18.322 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 23 January 2024 19:44:53 +0000 (0:00:00.150) 0:00:18.472 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 19:44:53 +0000 (0:00:00.022) 0:00:18.494 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 23 January 2024 19:44:53 +0000 (0:00:00.063) 0:00:18.558 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:44:53 +0000 (0:00:00.040) 0:00:18.599 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:44:53 +0000 (0:00:00.039) 0:00:18.638 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:44:53 +0000 (0:00:00.026) 0:00:18.665 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:44:53 +0000 (0:00:00.020) 0:00:18.686 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:44:53 +0000 (0:00:00.020) 0:00:18.706 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:44:54 +0000 (0:00:00.691) 0:00:19.397 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:44:55 +0000 (0:00:00.935) 0:00:20.333 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:44:55 +0000 (0:00:00.022) 0:00:20.356 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:44:55 +0000 (0:00:00.021) 0:00:20.377 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:44:55 +0000 (0:00:00.021) 0:00:20.398 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:44:55 +0000 (0:00:00.042) 0:00:20.441 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:44:55 +0000 (0:00:00.021) 0:00:20.462 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:44:55 +0000 (0:00:00.020) 0:00:20.482 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:44:55 +0000 (0:00:00.024) 0:00:20.507 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:44:55 +0000 (0:00:00.022) 0:00:20.529 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:44:55 +0000 (0:00:00.020) 0:00:20.550 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:44:55 +0000 (0:00:00.248) 0:00:20.798 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17000apt9un_5/tmpsn3nrwl2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:44:55 +0000 (0:00:00.253) 0:00:21.052 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:44:56 +0000 (0:00:00.469) 0:00:21.521 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:44:56 +0000 (0:00:00.055) 0:00:21.576 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:44:56 +0000 (0:00:00.026) 0:00:21.603 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:44:56 +0000 (0:00:00.025) 0:00:21.628 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:44:56 +0000 (0:00:00.021) 0:00:21.650 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 19:44:56 +0000 (0:00:00.134) 0:00:21.784 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 23 January 2024 19:44:56 +0000 (0:00:00.044) 0:00:21.829 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 19:44:56 +0000 (0:00:00.036) 0:00:21.866 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706039096.3608184, "block_size": 4096, "blocks": 0, "ctime": 1706039096.3598185, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17656, "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": 1706039096.3598185, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 23 January 2024 19:44:56 +0000 (0:00:00.136) 0:00:22.003 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 23 January 2024 19:44:56 +0000 (0:00:00.023) 0:00:22.026 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 19:44:56 +0000 (0:00:00.037) 0:00:22.063 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 19:44:57 +0000 (0:00:00.020) 0:00:22.084 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706039096.1848192, "block_size": 4096, "blocks": 8, "ctime": 1706039093.1408343, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25539, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1706039093.1408343, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 19:44:57 +0000 (0:00:00.133) 0:00:22.218 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 19:44:57 +0000 (0:00:00.023) 0:00:22.242 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023047", "end": "2024-01-23 19:44:57.340511", "rc": 1, "start": "2024-01-23 19:44:57.317464" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 19:44:57 +0000 (0:00:00.210) 0:00:22.452 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 19:44:57 +0000 (0:00:00.023) 0:00:22.476 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003304", "end": "2024-01-23 19:44:57.531884", "rc": 0, "start": "2024-01-23 19:44:57.528580" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 19:44:57 +0000 (0:00:00.145) 0:00:22.622 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 19:44:57 +0000 (0:00:00.031) 0:00:22.654 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003365", "end": "2024-01-23 19:44:57.710503", "rc": 0, "start": "2024-01-23 19:44:57.707138" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 19:44:57 +0000 (0:00:00.149) 0:00:22.803 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 23 January 2024 19:44:57 +0000 (0:00:00.036) 0:00:22.840 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 23 January 2024 19:44:57 +0000 (0:00:00.025) 0:00:22.866 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 23 January 2024 19:44:57 +0000 (0:00:00.029) 0:00:22.895 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 19:44:57 +0000 (0:00:00.038) 0:00:22.933 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 19:44:57 +0000 (0:00:00.027) 0:00:22.961 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 19:44:57 +0000 (0:00:00.043) 0:00:23.004 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 19:44:57 +0000 (0:00:00.043) 0:00:23.047 ******* 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.050976", "end": "2024-01-23 19:44:58.151970", "rc": 0, "start": "2024-01-23 19:44:58.100994" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tests_states.yml:83 Tuesday 23 January 2024 19:44:58 +0000 (0:00:00.193) 0:00:23.241 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 19:44:58 +0000 (0:00:00.035) 0:00:23.277 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 19:44:58 +0000 (0:00:00.022) 0:00:23.300 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 19:44:58 +0000 (0:00:00.114) 0:00:23.414 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 19:44:58 +0000 (0:00:00.049) 0:00:23.464 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 19:44:58 +0000 (0:00:00.036) 0:00:23.500 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003416", "end": "2024-01-23 19:44:58.559797", "rc": 0, "start": "2024-01-23 19:44:58.556381" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 19:44:58 +0000 (0:00:00.147) 0:00:23.648 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 19:44:58 +0000 (0:00:00.022) 0:00:23.670 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 19:44:58 +0000 (0:00:00.020) 0:00:23.691 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 23 January 2024 19:44:58 +0000 (0:00:00.041) 0:00:23.732 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:44:58 +0000 (0:00:00.035) 0:00:23.767 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:44:58 +0000 (0:00:00.038) 0:00:23.806 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:44:58 +0000 (0:00:00.025) 0:00:23.831 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:44:58 +0000 (0:00:00.020) 0:00:23.852 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:44:58 +0000 (0:00:00.019) 0:00:23.872 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:44:59 +0000 (0:00:00.686) 0:00:24.558 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:45:00 +0000 (0:00:00.913) 0:00:25.472 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:45:00 +0000 (0:00:00.023) 0:00:25.495 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:45:00 +0000 (0:00:00.021) 0:00:25.516 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:45:00 +0000 (0:00:00.021) 0:00:25.538 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:45:00 +0000 (0:00:00.042) 0:00:25.580 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:45:00 +0000 (0:00:00.021) 0:00:25.601 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:45:00 +0000 (0:00:00.021) 0:00:25.622 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:45:00 +0000 (0:00:00.023) 0:00:25.646 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:45:00 +0000 (0:00:00.042) 0:00:25.688 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:45:00 +0000 (0:00:00.020) 0:00:25.709 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:45:00 +0000 (0:00:00.229) 0:00:25.939 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17000apt9un_5/tmp8u98_it1" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:45:01 +0000 (0:00:00.255) 0:00:26.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-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:45:01 +0000 (0:00:00.233) 0:00:26.428 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:45:01 +0000 (0:00:00.020) 0:00:26.449 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:45:01 +0000 (0:00:00.022) 0:00:26.471 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:45:01 +0000 (0:00:00.022) 0:00:26.494 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:45:01 +0000 (0:00:00.020) 0:00:26.514 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 23 January 2024 19:45:01 +0000 (0:00:00.133) 0:00:26.647 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 23 January 2024 19:45:01 +0000 (0:00:00.022) 0:00:26.670 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:45:01 +0000 (0:00:00.034) 0:00:26.704 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:45:01 +0000 (0:00:00.038) 0:00:26.743 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:45:01 +0000 (0:00:00.050) 0:00:26.793 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:45:01 +0000 (0:00:00.021) 0:00:26.814 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:45:01 +0000 (0:00:00.021) 0:00:26.836 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:45:02 +0000 (0:00:00.690) 0:00:27.526 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:45:03 +0000 (0:00:00.912) 0:00:28.439 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:45:03 +0000 (0:00:00.022) 0:00:28.461 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:45:03 +0000 (0:00:00.020) 0:00:28.481 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:45:03 +0000 (0:00:00.021) 0:00:28.503 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:45:03 +0000 (0:00:00.041) 0:00:28.545 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:45:03 +0000 (0:00:00.039) 0:00:28.584 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:45:03 +0000 (0:00:00.022) 0:00:28.606 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:45:03 +0000 (0:00:00.024) 0:00:28.630 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:45:03 +0000 (0:00:00.023) 0:00:28.654 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:45:03 +0000 (0:00:00.022) 0:00:28.676 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:45:03 +0000 (0:00:00.234) 0:00:28.911 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17000apt9un_5/tmpmselzat9" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:45:04 +0000 (0:00:00.269) 0:00:29.181 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:45:04 +0000 (0:00:00.463) 0:00:29.645 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:45:04 +0000 (0:00:00.021) 0:00:29.666 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:45:04 +0000 (0:00:00.022) 0:00:29.688 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:45:04 +0000 (0:00:00.021) 0:00:29.710 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:45:04 +0000 (0:00:00.021) 0:00:29.732 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 19:45:04 +0000 (0:00:00.133) 0:00:29.865 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 23 January 2024 19:45:04 +0000 (0:00:00.064) 0:00:29.929 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:45:04 +0000 (0:00:00.039) 0:00:29.969 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:45:04 +0000 (0:00:00.040) 0:00:30.009 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:45:04 +0000 (0:00:00.025) 0:00:30.034 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:45:04 +0000 (0:00:00.021) 0:00:30.056 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:45:05 +0000 (0:00:00.020) 0:00:30.076 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:45:05 +0000 (0:00:00.682) 0:00:30.759 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:45:06 +0000 (0:00:00.966) 0:00:31.726 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:45:06 +0000 (0:00:00.026) 0:00:31.752 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:45:06 +0000 (0:00:00.022) 0:00:31.774 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:45:06 +0000 (0:00:00.021) 0:00:31.796 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:45:06 +0000 (0:00:00.049) 0:00:31.845 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:45:06 +0000 (0:00:00.023) 0:00:31.868 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:45:06 +0000 (0:00:00.021) 0:00:31.890 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:45:06 +0000 (0:00:00.023) 0:00:31.914 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:45:06 +0000 (0:00:00.022) 0:00:31.937 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:45:06 +0000 (0:00:00.020) 0:00:31.957 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:45:07 +0000 (0:00:00.230) 0:00:32.187 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17000apt9un_5/tmpmamy5aa4" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:45:07 +0000 (0:00:00.236) 0:00:32.424 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:45:07 +0000 (0:00:00.235) 0:00:32.660 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:45:07 +0000 (0:00:00.021) 0:00:32.681 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:45:07 +0000 (0:00:00.021) 0:00:32.703 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:45:07 +0000 (0:00:00.050) 0:00:32.753 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:45:07 +0000 (0:00:00.023) 0:00:32.777 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 19:45:07 +0000 (0:00:00.141) 0:00:32.918 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 23 January 2024 19:45:07 +0000 (0:00:00.057) 0:00:32.976 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 23 January 2024 19:45:07 +0000 (0:00:00.038) 0:00:33.014 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1706039104.4867785, "block_size": 4096, "blocks": 0, "ctime": 1706039104.4857783, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17656, "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": 1706039104.4857783, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 23 January 2024 19:45:08 +0000 (0:00:00.138) 0:00:33.153 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 23 January 2024 19:45:08 +0000 (0:00:00.023) 0:00:33.176 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 19:45:08 +0000 (0:00:00.037) 0:00:33.213 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 19:45:08 +0000 (0:00:00.021) 0:00:33.235 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 19:45:08 +0000 (0:00:00.139) 0:00:33.374 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 19:45:08 +0000 (0:00:00.021) 0:00:33.396 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022558", "end": "2024-01-23 19:45:08.465358", "rc": 1, "start": "2024-01-23 19:45:08.442800" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 19:45:08 +0000 (0:00:00.157) 0:00:33.553 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 19:45:08 +0000 (0:00:00.022) 0:00:33.576 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 19:45:08 +0000 (0:00:00.055) 0:00:33.632 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 19:45:08 +0000 (0:00:00.033) 0:00:33.665 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 19:45:08 +0000 (0:00:00.027) 0:00:33.692 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 23 January 2024 19:45:08 +0000 (0:00:00.024) 0:00:33.717 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 19:45:08 +0000 (0:00:00.027) 0:00:33.744 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 19:45:08 +0000 (0:00:00.027) 0:00:33.772 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 19:45:08 +0000 (0:00:00.028) 0:00:33.800 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 19:45:08 +0000 (0:00:00.041) 0:00:33.842 ******* 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.053171", "end": "2024-01-23 19:45:08.944934", "rc": 0, "start": "2024-01-23 19:45:08.891763" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tests_states.yml:103 Tuesday 23 January 2024 19:45:08 +0000 (0:00:00.197) 0:00:34.039 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 19:45:09 +0000 (0:00:00.046) 0:00:34.085 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 19:45:09 +0000 (0:00:00.023) 0:00:34.108 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 19:45:09 +0000 (0:00:00.063) 0:00:34.172 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 19:45:09 +0000 (0:00:00.041) 0:00:34.214 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 19:45:09 +0000 (0:00:00.042) 0:00:34.256 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003332", "end": "2024-01-23 19:45:09.305054", "rc": 0, "start": "2024-01-23 19:45:09.301722" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 19:45:09 +0000 (0:00:00.135) 0:00:34.392 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 19:45:09 +0000 (0:00:00.023) 0:00:34.415 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 19:45:09 +0000 (0:00:00.027) 0:00:34.443 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 23 January 2024 19:45:09 +0000 (0:00:00.056) 0:00:34.500 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:45:09 +0000 (0:00:00.046) 0:00:34.547 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:45:09 +0000 (0:00:00.051) 0:00:34.598 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:45:09 +0000 (0:00:00.028) 0:00:34.626 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:45:09 +0000 (0:00:00.021) 0:00:34.648 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:45:09 +0000 (0:00:00.033) 0:00:34.681 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:45:10 +0000 (0:00:00.683) 0:00:35.365 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:45:11 +0000 (0:00:00.953) 0:00:36.319 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:45:11 +0000 (0:00:00.024) 0:00:36.343 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:45:11 +0000 (0:00:00.029) 0:00:36.373 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:45:11 +0000 (0:00:00.023) 0:00:36.396 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:45:11 +0000 (0:00:00.043) 0:00:36.440 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:45:11 +0000 (0:00:00.021) 0:00:36.461 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:45:11 +0000 (0:00:00.021) 0:00:36.483 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:45:11 +0000 (0:00:00.024) 0:00:36.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:45:11 +0000 (0:00:00.021) 0:00:36.529 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:45:11 +0000 (0:00:00.021) 0:00:36.551 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:45:11 +0000 (0:00:00.228) 0:00:36.779 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17000apt9un_5/tmpo48rb9dv" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:45:11 +0000 (0:00:00.232) 0:00:37.012 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:45:12 +0000 (0:00:00.247) 0:00:37.260 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:45:12 +0000 (0:00:00.021) 0:00:37.282 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:45:12 +0000 (0:00:00.024) 0:00:37.306 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:45:12 +0000 (0:00:00.022) 0:00:37.329 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:45:12 +0000 (0:00:00.022) 0:00:37.351 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 23 January 2024 19:45:12 +0000 (0:00:00.135) 0:00:37.487 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 23 January 2024 19:45:12 +0000 (0:00:00.025) 0:00:37.512 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:45:12 +0000 (0:00:00.039) 0:00:37.552 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:45:12 +0000 (0:00:00.042) 0:00:37.595 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:45:12 +0000 (0:00:00.071) 0:00:37.666 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:45:12 +0000 (0:00:00.033) 0:00:37.699 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:45:12 +0000 (0:00:00.029) 0:00:37.728 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:45:13 +0000 (0:00:00.703) 0:00:38.432 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:45:14 +0000 (0:00:00.921) 0:00:39.354 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:45:14 +0000 (0:00:00.022) 0:00:39.376 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:45:14 +0000 (0:00:00.021) 0:00:39.397 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:45:14 +0000 (0:00:00.019) 0:00:39.417 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:45:14 +0000 (0:00:00.042) 0:00:39.459 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:45:14 +0000 (0:00:00.020) 0:00:39.480 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:45:14 +0000 (0:00:00.020) 0:00:39.500 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:45:14 +0000 (0:00:00.023) 0:00:39.524 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:45:14 +0000 (0:00:00.020) 0:00:39.545 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:45:14 +0000 (0:00:00.020) 0:00:39.565 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:45:14 +0000 (0:00:00.247) 0:00:39.812 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17000apt9un_5/tmpqcdezimq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:45:15 +0000 (0:00:00.266) 0:00:40.079 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:45:15 +0000 (0:00:00.460) 0:00:40.540 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:45:15 +0000 (0:00:00.021) 0:00:40.561 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:45:15 +0000 (0:00:00.022) 0:00:40.583 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:45:15 +0000 (0:00:00.023) 0:00:40.607 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:45:15 +0000 (0:00:00.021) 0:00:40.629 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 23 January 2024 19:45:15 +0000 (0:00:00.132) 0:00:40.762 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:45:15 +0000 (0:00:00.036) 0:00:40.798 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:45:15 +0000 (0:00:00.038) 0:00:40.837 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:45:15 +0000 (0:00:00.025) 0:00:40.863 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:45:15 +0000 (0:00:00.020) 0:00:40.884 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:45:15 +0000 (0:00:00.045) 0:00:40.929 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:45:16 +0000 (0:00:00.683) 0:00:41.612 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:45:17 +0000 (0:00:00.910) 0:00:42.523 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:45:17 +0000 (0:00:00.021) 0:00:42.545 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:45:17 +0000 (0:00:00.021) 0:00:42.566 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:45:17 +0000 (0:00:00.022) 0:00:42.589 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:45:17 +0000 (0:00:00.042) 0:00:42.631 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:45:17 +0000 (0:00:00.021) 0:00:42.653 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:45:17 +0000 (0:00:00.020) 0:00:42.673 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:45:17 +0000 (0:00:00.043) 0:00:42.717 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:45:17 +0000 (0:00:00.021) 0:00:42.738 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:45:17 +0000 (0:00:00.021) 0:00:42.760 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:45:17 +0000 (0:00:00.231) 0:00:42.992 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17000apt9un_5/tmpyq0n5a_c" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:45:18 +0000 (0:00:00.246) 0:00:43.238 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:45:18 +0000 (0:00:00.244) 0:00:43.483 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:45:18 +0000 (0:00:00.021) 0:00:43.504 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:45:18 +0000 (0:00:00.027) 0:00:43.532 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:45:18 +0000 (0:00:00.025) 0:00:43.557 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:45:18 +0000 (0:00:00.022) 0:00:43.579 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 19:45:18 +0000 (0:00:00.131) 0:00:43.711 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 23 January 2024 19:45:18 +0000 (0:00:00.038) 0:00:43.749 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:45:18 +0000 (0:00:00.038) 0:00:43.788 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:45:18 +0000 (0:00:00.065) 0:00:43.853 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:45:18 +0000 (0:00:00.026) 0:00:43.879 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:45:18 +0000 (0:00:00.021) 0:00:43.901 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:45:18 +0000 (0:00:00.021) 0:00:43.922 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:45:19 +0000 (0:00:00.689) 0:00:44.612 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:45:20 +0000 (0:00:00.919) 0:00:45.531 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:45:20 +0000 (0:00:00.052) 0:00:45.584 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:45:20 +0000 (0:00:00.025) 0:00:45.610 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:45:20 +0000 (0:00:00.056) 0:00:45.666 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:45:20 +0000 (0:00:00.043) 0:00:45.710 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:45:20 +0000 (0:00:00.020) 0:00:45.731 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:45:20 +0000 (0:00:00.021) 0:00:45.753 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:45:20 +0000 (0:00:00.024) 0:00:45.777 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:45:20 +0000 (0:00:00.022) 0:00:45.800 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:45:20 +0000 (0:00:00.022) 0:00:45.822 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:45:20 +0000 (0:00:00.230) 0:00:46.052 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17000apt9un_5/tmp2ccj_tza" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:45:21 +0000 (0:00:00.234) 0:00:46.286 ******* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:45:21 +0000 (0:00:00.227) 0:00:46.514 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:45:21 +0000 (0:00:00.021) 0:00:46.535 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:45:21 +0000 (0:00:00.022) 0:00:46.557 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:45:21 +0000 (0:00:00.022) 0:00:46.579 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:45:21 +0000 (0:00:00.019) 0:00:46.599 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 19:45:21 +0000 (0:00:00.128) 0:00:46.727 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 23 January 2024 19:45:21 +0000 (0:00:00.062) 0:00:46.790 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 19:45:21 +0000 (0:00:00.037) 0:00:46.828 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 19:45:21 +0000 (0:00:00.027) 0:00:46.855 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 19:45:21 +0000 (0:00:00.148) 0:00:47.003 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 19:45:21 +0000 (0:00:00.023) 0:00:47.027 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023406", "end": "2024-01-23 19:45:22.097204", "rc": 1, "start": "2024-01-23 19:45:22.073798" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 19:45:22 +0000 (0:00:00.158) 0:00:47.185 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 19:45:22 +0000 (0:00:00.022) 0:00:47.208 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 19:45:22 +0000 (0:00:00.022) 0:00:47.231 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 19:45:22 +0000 (0:00:00.022) 0:00:47.253 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 19:45:22 +0000 (0:00:00.030) 0:00:47.284 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 23 January 2024 19:45:22 +0000 (0:00:00.027) 0:00:47.311 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 19:45:22 +0000 (0:00:00.025) 0:00:47.337 ******* skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 19:45:22 +0000 (0:00:00.029) 0:00:47.366 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 19:45:22 +0000 (0:00:00.023) 0:00:47.390 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 19:45:22 +0000 (0:00:00.040) 0:00:47.430 ******* 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.050548", "end": "2024-01-23 19:45:22.527958", "rc": 0, "start": "2024-01-23 19:45:22.477410" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tests_states.yml:126 Tuesday 23 January 2024 19:45:22 +0000 (0:00:00.185) 0:00:47.616 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:5 Tuesday 23 January 2024 19:45:22 +0000 (0:00:00.040) 0:00:47.656 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:9 Tuesday 23 January 2024 19:45:22 +0000 (0:00:00.023) 0:00:47.680 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:21 Tuesday 23 January 2024 19:45:22 +0000 (0:00:00.060) 0:00:47.741 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 23 January 2024 19:45:22 +0000 (0:00:00.052) 0:00:47.794 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 23 January 2024 19:45:22 +0000 (0:00:00.043) 0:00:47.837 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003614", "end": "2024-01-23 19:45:22.889477", "rc": 0, "start": "2024-01-23 19:45:22.885863" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 23 January 2024 19:45:22 +0000 (0:00:00.150) 0:00:47.988 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 23 January 2024 19:45:22 +0000 (0:00:00.023) 0:00:48.011 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:24 Tuesday 23 January 2024 19:45:22 +0000 (0:00:00.026) 0:00:48.037 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 23 January 2024 19:45:23 +0000 (0:00:00.054) 0:00:48.092 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:45:23 +0000 (0:00:00.039) 0:00:48.131 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:45:23 +0000 (0:00:00.084) 0:00:48.215 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:45:23 +0000 (0:00:00.028) 0:00:48.244 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:45:23 +0000 (0:00:00.022) 0:00:48.266 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:45:23 +0000 (0:00:00.024) 0:00:48.291 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:45:23 +0000 (0:00:00.685) 0:00:48.977 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:45:24 +0000 (0:00:00.915) 0:00:49.892 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:45:24 +0000 (0:00:00.022) 0:00:49.915 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:45:24 +0000 (0:00:00.021) 0:00:49.937 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:45:24 +0000 (0:00:00.020) 0:00:49.958 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:45:24 +0000 (0:00:00.066) 0:00:50.024 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:45:24 +0000 (0:00:00.021) 0:00:50.045 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:45:25 +0000 (0:00:00.023) 0:00:50.069 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:45:25 +0000 (0:00:00.024) 0:00:50.094 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:45:25 +0000 (0:00:00.021) 0:00:50.115 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:45:25 +0000 (0:00:00.022) 0:00:50.137 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:45:25 +0000 (0:00:00.227) 0:00:50.365 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17000apt9un_5/tmp0zvnit74" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:45:25 +0000 (0:00:00.235) 0:00:50.600 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:45:25 +0000 (0:00:00.226) 0:00:50.827 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:45:25 +0000 (0:00:00.021) 0:00:50.849 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:45:25 +0000 (0:00:00.026) 0:00:50.876 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:45:25 +0000 (0:00:00.022) 0:00:50.898 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:45:25 +0000 (0:00:00.020) 0:00:50.919 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 23 January 2024 19:45:25 +0000 (0:00:00.129) 0:00:51.048 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 23 January 2024 19:45:26 +0000 (0:00:00.022) 0:00:51.071 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:45:26 +0000 (0:00:00.058) 0:00:51.130 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:45:26 +0000 (0:00:00.039) 0:00:51.169 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:45:26 +0000 (0:00:00.026) 0:00:51.196 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:45:26 +0000 (0:00:00.022) 0:00:51.218 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:45:26 +0000 (0:00:00.022) 0:00:51.241 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:45:26 +0000 (0:00:00.680) 0:00:51.921 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:45:27 +0000 (0:00:00.923) 0:00:52.845 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:45:27 +0000 (0:00:00.023) 0:00:52.868 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:45:27 +0000 (0:00:00.050) 0:00:52.918 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:45:27 +0000 (0:00:00.021) 0:00:52.940 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:45:27 +0000 (0:00:00.044) 0:00:52.984 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:45:27 +0000 (0:00:00.032) 0:00:53.017 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:45:27 +0000 (0:00:00.034) 0:00:53.051 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:45:28 +0000 (0:00:00.042) 0:00:53.093 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:45:28 +0000 (0:00:00.022) 0:00:53.116 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:45:28 +0000 (0:00:00.022) 0:00:53.139 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:45:28 +0000 (0:00:00.235) 0:00:53.374 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17000apt9un_5/tmpbac_wk4y" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:45:28 +0000 (0:00:00.263) 0:00:53.638 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:45:29 +0000 (0:00:00.473) 0:00:54.112 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:45:29 +0000 (0:00:00.021) 0:00:54.133 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:45:29 +0000 (0:00:00.022) 0:00:54.156 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:45:29 +0000 (0:00:00.025) 0:00:54.181 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:45:29 +0000 (0:00:00.021) 0:00:54.203 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 23 January 2024 19:45:29 +0000 (0:00:00.146) 0:00:54.350 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:45:29 +0000 (0:00:00.039) 0:00:54.390 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:45:29 +0000 (0:00:00.048) 0:00:54.438 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:45:29 +0000 (0:00:00.026) 0:00:54.465 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:45:29 +0000 (0:00:00.021) 0:00:54.486 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:45:29 +0000 (0:00:00.020) 0:00:54.507 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:45:30 +0000 (0:00:00.680) 0:00:55.188 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:45:31 +0000 (0:00:00.933) 0:00:56.122 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:45:31 +0000 (0:00:00.023) 0:00:56.145 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:45:31 +0000 (0:00:00.021) 0:00:56.166 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:45:31 +0000 (0:00:00.021) 0:00:56.188 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:45:31 +0000 (0:00:00.044) 0:00:56.233 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:45:31 +0000 (0:00:00.021) 0:00:56.255 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:45:31 +0000 (0:00:00.024) 0:00:56.280 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:45:31 +0000 (0:00:00.055) 0:00:56.335 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:45:31 +0000 (0:00:00.022) 0:00:56.358 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:45:31 +0000 (0:00:00.025) 0:00:56.383 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:45:31 +0000 (0:00:00.226) 0:00:56.609 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17000apt9un_5/tmpnl3h_738" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:45:31 +0000 (0:00:00.227) 0:00:56.837 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:45:32 +0000 (0:00:00.247) 0:00:57.085 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:45:32 +0000 (0:00:00.022) 0:00:57.107 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:45:32 +0000 (0:00:00.022) 0:00:57.129 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:45:32 +0000 (0:00:00.048) 0:00:57.178 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:45:32 +0000 (0:00:00.023) 0:00:57.201 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:30 Tuesday 23 January 2024 19:45:32 +0000 (0:00:00.132) 0:00:57.333 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 23 January 2024 19:45:32 +0000 (0:00:00.039) 0:00:57.373 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 23 January 2024 19:45:32 +0000 (0:00:00.036) 0:00:57.409 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 23 January 2024 19:45:32 +0000 (0:00:00.039) 0:00:57.448 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 23 January 2024 19:45:32 +0000 (0:00:00.027) 0:00:57.476 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 23 January 2024 19:45:32 +0000 (0:00:00.021) 0:00:57.498 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 23 January 2024 19:45:32 +0000 (0:00:00.022) 0:00:57.520 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 23 January 2024 19:45:33 +0000 (0:00:00.691) 0:00:58.211 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 23 January 2024 19:45:34 +0000 (0:00:00.968) 0:00:59.180 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 23 January 2024 19:45:34 +0000 (0:00:00.023) 0:00:59.203 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 23 January 2024 19:45:34 +0000 (0:00:00.023) 0:00:59.227 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 23 January 2024 19:45:34 +0000 (0:00:00.022) 0:00:59.249 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 23 January 2024 19:45:34 +0000 (0:00:00.042) 0:00:59.291 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 23 January 2024 19:45:34 +0000 (0:00:00.021) 0:00:59.313 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 23 January 2024 19:45:34 +0000 (0:00:00.021) 0:00:59.335 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 23 January 2024 19:45:34 +0000 (0:00:00.033) 0:00:59.369 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 23 January 2024 19:45:34 +0000 (0:00:00.027) 0:00:59.397 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 23 January 2024 19:45:34 +0000 (0:00:00.021) 0:00:59.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 23 January 2024 19:45:34 +0000 (0:00:00.246) 0:00:59.665 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-17000apt9un_5/tmp8e3ql3fg" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 23 January 2024 19:45:34 +0000 (0:00:00.238) 0:00:59.903 ******* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 23 January 2024 19:45:35 +0000 (0:00:00.251) 0:01:00.154 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 23 January 2024 19:45:35 +0000 (0:00:00.021) 0:01:00.176 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 23 January 2024 19:45:35 +0000 (0:00:00.022) 0:01:00.198 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 23 January 2024 19:45:35 +0000 (0:00:00.021) 0:01:00.220 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 23 January 2024 19:45:35 +0000 (0:00:00.021) 0:01:00.241 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:36 Tuesday 23 January 2024 19:45:35 +0000 (0:00:00.136) 0:01:00.378 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 23 January 2024 19:45:35 +0000 (0:00:00.045) 0:01:00.424 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 23 January 2024 19:45:35 +0000 (0:00:00.040) 0:01:00.464 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 23 January 2024 19:45:35 +0000 (0:00:00.022) 0:01:00.486 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 23 January 2024 19:45:35 +0000 (0:00:00.133) 0:01:00.620 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 23 January 2024 19:45:35 +0000 (0:00:00.020) 0:01:00.641 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022880", "end": "2024-01-23 19:45:35.707336", "rc": 1, "start": "2024-01-23 19:45:35.684456" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 23 January 2024 19:45:35 +0000 (0:00:00.155) 0:01:00.796 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 23 January 2024 19:45:35 +0000 (0:00:00.023) 0:01:00.820 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 23 January 2024 19:45:35 +0000 (0:00:00.026) 0:01:00.846 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 23 January 2024 19:45:35 +0000 (0:00:00.073) 0:01:00.920 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 23 January 2024 19:45:35 +0000 (0:00:00.023) 0:01:00.943 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 23 January 2024 19:45:35 +0000 (0:00:00.022) 0:01:00.966 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 23 January 2024 19:45:35 +0000 (0:00:00.023) 0:01:00.990 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.673513", "end": "2024-01-23 19:45:41.749387", "rc": 0, "start": "2024-01-23 19:45:41.075874" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 23 January 2024 19:45:41 +0000 (0:00:05.850) 0:01:06.840 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 23 January 2024 19:45:41 +0000 (0:00:00.023) 0:01:06.863 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:42 Tuesday 23 January 2024 19:45:41 +0000 (0:00:00.049) 0:01:06.913 ******* skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:47 Tuesday 23 January 2024 19:45:41 +0000 (0:00:00.026) 0:01:06.939 ******* ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/run_test.yml:66 Tuesday 23 January 2024 19:45:41 +0000 (0:00:00.023) 0:01:06.963 ******* included: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 23 January 2024 19:45:41 +0000 (0:00:00.041) 0:01:07.004 ******* 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.050525", "end": "2024-01-23 19:45:42.106945", "rc": 0, "start": "2024-01-23 19:45:42.056420" } 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 Tuesday 23 January 2024 19:45:42 +0000 (0:00:00.180) 0:01:07.184 ******* =============================================================================== Get NetworkManager RPM version ------------------------------------------ 5.85s /WORKDIR/git-ci_fixny490rq5/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 linux-system-roles.network : Install packages --------------------------- 2.46s /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 1.87s /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable network service --------------------- 1.27s /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Configure networking connection profiles --- 1.27s /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.18s /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which packages are installed --------- 1.07s /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.05s /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:113 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.97s /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable network service --------------------- 0.97s /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/main.yml:105 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-ci_fixny490rq5/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-ci_fixny490rq5/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. ---^---^---^---^---^---