# 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_nm.yml ************************************************** 2 plays in /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tests_states_nm.yml:6 Friday 09 February 2024 16:08:31 +0000 (0:00:00.013) 0:00:00.013 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tests_states_nm.yml:9 Friday 09 February 2024 16:08:31 +0000 (0:00:00.502) 0:00:00.515 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/el_repo_setup.yml for sut TASK [Verify DNS and ping still work before el repo setup] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/el_repo_setup.yml:3 Friday 09 February 2024 16:08:32 +0000 (0:00:00.025) 0:00:00.541 ******* ok: [sut] => { "changed": false, "cmd": "set -euxo pipefail\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n exit 1\n fi\n if ! ping -c5 \"$host\"; then\n exit 1\n fi\ndone\n", "delta": "0:00:08.056069", "end": "2024-02-09 16:08:40.249605", "rc": 0, "start": "2024-02-09 16:08:32.193536" } STDOUT: 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (38.145.60.20) 56(84) bytes of data. 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=1 ttl=49 time=1.95 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=2 ttl=49 time=1.28 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=3 ttl=49 time=1.25 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=4 ttl=49 time=1.30 ms 64 bytes from proxy-iad01.fedoraproject.org (38.145.60.20): icmp_seq=5 ttl=49 time=1.43 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 1.255/1.448/1.958/0.262 ms 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (152.19.134.142) 56(84) bytes of data. 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=1 ttl=46 time=19.4 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=2 ttl=46 time=18.8 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=3 ttl=46 time=18.8 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=4 ttl=46 time=18.8 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=5 ttl=46 time=18.8 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4007ms rtt min/avg/max/mdev = 18.855/18.980/19.447/0.291 ms STDERR: + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.fedoraproject.org + ping -c5 mirrors.fedoraproject.org + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.centos.org + ping -c5 mirrors.centos.org TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/el_repo_setup.yml:17 Friday 09 February 2024 16:08:40 +0000 (0:00:08.262) 0:00:08.803 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/el_repo_setup.yml:33 Friday 09 February 2024 16:08:40 +0000 (0:00:00.230) 0:00:09.034 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/el_repo_setup.yml:38 Friday 09 February 2024 16:08:40 +0000 (0:00:00.213) 0:00:09.247 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/el_repo_setup.yml:42 Friday 09 February 2024 16:08:40 +0000 (0:00:00.021) 0:00:09.269 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/el_repo_setup.yml:67 Friday 09 February 2024 16:08:40 +0000 (0:00:00.019) 0:00:09.289 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/enable_epel.yml:8 Friday 09 February 2024 16:08:40 +0000 (0:00:00.034) 0:00:09.323 ******* 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-bond_options_rewritefl_0qcs1/tests/tasks/enable_epel.yml:24 Friday 09 February 2024 16:08:40 +0000 (0:00:00.144) 0:00:09.467 ******* 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-bond_options_rewritefl_0qcs1/tests/tasks/enable_epel.yml:30 Friday 09 February 2024 16:08:41 +0000 (0:00:00.455) 0:00:09.923 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.172776", "end": "2024-02-09 16:08:41.666813", "rc": 0, "start": "2024-02-09 16:08:41.494037" } 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-bond_options_rewritefl_0qcs1/tests/tasks/enable_epel.yml:35 Friday 09 February 2024 16:08:41 +0000 (0:00:00.300) 0:00:10.224 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/enable_epel.yml:40 Friday 09 February 2024 16:08:41 +0000 (0:00:00.014) 0:00:10.238 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify DNS and ping still work after el repo setup] ********************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/el_repo_setup.yml:71 Friday 09 February 2024 16:08:41 +0000 (0:00:00.011) 0:00:10.250 ******* ok: [sut] => { "changed": false, "cmd": "set -euxo pipefail\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n exit 1\n fi\n if ! ping -c5 \"$host\"; then\n exit 1\n fi\ndone\n", "delta": "0:00:08.066716", "end": "2024-02-09 16:08:49.886873", "rc": 0, "start": "2024-02-09 16:08:41.820157" } STDOUT: 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (8.43.85.73) 56(84) bytes of data. 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=1 ttl=47 time=11.3 ms 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=2 ttl=47 time=10.7 ms 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=3 ttl=47 time=10.7 ms 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=4 ttl=47 time=10.8 ms 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=5 ttl=47 time=16.1 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4007ms rtt min/avg/max/mdev = 10.771/11.960/16.119/2.094 ms 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (8.43.85.73) 56(84) bytes of data. 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=1 ttl=47 time=16.7 ms 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=2 ttl=47 time=10.7 ms 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=3 ttl=47 time=10.5 ms 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=4 ttl=47 time=10.4 ms 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=5 ttl=47 time=10.4 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 10.411/11.776/16.784/2.509 ms STDERR: + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.fedoraproject.org + ping -c5 mirrors.fedoraproject.org + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.centos.org + ping -c5 mirrors.centos.org TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tests_states_nm.yml:11 Friday 09 February 2024 16:08:49 +0000 (0:00:08.184) 0:00:18.435 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_states.yml:3 Friday 09 February 2024 16:08:49 +0000 (0:00:00.011) 0:00:18.446 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_states.yml:11 Friday 09 February 2024 16:08:50 +0000 (0:00:00.377) 0:00:18.824 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_states.yml:22 Friday 09 February 2024 16:08:50 +0000 (0:00:00.016) 0:00:18.840 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 16:08:50 +0000 (0:00:00.016) 0:00:18.856 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 16:08:50 +0000 (0:00:00.012) 0:00:18.869 ******* 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": true, "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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 16:08:50 +0000 (0:00:00.033) 0:00:18.902 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:08:50 +0000 (0:00:00.015) 0:00:18.918 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:08:50 +0000 (0:00:00.014) 0:00:18.932 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003214", "end": "2024-02-09 16:08:50.505760", "rc": 0, "start": "2024-02-09 16:08:50.502546" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:08:50 +0000 (0:00:00.120) 0:00:19.053 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:08:50 +0000 (0:00:00.012) 0:00:19.066 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 16:08:50 +0000 (0:00:00.011) 0:00:19.077 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/delete_interface.yml:3 Friday 09 February 2024 16:08:50 +0000 (0:00:00.021) 0:00:19.098 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010555", "end": "2024-02-09 16:08:50.678156", "rc": 1, "start": "2024-02-09 16:08:50.667601" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 16:08:50 +0000 (0:00:00.125) 0:00:19.224 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 16:08:50 +0000 (0:00:00.017) 0:00:19.241 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 16:08:50 +0000 (0:00:00.117) 0:00:19.359 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 16:08:50 +0000 (0:00:00.013) 0:00:19.372 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 16:08:50 +0000 (0:00:00.021) 0:00:19.393 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 16:08:50 +0000 (0:00:00.034) 0:00:19.428 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 16:08:50 +0000 (0:00:00.077) 0:00:19.506 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 16:08:50 +0000 (0:00:00.016) 0:00:19.522 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 16:08:50 +0000 (0:00:00.011) 0:00:19.534 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 16:08:51 +0000 (0:00:00.012) 0:00:19.546 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 16:08:51 +0000 (0:00:00.753) 0:00:20.300 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:08:52 +0000 (0:00:01.035) 0:00:21.335 ******* ok: [sut] => {} MSG: Using network provider: nm 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:08:52 +0000 (0:00:00.024) 0:00:21.359 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:08:52 +0000 (0:00:00.026) 0:00:21.386 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 16:08:52 +0000 (0:00:00.033) 0:00:21.420 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:08:52 +0000 (0:00:00.048) 0:00:21.468 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:08:52 +0000 (0:00:00.027) 0:00:21.495 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:08:52 +0000 (0:00:00.026) 0:00:21.522 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 16:08:53 +0000 (0:00:00.043) 0:00:21.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:08:53 +0000 (0:00:00.428) 0:00:21.994 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 16:08:53 +0000 (0:00:00.030) 0:00:22.025 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:08:53 +0000 (0:00:00.023) 0:00:22.048 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:08:53 +0000 (0:00:00.050) 0:00:22.099 ******* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f3b703de-02d3-4d02-8214-bf54090cddc1 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:08:54 +0000 (0:00:00.477) 0:00:22.577 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:08:54 +0000 (0:00:00.027) 0:00:22.605 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f3b703de-02d3-4d02-8214-bf54090cddc1" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:08:54 +0000 (0:00:00.025) 0:00:22.630 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f3b703de-02d3-4d02-8214-bf54090cddc1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f3b703de-02d3-4d02-8214-bf54090cddc1" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:08:54 +0000 (0:00:00.023) 0:00:22.653 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 16:08:54 +0000 (0:00:00.022) 0:00:22.676 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 16:08:54 +0000 (0:00:00.233) 0:00:22.909 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f3b703de-02d3-4d02-8214-bf54090cddc1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f3b703de-02d3-4d02-8214-bf54090cddc1" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 16:08:54 +0000 (0:00:00.029) 0:00:22.939 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 16:08:54 +0000 (0:00:00.043) 0:00:22.982 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 16:08:54 +0000 (0:00:00.038) 0:00:23.021 ******* 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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 16:08:54 +0000 (0:00:00.051) 0:00:23.072 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707494933.9571185, "block_size": 4096, "blocks": 8, "ctime": 1707494933.9561186, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25433, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707494933.9561186, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 16:08:54 +0000 (0:00:00.133) 0:00:23.205 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 16:08:54 +0000 (0:00:00.023) 0:00:23.228 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024769", "end": "2024-02-09 16:08:54.824425", "rc": 0, "start": "2024-02-09 16:08:54.799656" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 16:08:54 +0000 (0:00:00.154) 0:00:23.383 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 16:08:54 +0000 (0:00:00.025) 0:00:23.409 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 16:08:54 +0000 (0:00:00.025) 0:00:23.435 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 16:08:54 +0000 (0:00:00.024) 0:00:23.460 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 16:08:54 +0000 (0:00:00.024) 0:00:23.484 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 16:08:54 +0000 (0:00:00.025) 0:00:23.509 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 16:08:54 +0000 (0:00:00.025) 0:00:23.535 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 16:08:55 +0000 (0:00:00.024) 0:00:23.559 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 16:08:55 +0000 (0:00:00.023) 0:00:23.583 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 16:08:55 +0000 (0:00:00.042) 0:00:23.626 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 16:08:55 +0000 (0:00:00.039) 0:00:23.666 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707494933.9631183, "block_size": 4096, "blocks": 0, "ctime": 1707494933.9591184, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17666, "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": 1707494933.9591184, "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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 16:08:55 +0000 (0:00:00.145) 0:00:23.811 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 16:08:55 +0000 (0:00:00.055) 0:00:23.866 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 16:08:55 +0000 (0:00:00.027) 0:00:23.893 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 16:08:55 +0000 (0:00:00.045) 0:00:23.939 ******* 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.075545", "end": "2024-02-09 16:08:55.591282", "rc": 1, "start": "2024-02-09 16:08:55.515737" } STDOUT: Connection 'statebr' (f3b703de-02d3-4d02-8214-bf54090cddc1) successfully deleted. STDERR: (process:29926): GLib-GIO-WARNING **: 16:08:55.570: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/39 but no object proxy exists (process:29926): GLib-GIO-WARNING **: 16:08:55.570: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/79 but no object proxy exists (process:29926): GLib-GIO-WARNING **: 16:08:55.571: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/48 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_states.yml:45 Friday 09 February 2024 16:08:55 +0000 (0:00:00.209) 0:00:24.149 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 16:08:55 +0000 (0:00:00.038) 0:00:24.188 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 16:08:55 +0000 (0:00:00.022) 0:00:24.210 ******* 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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 16:08:55 +0000 (0:00:00.045) 0:00:24.256 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:08:55 +0000 (0:00:00.035) 0:00:24.291 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:08:55 +0000 (0:00:00.034) 0:00:24.325 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003452", "end": "2024-02-09 16:08:55.900391", "rc": 0, "start": "2024-02-09 16:08:55.896939" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:08:55 +0000 (0:00:00.132) 0:00:24.458 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:08:55 +0000 (0:00:00.024) 0:00:24.482 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 16:08:55 +0000 (0:00:00.022) 0:00:24.505 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/delete_interface.yml:3 Friday 09 February 2024 16:08:56 +0000 (0:00:00.078) 0:00:24.583 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006973", "end": "2024-02-09 16:08:56.162974", "rc": 1, "start": "2024-02-09 16:08:56.156001" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 16:08:56 +0000 (0:00:00.136) 0:00:24.720 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 16:08:56 +0000 (0:00:00.038) 0:00:24.759 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 16:08:56 +0000 (0:00:00.149) 0:00:24.908 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 16:08:56 +0000 (0:00:00.027) 0:00:24.936 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 09 February 2024 16:08:56 +0000 (0:00:00.042) 0:00:24.979 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 16:08:56 +0000 (0:00:00.042) 0:00:25.021 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 16:08:56 +0000 (0:00:00.039) 0:00:25.061 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 16:08:56 +0000 (0:00:00.027) 0:00:25.089 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 16:08:56 +0000 (0:00:00.022) 0:00:25.111 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 16:08:56 +0000 (0:00:00.022) 0:00:25.133 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 16:08:57 +0000 (0:00:00.732) 0:00:25.866 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:08:58 +0000 (0:00:00.949) 0:00:26.816 ******* ok: [sut] => {} MSG: Using network provider: nm 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:08:58 +0000 (0:00:00.029) 0:00:26.846 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:08:58 +0000 (0:00:00.027) 0:00:26.874 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 16:08:58 +0000 (0:00:00.038) 0:00:26.912 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:08:58 +0000 (0:00:00.058) 0:00:26.970 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:08:58 +0000 (0:00:00.037) 0:00:27.008 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:08:58 +0000 (0:00:00.026) 0:00:27.034 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 16:08:58 +0000 (0:00:00.031) 0:00:27.066 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:08:58 +0000 (0:00:00.224) 0:00:27.291 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 16:08:58 +0000 (0:00:00.026) 0:00:27.318 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:08:58 +0000 (0:00:00.061) 0:00:27.379 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:08:58 +0000 (0:00:00.022) 0:00:27.401 ******* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cbabbf66-f39e-4a94-adc7-94f626b9f0f6 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:08:59 +0000 (0:00:00.286) 0:00:27.688 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:08:59 +0000 (0:00:00.023) 0:00:27.711 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cbabbf66-f39e-4a94-adc7-94f626b9f0f6" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:08:59 +0000 (0:00:00.034) 0:00:27.745 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cbabbf66-f39e-4a94-adc7-94f626b9f0f6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cbabbf66-f39e-4a94-adc7-94f626b9f0f6" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:08:59 +0000 (0:00:00.025) 0:00:27.771 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 16:08:59 +0000 (0:00:00.024) 0:00:27.795 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 09 February 2024 16:08:59 +0000 (0:00:00.150) 0:00:27.945 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cbabbf66-f39e-4a94-adc7-94f626b9f0f6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cbabbf66-f39e-4a94-adc7-94f626b9f0f6" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 16:08:59 +0000 (0:00:00.041) 0:00:27.987 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 16:08:59 +0000 (0:00:00.049) 0:00:28.036 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 16:08:59 +0000 (0:00:00.036) 0:00:28.072 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 16:08:59 +0000 (0:00:00.130) 0:00:28.203 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 16:08:59 +0000 (0:00:00.023) 0:00:28.227 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 16:08:59 +0000 (0:00:00.038) 0:00:28.265 ******* 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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 16:08:59 +0000 (0:00:00.050) 0:00:28.316 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707494939.1129653, "block_size": 4096, "blocks": 8, "ctime": 1707494939.1129653, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25435, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707494939.1129653, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 145, "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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 16:08:59 +0000 (0:00:00.132) 0:00:28.448 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 16:08:59 +0000 (0:00:00.025) 0:00:28.474 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021321", "end": "2024-02-09 16:09:00.067987", "rc": 0, "start": "2024-02-09 16:09:00.046666" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 16:09:00 +0000 (0:00:00.151) 0:00:28.626 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 16:09:00 +0000 (0:00:00.025) 0:00:28.651 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 16:09:00 +0000 (0:00:00.025) 0:00:28.677 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 16:09:00 +0000 (0:00:00.024) 0:00:28.701 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 16:09:00 +0000 (0:00:00.024) 0:00:28.726 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 16:09:00 +0000 (0:00:00.023) 0:00:28.749 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 16:09:00 +0000 (0:00:00.025) 0:00:28.775 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 16:09:00 +0000 (0:00:00.025) 0:00:28.800 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 16:09:00 +0000 (0:00:00.022) 0:00:28.823 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 16:09:00 +0000 (0:00:00.021) 0:00:28.844 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 16:09:00 +0000 (0:00:00.022) 0:00:28.867 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 16:09:00 +0000 (0:00:00.042) 0:00:28.910 ******* 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.046951", "end": "2024-02-09 16:09:00.527926", "rc": 1, "start": "2024-02-09 16:09:00.480975" } STDOUT: Connection 'statebr' (cbabbf66-f39e-4a94-adc7-94f626b9f0f6) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_states.yml:65 Friday 09 February 2024 16:09:00 +0000 (0:00:00.176) 0:00:29.086 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 16:09:00 +0000 (0:00:00.070) 0:00:29.156 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 16:09:00 +0000 (0:00:00.026) 0:00:29.183 ******* 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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 16:09:00 +0000 (0:00:00.048) 0:00:29.232 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:09:00 +0000 (0:00:00.038) 0:00:29.270 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:09:00 +0000 (0:00:00.035) 0:00:29.305 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003236", "end": "2024-02-09 16:09:00.880090", "rc": 0, "start": "2024-02-09 16:09:00.876854" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:09:00 +0000 (0:00:00.131) 0:00:29.437 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:09:00 +0000 (0:00:00.024) 0:00:29.462 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 16:09:00 +0000 (0:00:00.022) 0:00:29.484 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 16:09:00 +0000 (0:00:00.039) 0:00:29.523 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 16:09:01 +0000 (0:00:00.036) 0:00:29.560 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 16:09:01 +0000 (0:00:00.040) 0:00:29.601 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 16:09:01 +0000 (0:00:00.060) 0:00:29.662 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 16:09:01 +0000 (0:00:00.022) 0:00:29.684 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 16:09:01 +0000 (0:00:00.023) 0:00:29.707 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 16:09:01 +0000 (0:00:00.681) 0:00:30.389 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:09:02 +0000 (0:00:00.906) 0:00:31.296 ******* ok: [sut] => {} MSG: Using network provider: nm 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:02 +0000 (0:00:00.025) 0:00:31.322 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:09:02 +0000 (0:00:00.023) 0:00:31.345 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 16:09:02 +0000 (0:00:00.022) 0:00:31.367 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:09:02 +0000 (0:00:00.044) 0:00:31.412 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:09:02 +0000 (0:00:00.050) 0:00:31.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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:09:02 +0000 (0:00:00.022) 0:00:31.484 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 16:09:02 +0000 (0:00:00.026) 0:00:31.511 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:09:03 +0000 (0:00:00.222) 0:00:31.733 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 16:09:03 +0000 (0:00:00.027) 0:00:31.761 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:09:03 +0000 (0:00:00.022) 0:00:31.784 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:09:03 +0000 (0:00:00.025) 0:00:31.809 ******* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 61c81631-88df-4140-9a40-37f4f02ee22b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:03 +0000 (0:00:00.317) 0:00:32.127 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:09:03 +0000 (0:00:00.022) 0:00:32.149 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 61c81631-88df-4140-9a40-37f4f02ee22b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:03 +0000 (0:00:00.024) 0:00:32.174 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 61c81631-88df-4140-9a40-37f4f02ee22b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 61c81631-88df-4140-9a40-37f4f02ee22b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:03 +0000 (0:00:00.024) 0:00:32.198 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 16:09:03 +0000 (0:00:00.021) 0:00:32.220 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 16:09:03 +0000 (0:00:00.125) 0:00:32.345 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 61c81631-88df-4140-9a40-37f4f02ee22b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 61c81631-88df-4140-9a40-37f4f02ee22b" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 16:09:03 +0000 (0:00:00.023) 0:00:32.368 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 16:09:03 +0000 (0:00:00.038) 0:00:32.407 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 16:09:03 +0000 (0:00:00.068) 0:00:32.475 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 16:09:03 +0000 (0:00:00.042) 0:00:32.518 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 16:09:04 +0000 (0:00:00.028) 0:00:32.546 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 16:09:04 +0000 (0:00:00.023) 0:00:32.570 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 16:09:04 +0000 (0:00:00.023) 0:00:32.593 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 16:09:04 +0000 (0:00:00.682) 0:00:33.275 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:09:05 +0000 (0:00:00.906) 0:00:34.182 ******* ok: [sut] => {} MSG: Using network provider: nm 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:05 +0000 (0:00:00.051) 0:00:34.233 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:09:05 +0000 (0:00:00.022) 0:00:34.255 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 16:09:05 +0000 (0:00:00.022) 0:00:34.278 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:09:05 +0000 (0:00:00.052) 0:00:34.331 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:09:05 +0000 (0:00:00.022) 0:00:34.353 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:09:05 +0000 (0:00:00.022) 0:00:34.376 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 16:09:05 +0000 (0:00:00.026) 0:00:34.402 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:09:06 +0000 (0:00:00.231) 0:00:34.633 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 16:09:06 +0000 (0:00:00.029) 0:00:34.663 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:09:06 +0000 (0:00:00.038) 0:00:34.702 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:09:06 +0000 (0:00:00.023) 0:00:34.726 ******* ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 61c81631-88df-4140-9a40-37f4f02ee22b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:06 +0000 (0:00:00.275) 0:00:35.001 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:09:06 +0000 (0:00:00.022) 0:00:35.024 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 61c81631-88df-4140-9a40-37f4f02ee22b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:06 +0000 (0:00:00.025) 0:00:35.049 ******* 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 61c81631-88df-4140-9a40-37f4f02ee22b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 61c81631-88df-4140-9a40-37f4f02ee22b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:06 +0000 (0:00:00.023) 0:00:35.072 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 16:09:06 +0000 (0:00:00.022) 0:00:35.095 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 16:09:06 +0000 (0:00:00.172) 0:00:35.267 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 16:09:06 +0000 (0:00:00.053) 0:00:35.321 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 16:09:06 +0000 (0:00:00.039) 0:00:35.361 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707494943.525834, "block_size": 4096, "blocks": 0, "ctime": 1707494943.5218344, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17666, "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": 1707494943.5218344, "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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 16:09:06 +0000 (0:00:00.140) 0:00:35.501 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 09 February 2024 16:09:06 +0000 (0:00:00.025) 0:00:35.527 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 16:09:07 +0000 (0:00:00.045) 0:00:35.573 ******* 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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 16:09:07 +0000 (0:00:00.022) 0:00:35.596 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707494943.5208342, "block_size": 4096, "blocks": 8, "ctime": 1707494943.5198343, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25435, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707494943.5198343, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 16:09:07 +0000 (0:00:00.136) 0:00:35.732 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 16:09:07 +0000 (0:00:00.024) 0:00:35.757 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021564", "end": "2024-02-09 16:09:07.351265", "rc": 0, "start": "2024-02-09 16:09:07.329701" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 16:09:07 +0000 (0:00:00.156) 0:00:35.914 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 16:09:07 +0000 (0:00:00.024) 0:00:35.938 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 16:09:07 +0000 (0:00:00.027) 0:00:35.966 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 16:09:07 +0000 (0:00:00.024) 0:00:35.991 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 16:09:07 +0000 (0:00:00.025) 0:00:36.016 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 16:09:07 +0000 (0:00:00.028) 0:00:36.045 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 16:09:07 +0000 (0:00:00.063) 0:00:36.108 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 16:09:07 +0000 (0:00:00.026) 0:00:36.135 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 16:09:07 +0000 (0:00:00.024) 0:00:36.159 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 16:09:07 +0000 (0:00:00.022) 0:00:36.182 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 16:09:07 +0000 (0:00:00.023) 0:00:36.205 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 16:09:07 +0000 (0:00:00.043) 0:00:36.248 ******* 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.077339", "end": "2024-02-09 16:09:07.897211", "rc": 1, "start": "2024-02-09 16:09:07.819872" } STDOUT: Connection 'statebr' (61c81631-88df-4140-9a40-37f4f02ee22b) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_states.yml:83 Friday 09 February 2024 16:09:07 +0000 (0:00:00.208) 0:00:36.457 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 16:09:07 +0000 (0:00:00.040) 0:00:36.498 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 16:09:07 +0000 (0:00:00.032) 0:00:36.530 ******* 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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 16:09:08 +0000 (0:00:00.051) 0:00:36.581 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:09:08 +0000 (0:00:00.039) 0:00:36.620 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:09:08 +0000 (0:00:00.034) 0:00:36.655 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003636", "end": "2024-02-09 16:09:08.229821", "rc": 0, "start": "2024-02-09 16:09:08.226185" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:09:08 +0000 (0:00:00.132) 0:00:36.787 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:09:08 +0000 (0:00:00.064) 0:00:36.852 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 16:09:08 +0000 (0:00:00.026) 0:00:36.878 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 16:09:08 +0000 (0:00:00.046) 0:00:36.925 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 16:09:08 +0000 (0:00:00.037) 0:00:36.962 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 16:09:08 +0000 (0:00:00.046) 0:00:37.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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 16:09:08 +0000 (0:00:00.038) 0:00:37.047 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 16:09:08 +0000 (0:00:00.026) 0:00:37.074 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 16:09:08 +0000 (0:00:00.028) 0:00:37.103 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 16:09:09 +0000 (0:00:00.685) 0:00:37.788 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:09:10 +0000 (0:00:00.957) 0:00:38.746 ******* ok: [sut] => {} MSG: Using network provider: nm 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:10 +0000 (0:00:00.024) 0:00:38.771 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:09:10 +0000 (0:00:00.023) 0:00:38.795 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 16:09:10 +0000 (0:00:00.022) 0:00:38.818 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:09:10 +0000 (0:00:00.069) 0:00:38.887 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:09:10 +0000 (0:00:00.024) 0:00:38.911 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:09:10 +0000 (0:00:00.022) 0:00:38.934 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 16:09:10 +0000 (0:00:00.027) 0:00:38.962 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:09:10 +0000 (0:00:00.225) 0:00:39.188 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 16:09:10 +0000 (0:00:00.033) 0:00:39.221 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:09:10 +0000 (0:00:00.022) 0:00:39.244 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:09:10 +0000 (0:00:00.023) 0:00:39.267 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b7c2fe2c-92e4-46dc-9906-fc7d98f69411 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:11 +0000 (0:00:00.330) 0:00:39.597 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:09:11 +0000 (0:00:00.068) 0:00:39.665 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b7c2fe2c-92e4-46dc-9906-fc7d98f69411" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:11 +0000 (0:00:00.025) 0:00:39.691 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b7c2fe2c-92e4-46dc-9906-fc7d98f69411\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b7c2fe2c-92e4-46dc-9906-fc7d98f69411" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:11 +0000 (0:00:00.038) 0:00:39.729 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 16:09:11 +0000 (0:00:00.022) 0:00:39.752 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 16:09:11 +0000 (0:00:00.129) 0:00:39.882 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b7c2fe2c-92e4-46dc-9906-fc7d98f69411\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b7c2fe2c-92e4-46dc-9906-fc7d98f69411" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 16:09:11 +0000 (0:00:00.025) 0:00:39.907 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 16:09:11 +0000 (0:00:00.037) 0:00:39.944 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 16:09:11 +0000 (0:00:00.041) 0:00:39.985 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 16:09:11 +0000 (0:00:00.028) 0:00:40.014 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 16:09:11 +0000 (0:00:00.029) 0:00:40.043 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 16:09:11 +0000 (0:00:00.023) 0:00:40.066 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 16:09:12 +0000 (0:00:00.684) 0:00:40.751 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:09:13 +0000 (0:00:00.948) 0:00:41.700 ******* ok: [sut] => {} MSG: Using network provider: nm 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:13 +0000 (0:00:00.049) 0:00:41.750 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:09:13 +0000 (0:00:00.032) 0:00:41.782 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 16:09:13 +0000 (0:00:00.025) 0:00:41.807 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:09:13 +0000 (0:00:00.063) 0:00:41.871 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:09:13 +0000 (0:00:00.028) 0:00:41.900 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:09:13 +0000 (0:00:00.031) 0:00:41.931 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 16:09:13 +0000 (0:00:00.038) 0:00:41.969 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:09:13 +0000 (0:00:00.226) 0:00:42.196 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 16:09:13 +0000 (0:00:00.026) 0:00:42.222 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:09:13 +0000 (0:00:00.028) 0:00:42.251 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:09:13 +0000 (0:00:00.024) 0:00:42.276 ******* ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b7c2fe2c-92e4-46dc-9906-fc7d98f69411 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:14 +0000 (0:00:00.310) 0:00:42.586 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:09:14 +0000 (0:00:00.025) 0:00:42.611 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b7c2fe2c-92e4-46dc-9906-fc7d98f69411 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:14 +0000 (0:00:00.024) 0:00:42.636 ******* 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b7c2fe2c-92e4-46dc-9906-fc7d98f69411 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b7c2fe2c-92e4-46dc-9906-fc7d98f69411 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:14 +0000 (0:00:00.029) 0:00:42.666 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 16:09:14 +0000 (0:00:00.026) 0:00:42.692 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 16:09:14 +0000 (0:00:00.130) 0:00:42.822 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/remove_profile.yml:3 Friday 09 February 2024 16:09:14 +0000 (0:00:00.049) 0:00:42.872 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 16:09:14 +0000 (0:00:00.042) 0:00:42.915 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 16:09:14 +0000 (0:00:00.041) 0:00:42.956 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 16:09:14 +0000 (0:00:00.028) 0:00:42.985 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 16:09:14 +0000 (0:00:00.022) 0:00:43.008 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 16:09:14 +0000 (0:00:00.022) 0:00:43.031 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 16:09:15 +0000 (0:00:00.698) 0:00:43.729 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:09:16 +0000 (0:00:00.914) 0:00:44.643 ******* ok: [sut] => {} MSG: Using network provider: nm 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:16 +0000 (0:00:00.023) 0:00:44.667 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:09:16 +0000 (0:00:00.025) 0:00:44.692 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 16:09:16 +0000 (0:00:00.024) 0:00:44.717 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:09:16 +0000 (0:00:00.044) 0:00:44.761 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:09:16 +0000 (0:00:00.022) 0:00:44.784 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:09:16 +0000 (0:00:00.023) 0:00:44.808 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 16:09:16 +0000 (0:00:00.031) 0:00:44.840 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:09:16 +0000 (0:00:00.226) 0:00:45.066 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 16:09:16 +0000 (0:00:00.056) 0:00:45.123 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:09:16 +0000 (0:00:00.022) 0:00:45.145 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:09:16 +0000 (0:00:00.025) 0:00:45.170 ******* 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": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:16 +0000 (0:00:00.313) 0:00:45.484 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:09:16 +0000 (0:00:00.022) 0:00:45.506 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:16 +0000 (0:00:00.023) 0:00:45.530 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:17 +0000 (0:00:00.025) 0:00:45.556 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 16:09:17 +0000 (0:00:00.023) 0:00:45.579 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 16:09:17 +0000 (0:00:00.140) 0:00:45.720 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 16:09:17 +0000 (0:00:00.048) 0:00:45.768 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 16:09:17 +0000 (0:00:00.040) 0:00:45.808 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707494950.9866126, "block_size": 4096, "blocks": 0, "ctime": 1707494950.9826126, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17668, "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": 1707494950.9826126, "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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 16:09:17 +0000 (0:00:00.137) 0:00:45.946 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 February 2024 16:09:17 +0000 (0:00:00.024) 0:00:45.970 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 16:09:17 +0000 (0:00:00.038) 0:00:46.009 ******* 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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 16:09:17 +0000 (0:00:00.062) 0:00:46.072 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 16:09:17 +0000 (0:00:00.136) 0:00:46.208 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 16:09:17 +0000 (0:00:00.023) 0:00:46.232 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022091", "end": "2024-02-09 16:09:17.832101", "rc": 1, "start": "2024-02-09 16:09:17.810010" } 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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 16:09:17 +0000 (0:00:00.170) 0:00:46.402 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 16:09:17 +0000 (0:00:00.025) 0:00:46.428 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 16:09:17 +0000 (0:00:00.042) 0:00:46.471 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 16:09:17 +0000 (0:00:00.026) 0:00:46.497 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 16:09:17 +0000 (0:00:00.025) 0:00:46.523 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 February 2024 16:09:18 +0000 (0:00:00.028) 0:00:46.551 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 16:09:18 +0000 (0:00:00.042) 0:00:46.593 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 16:09:18 +0000 (0:00:00.024) 0:00:46.617 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 16:09:18 +0000 (0:00:00.034) 0:00:46.651 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 16:09:18 +0000 (0:00:00.042) 0:00:46.694 ******* 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.074693", "end": "2024-02-09 16:09:18.342081", "rc": 1, "start": "2024-02-09 16:09:18.267388" } STDOUT: Connection 'statebr' (b7c2fe2c-92e4-46dc-9906-fc7d98f69411) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_states.yml:103 Friday 09 February 2024 16:09:18 +0000 (0:00:00.209) 0:00:46.903 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 16:09:18 +0000 (0:00:00.074) 0:00:46.978 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 16:09:18 +0000 (0:00:00.023) 0:00:47.001 ******* 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": true, "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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 16:09:18 +0000 (0:00:00.045) 0:00:47.046 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:09:18 +0000 (0:00:00.035) 0:00:47.082 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:09:18 +0000 (0:00:00.035) 0:00:47.118 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004779", "end": "2024-02-09 16:09:18.701479", "rc": 0, "start": "2024-02-09 16:09:18.696700" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:09:18 +0000 (0:00:00.141) 0:00:47.260 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:09:18 +0000 (0:00:00.033) 0:00:47.294 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 16:09:18 +0000 (0:00:00.030) 0:00:47.324 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 16:09:18 +0000 (0:00:00.076) 0:00:47.401 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 16:09:18 +0000 (0:00:00.073) 0:00:47.474 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 16:09:18 +0000 (0:00:00.053) 0:00:47.527 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 16:09:19 +0000 (0:00:00.027) 0:00:47.555 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 16:09:19 +0000 (0:00:00.022) 0:00:47.577 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 16:09:19 +0000 (0:00:00.064) 0:00:47.642 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 16:09:19 +0000 (0:00:00.693) 0:00:48.336 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:09:20 +0000 (0:00:00.918) 0:00:49.255 ******* ok: [sut] => {} MSG: Using network provider: nm 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:20 +0000 (0:00:00.023) 0:00:49.279 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:09:20 +0000 (0:00:00.023) 0:00:49.302 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 16:09:20 +0000 (0:00:00.024) 0:00:49.326 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:09:20 +0000 (0:00:00.046) 0:00:49.373 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:09:20 +0000 (0:00:00.025) 0:00:49.398 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:09:20 +0000 (0:00:00.023) 0:00:49.421 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 16:09:20 +0000 (0:00:00.060) 0:00:49.481 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:09:21 +0000 (0:00:00.228) 0:00:49.709 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 16:09:21 +0000 (0:00:00.027) 0:00:49.737 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:09:21 +0000 (0:00:00.022) 0:00:49.760 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:09:21 +0000 (0:00:00.024) 0:00:49.784 ******* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce4d09b1-3b2b-4b12-acc1-e3dd45af5e40 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:21 +0000 (0:00:00.338) 0:00:50.123 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:09:21 +0000 (0:00:00.025) 0:00:50.148 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce4d09b1-3b2b-4b12-acc1-e3dd45af5e40" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:21 +0000 (0:00:00.027) 0:00:50.175 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce4d09b1-3b2b-4b12-acc1-e3dd45af5e40\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce4d09b1-3b2b-4b12-acc1-e3dd45af5e40" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:21 +0000 (0:00:00.024) 0:00:50.200 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 16:09:21 +0000 (0:00:00.021) 0:00:50.222 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 16:09:21 +0000 (0:00:00.130) 0:00:50.352 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce4d09b1-3b2b-4b12-acc1-e3dd45af5e40\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ce4d09b1-3b2b-4b12-acc1-e3dd45af5e40" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 16:09:21 +0000 (0:00:00.027) 0:00:50.380 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 16:09:21 +0000 (0:00:00.038) 0:00:50.418 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 16:09:21 +0000 (0:00:00.045) 0:00:50.464 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 16:09:21 +0000 (0:00:00.064) 0:00:50.529 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 16:09:22 +0000 (0:00:00.023) 0:00:50.552 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 16:09:22 +0000 (0:00:00.025) 0:00:50.577 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 16:09:22 +0000 (0:00:00.700) 0:00:51.277 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:09:23 +0000 (0:00:00.920) 0:00:52.198 ******* ok: [sut] => {} MSG: Using network provider: nm 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:23 +0000 (0:00:00.023) 0:00:52.221 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:09:23 +0000 (0:00:00.022) 0:00:52.244 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 16:09:23 +0000 (0:00:00.023) 0:00:52.267 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:09:23 +0000 (0:00:00.044) 0:00:52.312 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:09:23 +0000 (0:00:00.053) 0:00:52.366 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:09:23 +0000 (0:00:00.022) 0:00:52.389 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 16:09:23 +0000 (0:00:00.026) 0:00:52.415 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:09:24 +0000 (0:00:00.227) 0:00:52.643 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 16:09:24 +0000 (0:00:00.028) 0:00:52.671 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:09:24 +0000 (0:00:00.022) 0:00:52.693 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:09:24 +0000 (0:00:00.023) 0:00:52.717 ******* ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ce4d09b1-3b2b-4b12-acc1-e3dd45af5e40 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:24 +0000 (0:00:00.282) 0:00:52.999 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:09:24 +0000 (0:00:00.023) 0:00:53.022 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ce4d09b1-3b2b-4b12-acc1-e3dd45af5e40 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:24 +0000 (0:00:00.028) 0:00:53.051 ******* 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ce4d09b1-3b2b-4b12-acc1-e3dd45af5e40 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ce4d09b1-3b2b-4b12-acc1-e3dd45af5e40 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:24 +0000 (0:00:00.027) 0:00:53.078 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 16:09:24 +0000 (0:00:00.029) 0:00:53.108 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/remove_profile.yml:3 Friday 09 February 2024 16:09:24 +0000 (0:00:00.130) 0:00:53.238 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 16:09:24 +0000 (0:00:00.038) 0:00:53.276 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 16:09:24 +0000 (0:00:00.077) 0:00:53.354 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 16:09:24 +0000 (0:00:00.028) 0:00:53.382 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 16:09:24 +0000 (0:00:00.023) 0:00:53.406 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 16:09:24 +0000 (0:00:00.022) 0:00:53.429 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 16:09:25 +0000 (0:00:00.694) 0:00:54.124 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:09:26 +0000 (0:00:00.929) 0:00:55.053 ******* ok: [sut] => {} MSG: Using network provider: nm 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:26 +0000 (0:00:00.030) 0:00:55.084 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:09:26 +0000 (0:00:00.039) 0:00:55.123 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 16:09:26 +0000 (0:00:00.045) 0:00:55.169 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:09:26 +0000 (0:00:00.092) 0:00:55.261 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:09:26 +0000 (0:00:00.023) 0:00:55.285 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:09:26 +0000 (0:00:00.026) 0:00:55.312 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 16:09:26 +0000 (0:00:00.027) 0:00:55.339 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:09:27 +0000 (0:00:00.241) 0:00:55.581 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 16:09:27 +0000 (0:00:00.026) 0:00:55.607 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:09:27 +0000 (0:00:00.025) 0:00:55.633 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:09:27 +0000 (0:00:00.023) 0:00:55.656 ******* 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": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:27 +0000 (0:00:00.332) 0:00:55.989 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:09:27 +0000 (0:00:00.027) 0:00:56.017 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:27 +0000 (0:00:00.032) 0:00:56.049 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:27 +0000 (0:00:00.025) 0:00:56.075 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 16:09:27 +0000 (0:00:00.036) 0:00:56.112 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 16:09:27 +0000 (0:00:00.132) 0:00:56.244 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 09 February 2024 16:09:27 +0000 (0:00:00.042) 0:00:56.287 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 16:09:27 +0000 (0:00:00.090) 0:00:56.377 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 16:09:27 +0000 (0:00:00.044) 0:00:56.421 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 16:09:27 +0000 (0:00:00.028) 0:00:56.450 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 16:09:27 +0000 (0:00:00.023) 0:00:56.473 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 16:09:27 +0000 (0:00:00.025) 0:00:56.499 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 16:09:28 +0000 (0:00:00.672) 0:00:57.171 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:09:29 +0000 (0:00:00.905) 0:00:58.076 ******* ok: [sut] => {} MSG: Using network provider: nm 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:29 +0000 (0:00:00.024) 0:00:58.101 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:09:29 +0000 (0:00:00.055) 0:00:58.156 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 16:09:29 +0000 (0:00:00.023) 0:00:58.179 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:09:29 +0000 (0:00:00.043) 0:00:58.222 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:09:29 +0000 (0:00:00.022) 0:00:58.245 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:09:29 +0000 (0:00:00.022) 0:00:58.267 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 16:09:29 +0000 (0:00:00.028) 0:00:58.296 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:09:30 +0000 (0:00:00.243) 0:00:58.539 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 16:09:30 +0000 (0:00:00.028) 0:00:58.567 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:09:30 +0000 (0:00:00.021) 0:00:58.589 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:09:30 +0000 (0:00:00.022) 0:00:58.611 ******* 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": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:30 +0000 (0:00:00.354) 0:00:58.966 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:09:30 +0000 (0:00:00.022) 0:00:58.989 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:30 +0000 (0:00:00.024) 0:00:59.013 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:30 +0000 (0:00:00.023) 0:00:59.037 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 16:09:30 +0000 (0:00:00.022) 0:00:59.060 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 16:09:30 +0000 (0:00:00.155) 0:00:59.215 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 February 2024 16:09:30 +0000 (0:00:00.040) 0:00:59.256 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 16:09:30 +0000 (0:00:00.038) 0:00:59.295 ******* 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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 16:09:30 +0000 (0:00:00.025) 0:00:59.320 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 16:09:30 +0000 (0:00:00.130) 0:00:59.450 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 16:09:30 +0000 (0:00:00.023) 0:00:59.474 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019965", "end": "2024-02-09 16:09:31.065274", "rc": 1, "start": "2024-02-09 16:09:31.045309" } 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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 16:09:31 +0000 (0:00:00.147) 0:00:59.622 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 16:09:31 +0000 (0:00:00.026) 0:00:59.648 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 16:09:31 +0000 (0:00:00.025) 0:00:59.673 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 16:09:31 +0000 (0:00:00.024) 0:00:59.698 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 16:09:31 +0000 (0:00:00.023) 0:00:59.722 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 February 2024 16:09:31 +0000 (0:00:00.024) 0:00:59.746 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 16:09:31 +0000 (0:00:00.025) 0:00:59.772 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 16:09:31 +0000 (0:00:00.043) 0:00:59.815 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 16:09:31 +0000 (0:00:00.069) 0:00:59.885 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 16:09:31 +0000 (0:00:00.131) 0:01:00.016 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 16:09:31 +0000 (0:00:00.032) 0:01:00.048 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 16:09:31 +0000 (0:00:00.024) 0:01:00.073 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 16:09:31 +0000 (0:00:00.065) 0:01:00.139 ******* 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.041485", "end": "2024-02-09 16:09:31.755692", "rc": 1, "start": "2024-02-09 16:09:31.714207" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_states.yml:126 Friday 09 February 2024 16:09:31 +0000 (0:00:00.174) 0:01:00.313 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:5 Friday 09 February 2024 16:09:31 +0000 (0:00:00.074) 0:01:00.388 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:9 Friday 09 February 2024 16:09:31 +0000 (0:00:00.024) 0:01:00.412 ******* 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": true, "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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 16:09:31 +0000 (0:00:00.047) 0:01:00.460 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/show_interfaces.yml:3 Friday 09 February 2024 16:09:31 +0000 (0:00:00.042) 0:01:00.503 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 09 February 2024 16:09:32 +0000 (0:00:00.053) 0:01:00.557 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003289", "end": "2024-02-09 16:09:32.139650", "rc": 0, "start": "2024-02-09 16:09:32.136361" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:09:32 +0000 (0:00:00.140) 0:01:00.697 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:09:32 +0000 (0:00:00.026) 0:01:00.724 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 16:09:32 +0000 (0:00:00.084) 0:01:00.809 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 09 February 2024 16:09:32 +0000 (0:00:00.050) 0:01:00.859 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 16:09:32 +0000 (0:00:00.042) 0:01:00.902 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 16:09:32 +0000 (0:00:00.042) 0:01:00.945 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 16:09:32 +0000 (0:00:00.032) 0:01:00.977 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 16:09:32 +0000 (0:00:00.031) 0:01:01.008 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 16:09:32 +0000 (0:00:00.028) 0:01:01.036 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 16:09:33 +0000 (0:00:00.688) 0:01:01.725 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:09:34 +0000 (0:00:00.951) 0:01:02.676 ******* ok: [sut] => {} MSG: Using network provider: nm 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:34 +0000 (0:00:00.024) 0:01:02.700 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:09:34 +0000 (0:00:00.022) 0:01:02.723 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 16:09:34 +0000 (0:00:00.022) 0:01:02.746 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:09:34 +0000 (0:00:00.046) 0:01:02.793 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:09:34 +0000 (0:00:00.022) 0:01:02.815 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:09:34 +0000 (0:00:00.026) 0:01:02.842 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 16:09:34 +0000 (0:00:00.032) 0:01:02.874 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:09:34 +0000 (0:00:00.233) 0:01:03.108 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 16:09:34 +0000 (0:00:00.025) 0:01:03.134 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:09:34 +0000 (0:00:00.023) 0:01:03.157 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:09:34 +0000 (0:00:00.021) 0:01:03.178 ******* 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3b0ec4f-9610-4693-be07-9806690fa105 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:34 +0000 (0:00:00.325) 0:01:03.504 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:09:34 +0000 (0:00:00.022) 0:01:03.527 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3b0ec4f-9610-4693-be07-9806690fa105" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:35 +0000 (0:00:00.059) 0:01:03.586 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3b0ec4f-9610-4693-be07-9806690fa105\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3b0ec4f-9610-4693-be07-9806690fa105" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:35 +0000 (0:00:00.023) 0:01:03.610 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 16:09:35 +0000 (0:00:00.022) 0:01:03.633 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 09 February 2024 16:09:35 +0000 (0:00:00.133) 0:01:03.766 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3b0ec4f-9610-4693-be07-9806690fa105\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3b0ec4f-9610-4693-be07-9806690fa105" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 16:09:35 +0000 (0:00:00.033) 0:01:03.800 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 16:09:35 +0000 (0:00:00.039) 0:01:03.839 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 16:09:35 +0000 (0:00:00.043) 0:01:03.882 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 16:09:35 +0000 (0:00:00.031) 0:01:03.914 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 16:09:35 +0000 (0:00:00.022) 0:01:03.937 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 16:09:35 +0000 (0:00:00.023) 0:01:03.960 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 16:09:36 +0000 (0:00:00.683) 0:01:04.643 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:09:37 +0000 (0:00:00.942) 0:01:05.585 ******* ok: [sut] => {} MSG: Using network provider: nm 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:37 +0000 (0:00:00.025) 0:01:05.610 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:09:37 +0000 (0:00:00.023) 0:01:05.634 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 16:09:37 +0000 (0:00:00.024) 0:01:05.658 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:09:37 +0000 (0:00:00.045) 0:01:05.703 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:09:37 +0000 (0:00:00.022) 0:01:05.726 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:09:37 +0000 (0:00:00.022) 0:01:05.749 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 16:09:37 +0000 (0:00:00.025) 0:01:05.775 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:09:37 +0000 (0:00:00.220) 0:01:05.995 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 16:09:37 +0000 (0:00:00.027) 0:01:06.023 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:09:37 +0000 (0:00:00.021) 0:01:06.045 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:09:37 +0000 (0:00:00.023) 0:01:06.068 ******* ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b3b0ec4f-9610-4693-be07-9806690fa105 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:37 +0000 (0:00:00.308) 0:01:06.376 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:09:37 +0000 (0:00:00.022) 0:01:06.398 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b3b0ec4f-9610-4693-be07-9806690fa105 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:37 +0000 (0:00:00.024) 0:01:06.423 ******* 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b3b0ec4f-9610-4693-be07-9806690fa105 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b3b0ec4f-9610-4693-be07-9806690fa105 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:37 +0000 (0:00:00.025) 0:01:06.448 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 16:09:37 +0000 (0:00:00.024) 0:01:06.473 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 09 February 2024 16:09:38 +0000 (0:00:00.124) 0:01:06.598 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 16:09:38 +0000 (0:00:00.037) 0:01:06.636 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 16:09:38 +0000 (0:00:00.041) 0:01:06.677 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 16:09:38 +0000 (0:00:00.028) 0:01:06.705 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 16:09:38 +0000 (0:00:00.021) 0:01:06.727 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 16:09:38 +0000 (0:00:00.023) 0:01:06.750 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 16:09:38 +0000 (0:00:00.671) 0:01:07.422 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:09:39 +0000 (0:00:00.933) 0:01:08.355 ******* ok: [sut] => {} MSG: Using network provider: nm 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:39 +0000 (0:00:00.023) 0:01:08.379 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:09:39 +0000 (0:00:00.023) 0:01:08.402 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 16:09:39 +0000 (0:00:00.025) 0:01:08.427 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:09:39 +0000 (0:00:00.045) 0:01:08.472 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:09:39 +0000 (0:00:00.023) 0:01:08.496 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:09:39 +0000 (0:00:00.023) 0:01:08.519 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 16:09:40 +0000 (0:00:00.028) 0:01:08.548 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:09:40 +0000 (0:00:00.223) 0:01:08.772 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 16:09:40 +0000 (0:00:00.027) 0:01:08.800 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:09:40 +0000 (0:00:00.021) 0:01:08.821 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:09:40 +0000 (0:00:00.053) 0:01:08.875 ******* 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": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:40 +0000 (0:00:00.365) 0:01:09.240 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:09:40 +0000 (0:00:00.023) 0:01:09.264 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:40 +0000 (0:00:00.033) 0:01:09.298 ******* 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:40 +0000 (0:00:00.026) 0:01:09.324 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 16:09:40 +0000 (0:00:00.027) 0:01:09.351 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 16:09:40 +0000 (0:00:00.143) 0:01:09.495 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 09 February 2024 16:09:41 +0000 (0:00:00.044) 0:01:09.540 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 09 February 2024 16:09:41 +0000 (0:00:00.038) 0:01:09.578 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 09 February 2024 16:09:41 +0000 (0:00:00.041) 0:01:09.620 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 09 February 2024 16:09:41 +0000 (0:00:00.030) 0:01:09.651 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 09 February 2024 16:09:41 +0000 (0:00:00.024) 0:01:09.675 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 16:09:41 +0000 (0:00:00.023) 0:01:09.698 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 09 February 2024 16:09:41 +0000 (0:00:00.716) 0:01:10.415 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:09:42 +0000 (0:00:00.906) 0:01:11.322 ******* ok: [sut] => {} MSG: Using network provider: nm 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:42 +0000 (0:00:00.026) 0:01:11.348 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:09:42 +0000 (0:00:00.025) 0:01:11.374 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 09 February 2024 16:09:42 +0000 (0:00:00.034) 0:01:11.409 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:09:42 +0000 (0:00:00.047) 0:01:11.456 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:09:42 +0000 (0:00:00.035) 0:01:11.492 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:09:42 +0000 (0:00:00.022) 0:01:11.514 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Friday 09 February 2024 16:09:43 +0000 (0:00:00.035) 0:01:11.549 ******* 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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:09:43 +0000 (0:00:00.286) 0:01:11.836 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:108 Friday 09 February 2024 16:09:43 +0000 (0:00:00.026) 0:01:11.863 ******* 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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:09:43 +0000 (0:00:00.030) 0:01:11.894 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:09:43 +0000 (0:00:00.028) 0:01:11.923 ******* 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": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:43 +0000 (0:00:00.293) 0:01:12.216 ******* 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-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:09:43 +0000 (0:00:00.022) 0:01:12.238 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:43 +0000 (0:00:00.024) 0:01:12.262 ******* 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:43 +0000 (0:00:00.025) 0:01:12.288 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Friday 09 February 2024 16:09:43 +0000 (0:00:00.022) 0:01:12.310 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 16:09:43 +0000 (0:00:00.124) 0:01:12.435 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 09 February 2024 16:09:43 +0000 (0:00:00.047) 0:01:12.483 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 09 February 2024 16:09:43 +0000 (0:00:00.039) 0:01:12.522 ******* 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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 09 February 2024 16:09:44 +0000 (0:00:00.022) 0:01:12.544 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 16:09:44 +0000 (0:00:00.130) 0:01:12.675 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 09 February 2024 16:09:44 +0000 (0:00:00.022) 0:01:12.697 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020420", "end": "2024-02-09 16:09:44.289684", "rc": 1, "start": "2024-02-09 16:09:44.269264" } 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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 09 February 2024 16:09:44 +0000 (0:00:00.150) 0:01:12.848 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 16:09:44 +0000 (0:00:00.026) 0:01:12.874 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 16:09:44 +0000 (0:00:00.025) 0:01:12.899 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 16:09:44 +0000 (0:00:00.025) 0:01:12.925 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 16:09:44 +0000 (0:00:00.026) 0:01:12.951 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 09 February 2024 16:09:44 +0000 (0:00:00.024) 0:01:12.975 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 09 February 2024 16:09:44 +0000 (0:00:00.026) 0:01:13.002 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.668117", "end": "2024-02-09 16:09:45.241775", "rc": 0, "start": "2024-02-09 16:09:44.573658" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 09 February 2024 16:09:45 +0000 (0:00:00.799) 0:01:13.801 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 09 February 2024 16:09:45 +0000 (0:00:00.023) 0:01:13.825 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:42 Friday 09 February 2024 16:09:45 +0000 (0:00:00.023) 0:01:13.849 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 16:09:45 +0000 (0:00:00.044) 0:01:13.894 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 16:09:45 +0000 (0:00:00.037) 0:01:13.931 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 16:09:45 +0000 (0:00:00.169) 0:01:14.100 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 16:09:45 +0000 (0:00:00.025) 0:01:14.126 ******* 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-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:66 Friday 09 February 2024 16:09:45 +0000 (0:00:00.024) 0:01:14.151 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 09 February 2024 16:09:45 +0000 (0:00:00.043) 0:01:14.194 ******* 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.042244", "end": "2024-02-09 16:09:45.809637", "rc": 1, "start": "2024-02-09 16:09:45.767393" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=324 changed=10 unreachable=0 failed=0 skipped=246 rescued=0 ignored=11 Friday 09 February 2024 16:09:45 +0000 (0:00:00.160) 0:01:14.355 ******* =============================================================================== Verify DNS and ping still work before el repo setup --------------------- 8.26s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/el_repo_setup.yml:3 ----- Verify DNS and ping still work after el repo setup ---------------------- 8.18s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/el_repo_setup.yml:71 ---- linux-system-roles.network : Configure networking connection profiles --- 1.79s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.34s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.18s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 1.04s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Configure networking connection profiles --- 1.01s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-bond_options_rewritefl_0qcs1/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. ---^---^---^---^---^---