# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tests_states_initscripts.yml:5 Friday 09 February 2024 16:08:21 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tests_states_initscripts.yml:8 Friday 09 February 2024 16:08:22 +0000 (0:00:00.517) 0:00:00.529 ******* 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:22 +0000 (0:00:00.023) 0:00:00.553 ******* 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.119203", "end": "2024-02-09 16:08:30.377297", "rc": 0, "start": "2024-02-09 16:08:22.258094" } STDOUT: 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 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 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 PING wildcard.fedoraproject.org (34.221.3.152) 56(84) bytes of data. 64 bytes from ec2-34-221-3-152.us-west-2.compute.amazonaws.com (34.221.3.152): icmp_seq=1 ttl=53 time=65.5 ms 64 bytes from ec2-34-221-3-152.us-west-2.compute.amazonaws.com (34.221.3.152): icmp_seq=2 ttl=53 time=64.6 ms 64 bytes from ec2-34-221-3-152.us-west-2.compute.amazonaws.com (34.221.3.152): icmp_seq=3 ttl=53 time=64.7 ms 64 bytes from ec2-34-221-3-152.us-west-2.compute.amazonaws.com (34.221.3.152): icmp_seq=4 ttl=53 time=64.7 ms 64 bytes from ec2-34-221-3-152.us-west-2.compute.amazonaws.com (34.221.3.152): icmp_seq=5 ttl=53 time=64.6 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4007ms rtt min/avg/max/mdev = 64.663/64.867/65.540/0.466 ms 2604:1580:fe00:0:dead:beef:cafe:fed1 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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (152.19.134.198) 56(84) bytes of data. 64 bytes from vm18.fedora.ibiblio.org (152.19.134.198): icmp_seq=1 ttl=47 time=19.9 ms 64 bytes from vm18.fedora.ibiblio.org (152.19.134.198): icmp_seq=2 ttl=47 time=19.4 ms 64 bytes from vm18.fedora.ibiblio.org (152.19.134.198): icmp_seq=3 ttl=47 time=19.3 ms 64 bytes from vm18.fedora.ibiblio.org (152.19.134.198): icmp_seq=4 ttl=47 time=19.4 ms 64 bytes from vm18.fedora.ibiblio.org (152.19.134.198): icmp_seq=5 ttl=47 time=19.3 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 19.395/19.522/19.972/0.242 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:30 +0000 (0:00:08.316) 0:00:08.869 ******* 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:30 +0000 (0:00:00.218) 0:00:09.088 ******* 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:30 +0000 (0:00:00.195) 0:00:09.283 ******* 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:30 +0000 (0:00:00.021) 0:00:09.304 ******* 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:30 +0000 (0:00:00.019) 0:00:09.324 ******* 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:30 +0000 (0:00:00.033) 0:00:09.358 ******* 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:31 +0000 (0:00:00.123) 0:00:09.481 ******* 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:31 +0000 (0:00:00.481) 0:00:09.963 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.171229", "end": "2024-02-09 16:08:31.763570", "rc": 0, "start": "2024-02-09 16:08:31.592341" } 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:31 +0000 (0:00:00.292) 0:00:10.256 ******* 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:31 +0000 (0:00:00.012) 0:00:10.268 ******* 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:31 +0000 (0:00:00.011) 0:00:10.280 ******* 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.117275", "end": "2024-02-09 16:08:40.023070", "rc": 0, "start": "2024-02-09 16:08:31.905795" } STDOUT: 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (152.19.134.198) 56(84) bytes of data. 64 bytes from vm18.fedora.ibiblio.org (152.19.134.198): icmp_seq=1 ttl=47 time=19.9 ms 64 bytes from vm18.fedora.ibiblio.org (152.19.134.198): icmp_seq=2 ttl=47 time=21.1 ms 64 bytes from vm18.fedora.ibiblio.org (152.19.134.198): icmp_seq=3 ttl=47 time=19.3 ms 64 bytes from vm18.fedora.ibiblio.org (152.19.134.198): icmp_seq=4 ttl=47 time=19.3 ms 64 bytes from vm18.fedora.ibiblio.org (152.19.134.198): icmp_seq=5 ttl=47 time=19.3 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 19.324/19.837/21.157/0.713 ms 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (140.211.169.196) 56(84) bytes of data. 64 bytes from proxy06.fedoraproject.org (140.211.169.196): icmp_seq=1 ttl=38 time=69.9 ms 64 bytes from proxy06.fedoraproject.org (140.211.169.196): icmp_seq=2 ttl=38 time=69.2 ms 64 bytes from proxy06.fedoraproject.org (140.211.169.196): icmp_seq=3 ttl=38 time=69.4 ms 64 bytes from proxy06.fedoraproject.org (140.211.169.196): icmp_seq=4 ttl=38 time=69.2 ms 64 bytes from proxy06.fedoraproject.org (140.211.169.196): icmp_seq=5 ttl=38 time=69.2 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4001ms rtt min/avg/max/mdev = 69.272/69.438/69.941/0.306 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 'initscripts'] *********************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tests_states_initscripts.yml:10 Friday 09 February 2024 16:08:40 +0000 (0:00:08.235) 0:00:18.515 ******* ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_states.yml:3 Friday 09 February 2024 16:08:40 +0000 (0:00:00.016) 0:00:18.532 ******* 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:40 +0000 (0:00:00.380) 0:00:18.913 ******* 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:40 +0000 (0:00:00.013) 0:00:18.926 ******* 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:40 +0000 (0:00:00.021) 0:00:18.947 ******* 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:40 +0000 (0:00:00.019) 0:00:18.967 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 16:08:40 +0000 (0:00:00.074) 0:00:19.041 ******* 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:40 +0000 (0:00:00.043) 0:00:19.085 ******* 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:40 +0000 (0:00:00.031) 0:00:19.117 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003153", "end": "2024-02-09 16:08:40.746626", "rc": 0, "start": "2024-02-09 16:08:40.743473" } STDOUT: bonding_masters eth0 lo rpltstbr 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:40 +0000 (0:00:00.121) 0:00:19.238 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "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:40 +0000 (0:00:00.023) 0:00:19.262 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 16:08:40 +0000 (0:00:00.013) 0:00:19.276 ******* 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:40 +0000 (0:00:00.023) 0:00:19.299 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011115", "end": "2024-02-09 16:08:40.938268", "rc": 1, "start": "2024-02-09 16:08:40.927153" } 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:40 +0000 (0:00:00.144) 0:00:19.443 ******* 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:40 +0000 (0:00:00.018) 0:00:19.462 ******* 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:41 +0000 (0:00:00.132) 0:00:19.594 ******* 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:41 +0000 (0:00:00.014) 0:00:19.608 ******* 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:41 +0000 (0:00:00.019) 0:00:19.628 ******* 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:41 +0000 (0:00:00.036) 0:00:19.665 ******* 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:41 +0000 (0:00:00.071) 0:00:19.736 ******* 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:41 +0000 (0:00:00.014) 0:00:19.750 ******* 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:41 +0000 (0:00:00.011) 0:00:19.762 ******* 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:41 +0000 (0:00:00.011) 0:00:19.773 ******* 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:42 +0000 (0:00:00.771) 0:00:20.544 ******* 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:43 +0000 (0:00:01.074) 0:00:21.619 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:08:43 +0000 (0:00:00.026) 0:00:21.646 ******* 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:43 +0000 (0:00:00.026) 0:00:21.673 ******* 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:43 +0000 (0:00:00.036) 0:00:21.709 ******* changed: [sut] => { "attempts": 1, "changed": true, "changes": { "installed": [ "bridge-utils" ] }, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7.centos.1.x86_64 providing dhclient is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * epel: forksystems.mm.fcix.net\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:08:45 +0000 (0:00:02.514) 0:00:24.223 ******* 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:45 +0000 (0:00:00.034) 0:00:24.257 ******* 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:45 +0000 (0:00:00.026) 0:00:24.284 ******* 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:45 +0000 (0:00:00.030) 0:00:24.315 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : 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:45 +0000 (0:00:00.027) 0:00:24.342 ******* 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:45 +0000 (0:00:00.027) 0:00:24.370 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:08:46 +0000 (0:00:00.374) 0:00:24.745 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-175246eodug5e/tmpr2opf124" } 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:46 +0000 (0:00:00.225) 0:00:24.971 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:08:46 +0000 (0:00:00.350) 0:00:25.321 ******* 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:46 +0000 (0:00:00.021) 0:00:25.343 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:08:46 +0000 (0:00:00.024) 0:00:25.367 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:08:46 +0000 (0:00:00.024) 0:00:25.391 ******* 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:46 +0000 (0:00:00.046) 0:00:25.437 ******* 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:47 +0000 (0:00:00.176) 0:00:25.613 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 16:08:47 +0000 (0:00:00.024) 0:00:25.638 ******* 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:47 +0000 (0:00:00.043) 0:00:25.681 ******* 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:47 +0000 (0:00:00.038) 0:00:25.720 ******* 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:47 +0000 (0:00:00.023) 0:00:25.743 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707494926.80781, "block_size": 4096, "blocks": 8, "ctime": 1707494926.80781, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25411, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707494926.80781, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 16:08:47 +0000 (0:00:00.132) 0:00:25.876 ******* 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:47 +0000 (0:00:00.025) 0:00:25.902 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023777", "end": "2024-02-09 16:08:47.554992", "rc": 1, "start": "2024-02-09 16:08:47.531215" } 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:08:47 +0000 (0:00:00.154) 0:00:26.056 ******* 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:08:47 +0000 (0:00:00.025) 0:00:26.081 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003384", "end": "2024-02-09 16:08:47.715968", "rc": 0, "start": "2024-02-09 16:08:47.712584" } STDOUT: # Ansible managed 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:47 +0000 (0:00:00.139) 0:00:26.220 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": 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:47 +0000 (0:00:00.028) 0:00:26.248 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003181", "end": "2024-02-09 16:08:47.880968", "rc": 0, "start": "2024-02-09 16:08:47.877787" } STDOUT: # system_role:network 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:47 +0000 (0:00:00.135) 0:00:26.384 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": 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:47 +0000 (0:00:00.056) 0:00:26.441 ******* 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:47 +0000 (0:00:00.025) 0:00:26.466 ******* 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:48 +0000 (0:00:00.028) 0:00:26.494 ******* 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:48 +0000 (0:00:00.025) 0:00:26.520 ******* skipping: [sut] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 16:08:48 +0000 (0:00:00.028) 0:00:26.548 ******* 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:48 +0000 (0:00:00.024) 0:00:26.572 ******* 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:48 +0000 (0:00:00.045) 0:00:26.618 ******* 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.045378", "end": "2024-02-09 16:08:48.293220", "rc": 1, "start": "2024-02-09 16:08:48.247842" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_states.yml:45 Friday 09 February 2024 16:08:48 +0000 (0:00:00.179) 0:00:26.798 ******* 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:48 +0000 (0:00:00.038) 0:00:26.836 ******* 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:48 +0000 (0:00:00.023) 0:00:26.860 ******* 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:48 +0000 (0:00:00.047) 0:00:26.907 ******* 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:48 +0000 (0:00:00.037) 0:00:26.944 ******* 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:48 +0000 (0:00:00.036) 0:00:26.981 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003218", "end": "2024-02-09 16:08:48.611642", "rc": 0, "start": "2024-02-09 16:08:48.608424" } STDOUT: bonding_masters eth0 lo rpltstbr 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:48 +0000 (0:00:00.133) 0:00:27.114 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "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:48 +0000 (0:00:00.055) 0:00:27.169 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 16:08:48 +0000 (0:00:00.024) 0:00:27.193 ******* 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:48 +0000 (0:00:00.044) 0:00:27.238 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006924", "end": "2024-02-09 16:08:48.873227", "rc": 1, "start": "2024-02-09 16:08:48.866303" } 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:48 +0000 (0:00:00.135) 0:00:27.374 ******* 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:48 +0000 (0:00:00.038) 0:00:27.412 ******* 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:49 +0000 (0:00:00.130) 0:00:27.543 ******* 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:49 +0000 (0:00:00.025) 0:00:27.569 ******* 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:49 +0000 (0:00:00.042) 0:00:27.611 ******* 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:49 +0000 (0:00:00.042) 0:00:27.653 ******* 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:49 +0000 (0:00:00.042) 0:00:27.696 ******* 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:49 +0000 (0:00:00.029) 0:00:27.725 ******* 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:49 +0000 (0:00:00.036) 0:00:27.761 ******* 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:49 +0000 (0:00:00.067) 0:00:27.828 ******* 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:50 +0000 (0:00:00.685) 0:00:28.514 ******* 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:50 +0000 (0:00:00.915) 0:00:29.429 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:08:50 +0000 (0:00:00.026) 0:00:29.456 ******* 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:51 +0000 (0:00:00.023) 0:00:29.479 ******* 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:51 +0000 (0:00:00.023) 0:00:29.503 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:43 Friday 09 February 2024 16:08:51 +0000 (0:00:00.044) 0:00:29.547 ******* 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:51 +0000 (0:00:00.024) 0:00:29.572 ******* 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:51 +0000 (0:00:00.024) 0:00:29.597 ******* 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:51 +0000 (0:00:00.099) 0:00:29.696 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:08:51 +0000 (0:00:00.023) 0:00:29.720 ******* 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:51 +0000 (0:00:00.022) 0:00:29.742 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:08:51 +0000 (0:00:00.227) 0:00:29.969 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-175246eodug5e/tmpnu5606dk" } 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:51 +0000 (0:00:00.208) 0:00:30.178 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:08:51 +0000 (0:00:00.228) 0:00:30.406 ******* 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:51 +0000 (0:00:00.023) 0:00:30.430 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:08:51 +0000 (0:00:00.026) 0:00:30.457 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:08:52 +0000 (0:00:00.024) 0:00:30.481 ******* 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:52 +0000 (0:00:00.023) 0:00:30.505 ******* 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:52 +0000 (0:00:00.125) 0:00:30.630 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:36 Friday 09 February 2024 16:08:52 +0000 (0:00:00.024) 0:00:30.654 ******* 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:52 +0000 (0:00:00.045) 0:00:30.700 ******* 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:52 +0000 (0:00:00.068) 0:00:30.769 ******* 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:52 +0000 (0:00:00.133) 0:00:30.902 ******* 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:52 +0000 (0:00:00.026) 0:00:30.929 ******* 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:52 +0000 (0:00:00.040) 0:00:30.969 ******* 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:52 +0000 (0:00:00.025) 0:00:30.995 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707494931.8976862, "block_size": 4096, "blocks": 8, "ctime": 1707494931.8976862, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25413, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707494931.8976862, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 16:08:52 +0000 (0:00:00.132) 0:00:31.127 ******* 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:52 +0000 (0:00:00.025) 0:00:31.153 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021404", "end": "2024-02-09 16:08:52.802877", "rc": 1, "start": "2024-02-09 16:08:52.781473" } 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:08:52 +0000 (0:00:00.151) 0:00:31.305 ******* 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:08:52 +0000 (0:00:00.026) 0:00:31.331 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003152", "end": "2024-02-09 16:08:52.963864", "rc": 0, "start": "2024-02-09 16:08:52.960712" } STDOUT: # Ansible managed 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:53 +0000 (0:00:00.158) 0:00:31.489 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": 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:53 +0000 (0:00:00.042) 0:00:31.532 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003110", "end": "2024-02-09 16:08:53.168972", "rc": 0, "start": "2024-02-09 16:08:53.165862" } STDOUT: # system_role:network 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:53 +0000 (0:00:00.164) 0:00:31.696 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": 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:53 +0000 (0:00:00.053) 0:00:31.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:08:53 +0000 (0:00:00.026) 0:00:31.776 ******* 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:53 +0000 (0:00:00.038) 0:00:31.814 ******* 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:53 +0000 (0:00:00.073) 0:00:31.888 ******* 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:08:53 +0000 (0:00:00.022) 0:00:31.910 ******* 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:08:53 +0000 (0:00:00.036) 0:00:31.946 ******* 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:53 +0000 (0:00:00.066) 0:00:32.013 ******* 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.042280", "end": "2024-02-09 16:08:53.694811", "rc": 1, "start": "2024-02-09 16:08:53.652531" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_states.yml:65 Friday 09 February 2024 16:08:53 +0000 (0:00:00.185) 0:00:32.198 ******* 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:08:53 +0000 (0:00:00.059) 0:00:32.257 ******* 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:08:53 +0000 (0:00:00.024) 0:00:32.282 ******* 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:08:53 +0000 (0:00:00.048) 0:00:32.330 ******* 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:53 +0000 (0:00:00.037) 0:00:32.368 ******* 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:53 +0000 (0:00:00.035) 0:00:32.403 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003186", "end": "2024-02-09 16:08:54.034106", "rc": 0, "start": "2024-02-09 16:08:54.030920" } STDOUT: bonding_masters eth0 lo rpltstbr 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:54 +0000 (0:00:00.133) 0:00:32.537 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "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:54 +0000 (0:00:00.025) 0:00:32.563 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 16:08:54 +0000 (0:00:00.023) 0:00:32.586 ******* 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:54 +0000 (0:00:00.081) 0:00:32.668 ******* 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:54 +0000 (0:00:00.047) 0:00:32.715 ******* 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:54 +0000 (0:00:00.062) 0:00:32.777 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : 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:54 +0000 (0:00:00.042) 0:00:32.820 ******* 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:54 +0000 (0:00:00.032) 0:00:32.852 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 09 February 2024 16:08:54 +0000 (0:00:00.041) 0:00:32.894 ******* 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:55 +0000 (0:00:00.694) 0:00:33.589 ******* 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:56 +0000 (0:00:00.950) 0:00:34.540 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:08:56 +0000 (0:00:00.024) 0:00:34.564 ******* 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:56 +0000 (0:00:00.024) 0:00:34.589 ******* 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:56 +0000 (0:00:00.024) 0:00:34.613 ******* 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:56 +0000 (0:00:00.045) 0:00:34.659 ******* 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:56 +0000 (0:00:00.026) 0:00:34.686 ******* 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:56 +0000 (0:00:00.025) 0:00:34.711 ******* 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:56 +0000 (0:00:00.040) 0:00:34.751 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:08:56 +0000 (0:00:00.024) 0:00:34.775 ******* 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:56 +0000 (0:00:00.029) 0:00:34.805 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:08:56 +0000 (0:00:00.228) 0:00:35.033 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-175246eodug5e/tmpm9ee19q8" } 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:56 +0000 (0:00:00.208) 0:00:35.242 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:08:56 +0000 (0:00:00.222) 0:00:35.465 ******* 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:57 +0000 (0:00:00.039) 0:00:35.504 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:08:57 +0000 (0:00:00.025) 0:00:35.529 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:08:57 +0000 (0:00:00.080) 0:00:35.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:08:57 +0000 (0:00:00.024) 0:00:35.634 ******* 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:57 +0000 (0:00:00.133) 0:00:35.768 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:30 Friday 09 February 2024 16:08:57 +0000 (0:00:00.043) 0:00:35.811 ******* 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:08:57 +0000 (0:00:00.042) 0:00:35.853 ******* 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:57 +0000 (0:00:00.048) 0:00:35.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:08:57 +0000 (0:00:00.043) 0:00:35.946 ******* 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:57 +0000 (0:00:00.030) 0:00:35.976 ******* 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:57 +0000 (0:00:00.031) 0:00:36.007 ******* 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:57 +0000 (0:00:00.027) 0:00:36.035 ******* 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:58 +0000 (0:00:00.689) 0:00:36.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:08:59 +0000 (0:00:00.950) 0:00:37.675 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:08:59 +0000 (0:00:00.025) 0:00:37.701 ******* 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:59 +0000 (0:00:00.024) 0:00:37.726 ******* 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:59 +0000 (0:00:00.023) 0:00:37.750 ******* 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:59 +0000 (0:00:00.048) 0:00:37.798 ******* 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:59 +0000 (0:00:00.023) 0:00:37.822 ******* 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:59 +0000 (0:00:00.023) 0:00:37.845 ******* 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:59 +0000 (0:00:00.027) 0:00:37.872 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:08:59 +0000 (0:00:00.023) 0:00:37.895 ******* 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:59 +0000 (0:00:00.024) 0:00:37.920 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:08:59 +0000 (0:00:00.225) 0:00:38.145 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-175246eodug5e/tmpeuj0emgc" } 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:59 +0000 (0:00:00.237) 0:00:38.383 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:00 +0000 (0:00:00.465) 0:00:38.848 ******* 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:00 +0000 (0:00:00.026) 0:00:38.874 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:00 +0000 (0:00:00.025) 0:00:38.900 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:00 +0000 (0:00:00.025) 0:00:38.925 ******* 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:00 +0000 (0:00:00.023) 0:00:38.948 ******* 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:00 +0000 (0:00:00.132) 0:00:39.081 ******* 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:00 +0000 (0:00:00.047) 0:00:39.128 ******* 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:00 +0000 (0:00:00.039) 0:00:39.167 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707494940.2784827, "block_size": 4096, "blocks": 0, "ctime": 1707494940.2744827, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17628, "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": 1707494940.2744827, "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:00 +0000 (0:00:00.134) 0:00:39.301 ******* 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:00 +0000 (0:00:00.025) 0:00:39.327 ******* 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:00 +0000 (0:00:00.037) 0:00:39.365 ******* 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:00 +0000 (0:00:00.022) 0:00:39.388 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707494940.101487, "block_size": 4096, "blocks": 8, "ctime": 1707494936.9615633, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25411, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707494936.9615633, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 09 February 2024 16:09:01 +0000 (0:00:00.154) 0:00:39.542 ******* 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:01 +0000 (0:00:00.025) 0:00:39.568 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022554", "end": "2024-02-09 16:09:01.218478", "rc": 1, "start": "2024-02-09 16:09:01.195924" } 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:01 +0000 (0:00:00.152) 0:00:39.721 ******* 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:01 +0000 (0:00:00.025) 0:00:39.746 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003341", "end": "2024-02-09 16:09:01.379413", "rc": 0, "start": "2024-02-09 16:09:01.376072" } STDOUT: # Ansible managed 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:01 +0000 (0:00:00.136) 0:00:39.882 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": 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:01 +0000 (0:00:00.029) 0:00:39.911 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003212", "end": "2024-02-09 16:09:01.544759", "rc": 0, "start": "2024-02-09 16:09:01.541547" } STDOUT: # system_role:network 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:01 +0000 (0:00:00.137) 0:00:40.049 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": 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:01 +0000 (0:00:00.028) 0:00:40.078 ******* 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:01 +0000 (0:00:00.027) 0:00:40.105 ******* 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:01 +0000 (0:00:00.027) 0:00:40.133 ******* 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:01 +0000 (0:00:00.025) 0:00:40.158 ******* 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:01 +0000 (0:00:00.023) 0:00:40.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:01 +0000 (0:00:00.030) 0:00:40.212 ******* 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:01 +0000 (0:00:00.045) 0:00:40.258 ******* ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.050304", "end": "2024-02-09 16:09:01.941057", "rc": 0, "start": "2024-02-09 16:09:01.890753" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. 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:01 +0000 (0:00:00.186) 0:00:40.444 ******* 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:02 +0000 (0:00:00.067) 0:00:40.512 ******* 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:02 +0000 (0:00:00.023) 0:00:40.535 ******* 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:02 +0000 (0:00:00.047) 0:00:40.583 ******* 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:02 +0000 (0:00:00.037) 0:00:40.621 ******* 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:02 +0000 (0:00:00.036) 0:00:40.657 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003182", "end": "2024-02-09 16:09:02.288561", "rc": 0, "start": "2024-02-09 16:09:02.285379" } STDOUT: bonding_masters eth0 lo rpltstbr 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:02 +0000 (0:00:00.133) 0:00:40.791 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "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:02 +0000 (0:00:00.025) 0:00:40.817 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 16:09:02 +0000 (0:00:00.023) 0:00:40.840 ******* 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:02 +0000 (0:00:00.044) 0:00:40.885 ******* 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:02 +0000 (0:00:00.037) 0:00:40.923 ******* 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:02 +0000 (0:00:00.041) 0:00:40.964 ******* 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:02 +0000 (0:00:00.061) 0:00:41.025 ******* 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:02 +0000 (0:00:00.022) 0:00:41.048 ******* 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:02 +0000 (0:00:00.023) 0:00:41.071 ******* 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:03 +0000 (0:00:00.682) 0:00:41.753 ******* 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:04 +0000 (0:00:00.906) 0:00:42.660 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:04 +0000 (0:00:00.025) 0:00:42.685 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:09:04 +0000 (0:00:00.024) 0:00:42.710 ******* 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:04 +0000 (0:00:00.023) 0:00:42.733 ******* 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:04 +0000 (0:00:00.048) 0:00:42.782 ******* 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:04 +0000 (0:00:00.056) 0:00:42.839 ******* 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:04 +0000 (0:00:00.023) 0:00:42.862 ******* 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:04 +0000 (0:00:00.027) 0:00:42.890 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:09:04 +0000 (0:00:00.023) 0:00:42.914 ******* 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:04 +0000 (0:00:00.023) 0:00:42.937 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:09:04 +0000 (0:00:00.225) 0:00:43.163 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-175246eodug5e/tmpaol6um21" } 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:04 +0000 (0:00:00.207) 0:00:43.370 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:05 +0000 (0:00:00.229) 0:00:43.600 ******* 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:05 +0000 (0:00:00.032) 0:00:43.632 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:05 +0000 (0:00:00.031) 0:00:43.664 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:05 +0000 (0:00:00.025) 0:00:43.690 ******* 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:05 +0000 (0:00:00.033) 0:00:43.723 ******* 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:05 +0000 (0:00:00.129) 0:00:43.853 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 16:09:05 +0000 (0:00:00.026) 0:00:43.880 ******* 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:05 +0000 (0:00:00.039) 0:00:43.919 ******* 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:05 +0000 (0:00:00.073) 0:00:43.993 ******* 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:05 +0000 (0:00:00.027) 0:00:44.021 ******* 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:05 +0000 (0:00:00.023) 0:00:44.044 ******* 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:05 +0000 (0:00:00.023) 0:00:44.068 ******* 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:06 +0000 (0:00:00.678) 0:00:44.746 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:09:07 +0000 (0:00:00.911) 0:00:45.658 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:07 +0000 (0:00:00.023) 0:00:45.681 ******* 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:07 +0000 (0:00:00.023) 0:00:45.705 ******* 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:07 +0000 (0:00:00.023) 0:00:45.729 ******* 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:07 +0000 (0:00:00.115) 0:00:45.845 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:09:07 +0000 (0:00:00.036) 0:00:45.882 ******* 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:07 +0000 (0:00:00.030) 0:00:45.913 ******* 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:07 +0000 (0:00:00.030) 0:00:45.943 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:09:07 +0000 (0:00:00.023) 0:00:45.966 ******* 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:07 +0000 (0:00:00.024) 0:00:45.991 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:09:07 +0000 (0:00:00.233) 0:00:46.224 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-175246eodug5e/tmp6t92o6gi" } 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:07 +0000 (0:00:00.229) 0:00:46.454 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:08 +0000 (0:00:00.475) 0:00:46.929 ******* 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:08 +0000 (0:00:00.025) 0:00:46.954 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:08 +0000 (0:00:00.025) 0:00:46.980 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:08 +0000 (0:00:00.026) 0:00:47.006 ******* 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:08 +0000 (0:00:00.022) 0:00:47.029 ******* 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:08 +0000 (0:00:00.128) 0:00:47.158 ******* 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:08 +0000 (0:00:00.078) 0:00:47.236 ******* 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.041) 0:00:47.278 ******* 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.042) 0:00:47.321 ******* 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.027) 0:00:47.349 ******* 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.022) 0:00:47.371 ******* 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.023) 0:00:47.395 ******* 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.691) 0:00:48.086 ******* 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.944) 0:00:49.030 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-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:49.055 ******* 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.022) 0:00:49.077 ******* 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.023) 0:00:49.101 ******* 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.045) 0:00:49.147 ******* 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.023) 0:00:49.171 ******* 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.023) 0:00:49.194 ******* 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:49.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 : 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.023) 0:00:49.246 ******* 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.023) 0:00:49.269 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : 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:11 +0000 (0:00:00.223) 0:00:49.492 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-175246eodug5e/tmpnn_w_eva" } 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:11 +0000 (0:00:00.208) 0:00:49.701 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-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.227) 0:00:49.928 ******* 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.022) 0:00:49.951 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-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.029) 0:00:49.980 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-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.024) 0:00:50.004 ******* 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.063) 0:00:50.068 ******* 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:11 +0000 (0:00:00.127) 0:00:50.195 ******* 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:11 +0000 (0:00:00.046) 0:00:50.242 ******* 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:11 +0000 (0:00:00.037) 0:00:50.279 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707494948.3572862, "block_size": 4096, "blocks": 0, "ctime": 1707494948.3552864, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17628, "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": 1707494948.3552864, "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:11 +0000 (0:00:00.133) 0:00:50.413 ******* 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:11 +0000 (0:00:00.024) 0:00:50.438 ******* 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:11 +0000 (0:00:00.038) 0:00:50.476 ******* 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:12 +0000 (0:00:00.022) 0:00:50.498 ******* 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:12 +0000 (0:00:00.126) 0:00:50.625 ******* 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:12 +0000 (0:00:00.022) 0:00:50.647 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022080", "end": "2024-02-09 16:09:12.296422", "rc": 1, "start": "2024-02-09 16:09:12.274342" } 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:12 +0000 (0:00:00.151) 0:00:50.798 ******* 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:12 +0000 (0:00:00.023) 0:00:50.822 ******* 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:12 +0000 (0:00:00.024) 0:00:50.847 ******* 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:12 +0000 (0:00:00.023) 0:00:50.870 ******* 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:12 +0000 (0:00:00.071) 0:00:50.942 ******* 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:12 +0000 (0:00:00.023) 0:00:50.966 ******* 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:12 +0000 (0:00:00.025) 0:00:50.991 ******* 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:12 +0000 (0:00:00.023) 0:00:51.015 ******* 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:12 +0000 (0:00:00.024) 0:00:51.040 ******* 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:12 +0000 (0:00:00.043) 0:00:51.083 ******* ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.049073", "end": "2024-02-09 16:09:12.762158", "rc": 0, "start": "2024-02-09 16:09:12.713085" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. 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:12 +0000 (0:00:00.183) 0:00:51.267 ******* 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:12 +0000 (0:00:00.040) 0:00:51.308 ******* 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:12 +0000 (0:00:00.029) 0:00:51.337 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 16:09:12 +0000 (0:00:00.049) 0:00:51.386 ******* 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:12 +0000 (0:00:00.037) 0:00:51.423 ******* 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:12 +0000 (0:00:00.035) 0:00:51.459 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003261", "end": "2024-02-09 16:09:13.095884", "rc": 0, "start": "2024-02-09 16:09:13.092623" } STDOUT: bonding_masters eth0 lo rpltstbr 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:13 +0000 (0:00:00.147) 0:00:51.606 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "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:13 +0000 (0:00:00.062) 0:00:51.668 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 16:09:13 +0000 (0:00:00.024) 0:00:51.693 ******* 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:13 +0000 (0:00:00.048) 0:00:51.742 ******* 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:13 +0000 (0:00:00.040) 0:00:51.783 ******* 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:13 +0000 (0:00:00.046) 0:00:51.829 ******* 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:13 +0000 (0:00:00.040) 0:00:51.869 ******* 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:13 +0000 (0:00:00.032) 0:00:51.902 ******* 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:13 +0000 (0:00:00.029) 0:00:51.932 ******* 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:14 +0000 (0:00:00.690) 0:00:52.622 ******* 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:15 +0000 (0:00:00.931) 0:00:53.554 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:15 +0000 (0:00:00.025) 0:00:53.580 ******* 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:15 +0000 (0:00:00.022) 0:00:53.602 ******* 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:15 +0000 (0:00:00.023) 0:00:53.626 ******* 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:15 +0000 (0:00:00.051) 0:00:53.677 ******* 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:15 +0000 (0:00:00.026) 0:00:53.704 ******* 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:15 +0000 (0:00:00.023) 0:00:53.727 ******* 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:15 +0000 (0:00:00.027) 0:00:53.755 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:09:15 +0000 (0:00:00.024) 0:00:53.779 ******* 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:15 +0000 (0:00:00.022) 0:00:53.802 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:09:15 +0000 (0:00:00.224) 0:00:54.026 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-175246eodug5e/tmpz82g5t_t" } 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:15 +0000 (0:00:00.205) 0:00:54.231 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-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.291) 0:00:54.523 ******* 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.024) 0:00:54.547 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-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.025) 0:00:54.573 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:16 +0000 (0:00:00.026) 0:00:54.600 ******* 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:16 +0000 (0:00:00.024) 0:00:54.624 ******* 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:16 +0000 (0:00:00.129) 0:00:54.753 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 16:09:16 +0000 (0:00:00.024) 0:00:54.778 ******* 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:16 +0000 (0:00:00.040) 0:00:54.819 ******* 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:16 +0000 (0:00:00.052) 0:00:54.872 ******* 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:16 +0000 (0:00:00.028) 0:00:54.900 ******* 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:16 +0000 (0:00:00.022) 0:00:54.923 ******* 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:16 +0000 (0:00:00.022) 0:00:54.946 ******* 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:17 +0000 (0:00:00.675) 0:00:55.621 ******* 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:18 +0000 (0:00:00.963) 0:00:56.585 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:18 +0000 (0:00:00.024) 0:00:56.609 ******* 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:18 +0000 (0:00:00.024) 0:00:56.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:18 +0000 (0:00:00.024) 0:00:56.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:18 +0000 (0:00:00.048) 0:00:56.707 ******* 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:18 +0000 (0:00:00.023) 0:00:56.731 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:74 Friday 09 February 2024 16:09:18 +0000 (0:00:00.027) 0:00:56.758 ******* 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:18 +0000 (0:00:00.034) 0:00:56.793 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:09:18 +0000 (0:00:00.022) 0:00:56.816 ******* 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:18 +0000 (0:00:00.022) 0:00:56.838 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:09:18 +0000 (0:00:00.226) 0:00:57.065 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-175246eodug5e/tmpqe8y6ytj" } 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:18 +0000 (0:00:00.266) 0:00:57.331 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:19 +0000 (0:00:00.475) 0:00:57.807 ******* 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:19 +0000 (0:00:00.024) 0:00:57.832 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:19 +0000 (0:00:00.026) 0:00:57.858 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:19 +0000 (0:00:00.028) 0:00:57.886 ******* 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:19 +0000 (0:00:00.023) 0:00:57.910 ******* 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:19 +0000 (0:00:00.127) 0:00:58.037 ******* 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:19 +0000 (0:00:00.039) 0:00:58.076 ******* 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:19 +0000 (0:00:00.042) 0:00:58.119 ******* 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.029) 0:00:58.148 ******* 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.023) 0:00:58.171 ******* 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.022) 0:00:58.194 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : 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:20 +0000 (0:00:00.704) 0:00:58.898 ******* 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:21 +0000 (0:00:00.909) 0:00:59.807 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:21 +0000 (0:00:00.025) 0:00:59.833 ******* 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:21 +0000 (0:00:00.024) 0:00:59.857 ******* 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:21 +0000 (0:00:00.023) 0:00:59.881 ******* 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:21 +0000 (0:00:00.047) 0:00:59.928 ******* 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:21 +0000 (0:00:00.024) 0:00:59.953 ******* 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:21 +0000 (0:00:00.024) 0:00:59.977 ******* 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:21 +0000 (0:00:00.028) 0:01:00.006 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-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.023) 0:01:00.029 ******* 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.024) 0:01:00.054 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-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.268) 0:01:00.323 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-175246eodug5e/tmpvdkx5utk" } 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:22 +0000 (0:00:00.221) 0:01:00.544 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:22 +0000 (0:00:00.240) 0:01:00.784 ******* 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:22 +0000 (0:00:00.024) 0:01:00.808 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:22 +0000 (0:00:00.025) 0:01:00.834 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:22 +0000 (0:00:00.026) 0:01:00.861 ******* 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:22 +0000 (0:00:00.024) 0:01:00.885 ******* 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:22 +0000 (0:00:00.128) 0:01:01.013 ******* 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:22 +0000 (0:00:00.042) 0:01:01.056 ******* 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:22 +0000 (0:00:00.044) 0:01:01.101 ******* 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:22 +0000 (0:00:00.043) 0:01:01.144 ******* 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:22 +0000 (0:00:00.028) 0:01:01.173 ******* 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:01:01.196 ******* 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.064) 0:01:01.261 ******* 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:23 +0000 (0:00:00.678) 0:01:01.940 ******* 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:24 +0000 (0:00:00.904) 0:01:02.844 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:24 +0000 (0:00:00.023) 0:01:02.868 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:09:24 +0000 (0:00:00.022) 0:01:02.890 ******* 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:24 +0000 (0:00:00.022) 0:01:02.913 ******* 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:24 +0000 (0:00:00.054) 0:01:02.967 ******* 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:24 +0000 (0:00:00.023) 0:01:02.990 ******* 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:24 +0000 (0:00:00.023) 0:01:03.014 ******* 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:24 +0000 (0:00:00.072) 0:01:03.087 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-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.024) 0:01:03.111 ******* 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.024) 0:01:03.135 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-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.224) 0:01:03.360 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-175246eodug5e/tmp4vsyj_1b" } 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:25 +0000 (0:00:00.207) 0:01:03.567 ******* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:25 +0000 (0:00:00.222) 0:01:03.789 ******* 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:25 +0000 (0:00:00.033) 0:01:03.823 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:25 +0000 (0:00:00.026) 0:01:03.849 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:25 +0000 (0:00:00.027) 0:01:03.876 ******* 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:25 +0000 (0:00:00.024) 0:01:03.901 ******* 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:25 +0000 (0:00:00.124) 0:01:04.025 ******* 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:25 +0000 (0:00:00.045) 0:01:04.071 ******* 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:25 +0000 (0:00:00.041) 0:01:04.112 ******* 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:25 +0000 (0:00:00.028) 0:01:04.141 ******* 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:25 +0000 (0:00:00.162) 0:01:04.304 ******* 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:25 +0000 (0:00:00.024) 0:01:04.328 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022437", "end": "2024-02-09 16:09:25.980001", "rc": 1, "start": "2024-02-09 16:09:25.957564" } 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:26 +0000 (0:00:00.154) 0:01:04.482 ******* 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:26 +0000 (0:00:00.024) 0:01:04.506 ******* 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:26 +0000 (0:00:00.024) 0:01:04.530 ******* 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:26 +0000 (0:00:00.023) 0:01:04.554 ******* 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:26 +0000 (0:00:00.025) 0:01:04.580 ******* 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:26 +0000 (0:00:00.025) 0:01:04.605 ******* 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:26 +0000 (0:00:00.026) 0:01:04.631 ******* skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 16:09:26 +0000 (0:00:00.028) 0:01:04.659 ******* 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:26 +0000 (0:00:00.024) 0:01:04.684 ******* 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:26 +0000 (0:00:00.044) 0:01:04.729 ******* ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.050473", "end": "2024-02-09 16:09:26.409327", "rc": 0, "start": "2024-02-09 16:09:26.358854" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. 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:26 +0000 (0:00:00.184) 0:01:04.913 ******* 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:26 +0000 (0:00:00.040) 0:01:04.953 ******* 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:26 +0000 (0:00:00.028) 0:01:04.982 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:21 Friday 09 February 2024 16:09:26 +0000 (0:00:00.152) 0:01:05.134 ******* 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:26 +0000 (0:00:00.040) 0:01:05.175 ******* 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:26 +0000 (0:00:00.047) 0:01:05.223 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003216", "end": "2024-02-09 16:09:26.860612", "rc": 0, "start": "2024-02-09 16:09:26.857396" } STDOUT: bonding_masters eth0 lo rpltstbr 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:26 +0000 (0:00:00.142) 0:01:05.365 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "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:26 +0000 (0:00:00.025) 0:01:05.391 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:24 Friday 09 February 2024 16:09:26 +0000 (0:00:00.024) 0:01:05.415 ******* 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:26 +0000 (0:00:00.049) 0:01:05.465 ******* 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.038) 0:01:05.503 ******* 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.067) 0:01:05.570 ******* 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.031) 0:01:05.601 ******* 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.024) 0:01:05.626 ******* 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.029) 0:01:05.655 ******* 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:27 +0000 (0:00:00.696) 0:01:06.351 ******* 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:28 +0000 (0:00:00.930) 0:01:07.282 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:28 +0000 (0:00:00.027) 0:01:07.309 ******* 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:28 +0000 (0:00:00.025) 0:01:07.334 ******* 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:28 +0000 (0:00:00.024) 0:01:07.359 ******* 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:28 +0000 (0:00:00.045) 0:01:07.404 ******* 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:28 +0000 (0:00:00.033) 0:01:07.437 ******* 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:28 +0000 (0:00:00.027) 0:01:07.465 ******* 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.032) 0:01:07.497 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:09:29 +0000 (0:00:00.028) 0:01:07.526 ******* 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:29 +0000 (0:00:00.073) 0:01:07.600 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : 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:29 +0000 (0:00:00.230) 0:01:07.830 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-175246eodug5e/tmp6sno9j1q" } 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:29 +0000 (0:00:00.208) 0:01:08.038 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:29 +0000 (0:00:00.223) 0:01:08.262 ******* 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:29 +0000 (0:00:00.029) 0:01:08.291 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:29 +0000 (0:00:00.026) 0:01:08.318 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:29 +0000 (0:00:00.026) 0:01:08.344 ******* 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:29 +0000 (0:00:00.022) 0:01:08.367 ******* 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:30 +0000 (0:00:00.133) 0:01:08.501 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/activate_profile.yml:3 Friday 09 February 2024 16:09:30 +0000 (0:00:00.027) 0:01:08.528 ******* 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:30 +0000 (0:00:00.040) 0:01:08.569 ******* 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:30 +0000 (0:00:00.042) 0:01:08.612 ******* 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:30 +0000 (0:00:00.028) 0:01:08.640 ******* 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:30 +0000 (0:00:00.021) 0:01:08.661 ******* 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:30 +0000 (0:00:00.057) 0:01:08.718 ******* 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:30 +0000 (0:00:00.678) 0:01:09.397 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 09 February 2024 16:09:31 +0000 (0:00:00.918) 0:01:10.316 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:31 +0000 (0:00:00.026) 0:01:10.343 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:09:31 +0000 (0:00:00.039) 0:01:10.382 ******* 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:31 +0000 (0:00:00.025) 0:01:10.408 ******* 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:31 +0000 (0:00:00.069) 0:01:10.478 ******* 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:32 +0000 (0:00:00.035) 0:01:10.513 ******* 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:32 +0000 (0:00:00.024) 0:01:10.538 ******* 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:32 +0000 (0:00:00.069) 0:01:10.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 : 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:32 +0000 (0:00:00.024) 0:01:10.632 ******* 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:32 +0000 (0:00:00.025) 0:01:10.657 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : 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:32 +0000 (0:00:00.262) 0:01:10.919 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-175246eodug5e/tmpuu59ayjf" } 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:32 +0000 (0:00:00.265) 0:01:11.185 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:33 +0000 (0:00:00.460) 0:01:11.645 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:09:33 +0000 (0:00:00.024) 0:01:11.669 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:33 +0000 (0:00:00.057) 0:01:11.727 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:33 +0000 (0:00:00.027) 0:01:11.755 ******* 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:33 +0000 (0:00:00.025) 0:01:11.780 ******* 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:33 +0000 (0:00:00.128) 0:01:11.908 ******* 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:33 +0000 (0:00:00.036) 0:01:11.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:33 +0000 (0:00:00.041) 0:01:11.986 ******* 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:33 +0000 (0:00:00.072) 0:01:12.058 ******* 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:33 +0000 (0:00:00.023) 0:01:12.082 ******* 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:33 +0000 (0:00:00.023) 0:01:12.105 ******* 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:34 +0000 (0:00:00.677) 0:01:12.783 ******* 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:35 +0000 (0:00:00.910) 0:01:13.693 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:35 +0000 (0:00:00.032) 0:01:13.726 ******* 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:35 +0000 (0:00:00.024) 0:01:13.751 ******* 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:35 +0000 (0:00:00.025) 0:01:13.776 ******* 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:35 +0000 (0:00:00.046) 0:01:13.823 ******* 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:35 +0000 (0:00:00.054) 0:01:13.878 ******* 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:35 +0000 (0:00:00.024) 0:01:13.903 ******* 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:35 +0000 (0:00:00.029) 0:01:13.932 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:09:35 +0000 (0:00:00.022) 0:01:13.954 ******* 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:35 +0000 (0:00:00.022) 0:01:13.976 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:09:35 +0000 (0:00:00.224) 0:01:14.200 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-175246eodug5e/tmpcipy0at_" } 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:35 +0000 (0:00:00.214) 0:01:14.415 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:36 +0000 (0:00:00.238) 0:01:14.653 ******* 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:36 +0000 (0:00:00.023) 0:01:14.676 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:36 +0000 (0:00:00.025) 0:01:14.701 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:36 +0000 (0:00:00.024) 0:01:14.726 ******* 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:36 +0000 (0:00:00.022) 0:01:14.749 ******* 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:36 +0000 (0:00:00.128) 0:01:14.877 ******* 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:36 +0000 (0:00:00.041) 0:01:14.919 ******* 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:36 +0000 (0:00:00.078) 0:01:14.997 ******* 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:36 +0000 (0:00:00.043) 0:01:15.040 ******* 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:36 +0000 (0:00:00.028) 0:01:15.069 ******* 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:36 +0000 (0:00:00.023) 0:01:15.092 ******* 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:36 +0000 (0:00:00.022) 0:01:15.114 ******* 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:37 +0000 (0:00:00.677) 0:01:15.792 ******* 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:38 +0000 (0:00:00.906) 0:01:16.698 ******* ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:09:38 +0000 (0:00:00.052) 0:01:16.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:38 +0000 (0:00:00.021) 0:01:16.772 ******* 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:38 +0000 (0:00:00.023) 0:01:16.795 ******* 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:38 +0000 (0:00:00.044) 0:01:16.839 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:58 Friday 09 February 2024 16:09:38 +0000 (0:00:00.023) 0:01:16.862 ******* 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:38 +0000 (0:00:00.022) 0:01:16.885 ******* 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:38 +0000 (0:00:00.025) 0:01:16.910 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:99 Friday 09 February 2024 16:09:38 +0000 (0:00:00.024) 0:01:16.935 ******* 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:38 +0000 (0:00:00.023) 0:01:16.958 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:09:38 +0000 (0:00:00.223) 0:01:17.182 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-175246eodug5e/tmpwb4i1lkx" } 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:38 +0000 (0:00:00.205) 0:01:17.387 ******* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:09:39 +0000 (0:00:00.221) 0:01:17.609 ******* 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:39 +0000 (0:00:00.022) 0:01:17.631 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:09:39 +0000 (0:00:00.024) 0:01:17.656 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:09:39 +0000 (0:00:00.024) 0:01:17.680 ******* 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:39 +0000 (0:00:00.022) 0:01:17.702 ******* 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:39 +0000 (0:00:00.157) 0:01:17.859 ******* 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:39 +0000 (0:00:00.046) 0:01:17.906 ******* 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:39 +0000 (0:00:00.039) 0:01:17.946 ******* 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:39 +0000 (0:00:00.024) 0:01:17.970 ******* 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:39 +0000 (0:00:00.129) 0:01:18.100 ******* 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:39 +0000 (0:00:00.022) 0:01:18.122 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022670", "end": "2024-02-09 16:09:39.771283", "rc": 1, "start": "2024-02-09 16:09:39.748613" } 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:39 +0000 (0:00:00.151) 0:01:18.273 ******* 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:39 +0000 (0:00:00.025) 0:01:18.299 ******* 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:39 +0000 (0:00:00.024) 0:01:18.324 ******* 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:39 +0000 (0:00:00.026) 0:01:18.350 ******* 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:39 +0000 (0:00:00.023) 0:01:18.374 ******* 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:39 +0000 (0:00:00.027) 0:01:18.401 ******* 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:39 +0000 (0:00:00.027) 0:01:18.428 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.671319", "end": "2024-02-09 16:09:40.729566", "rc": 0, "start": "2024-02-09 16:09:40.058247" } 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:40 +0000 (0:00:00.813) 0:01:19.241 ******* 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:40 +0000 (0:00:00.026) 0:01:19.268 ******* 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:40 +0000 (0:00:00.025) 0:01:19.294 ******* skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/run_test.yml:47 Friday 09 February 2024 16:09:40 +0000 (0:00:00.032) 0:01:19.327 ******* 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:40 +0000 (0:00:00.026) 0:01:19.353 ******* 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:40 +0000 (0:00:00.046) 0:01:19.399 ******* ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.050230", "end": "2024-02-09 16:09:41.080123", "rc": 0, "start": "2024-02-09 16:09:41.029893" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=337 changed=14 unreachable=0 failed=0 skipped=224 rescued=0 ignored=10 Friday 09 February 2024 16:09:41 +0000 (0:00:00.174) 0:01:19.574 ******* =============================================================================== Verify DNS and ping still work before el repo setup --------------------- 8.32s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/el_repo_setup.yml:3 ----- Verify DNS and ping still work after el repo setup ---------------------- 8.24s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/el_repo_setup.yml:71 ---- linux-system-roles.network : Install packages --------------------------- 2.71s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:30 linux-system-roles.network : Configure networking connection profiles --- 1.88s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 1.32s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable network service --------------------- 1.28s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:108 linux-system-roles.network : Check which packages are installed --------- 1.07s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.06s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.00s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 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 : Enable network service --------------------- 0.95s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:108 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 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---