# 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_reapply_nm.yml ************************************************* 2 plays in /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tests_reapply_nm.yml PLAY [Run playbook 'playbooks/tests_reapply.yml' with nm as provider] ********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tests_reapply_nm.yml:6 Friday 09 February 2024 16:06:48 +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_reapply_nm.yml:9 Friday 09 February 2024 16:06:48 +0000 (0:00:00.499) 0:00:00.512 ******* 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:06:48 +0000 (0:00:00.012) 0:00:00.524 ******* 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.076402", "end": "2024-02-09 16:06:57.112756", "rc": 0, "start": "2024-02-09 16:06:49.036354" } STDOUT: 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 PING wildcard.fedoraproject.org (152.19.134.142) 56(84) bytes of data. 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=1 ttl=46 time=19.5 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=2 ttl=46 time=18.9 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=3 ttl=46 time=18.8 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=4 ttl=46 time=18.8 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=5 ttl=46 time=18.8 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 18.821/19.011/19.538/0.306 ms 2620:52:3:1:dead:beef:cafe:fed7 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: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 PING wildcard.fedoraproject.org (152.19.134.142) 56(84) bytes of data. 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=1 ttl=46 time=19.4 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=2 ttl=46 time=18.8 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=3 ttl=46 time=18.8 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=4 ttl=46 time=18.9 ms 64 bytes from vm3.fedora.ibiblio.org (152.19.134.142): icmp_seq=5 ttl=46 time=18.8 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4008ms rtt min/avg/max/mdev = 18.858/18.998/19.450/0.259 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:06:57 +0000 (0:00:08.275) 0:00:08.800 ******* 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:06:57 +0000 (0:00:00.222) 0:00:09.022 ******* 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:06:57 +0000 (0:00:00.193) 0:00:09.215 ******* 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:06:57 +0000 (0:00:00.021) 0:00:09.237 ******* 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:06:57 +0000 (0:00:00.020) 0:00:09.257 ******* 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:06:57 +0000 (0:00:00.034) 0:00:09.291 ******* 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:06:57 +0000 (0:00:00.120) 0:00:09.412 ******* 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:06:58 +0000 (0:00:00.457) 0:00:09.870 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.172557", "end": "2024-02-09 16:06:58.475768", "rc": 0, "start": "2024-02-09 16:06:58.303211" } 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:06:58 +0000 (0:00:00.293) 0:00:10.163 ******* 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:06:58 +0000 (0:00:00.013) 0:00:10.177 ******* 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:06:58 +0000 (0:00:00.011) 0:00:10.188 ******* 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.064299", "end": "2024-02-09 16:07:06.685728", "rc": 0, "start": "2024-02-09 16:06:58.621429" } STDOUT: 2620:52:3:1:dead:beef:cafe:fed6 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 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (8.43.85.73) 56(84) bytes of data. 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=1 ttl=47 time=11.4 ms 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=2 ttl=47 time=11.8 ms 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=3 ttl=47 time=12.2 ms 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=4 ttl=47 time=25.3 ms 64 bytes from proxy03.fedoraproject.org (8.43.85.73): icmp_seq=5 ttl=47 time=10.9 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 10.905/14.374/25.347/5.505 ms 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:2701:4000:5211:dead:beef:fe:fed3 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org PING wildcard.fedoraproject.org (8.43.85.67) 56(84) bytes of data. 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=1 ttl=46 time=10.9 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=2 ttl=46 time=10.3 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=3 ttl=46 time=10.4 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=4 ttl=46 time=10.4 ms 64 bytes from proxy14.fedoraproject.org (8.43.85.67): icmp_seq=5 ttl=46 time=14.1 ms --- wildcard.fedoraproject.org ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4005ms rtt min/avg/max/mdev = 10.398/11.282/14.188/1.471 ms STDERR: + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.fedoraproject.org + ping -c5 mirrors.fedoraproject.org + for host in mirrors.fedoraproject.org mirrors.centos.org + getent hosts mirrors.centos.org + ping -c5 mirrors.centos.org TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tests_reapply_nm.yml:11 Friday 09 February 2024 16:07:06 +0000 (0:00:08.197) 0:00:18.385 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing reapplying the connection] ****************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_reapply.yml:7 Friday 09 February 2024 16:07:06 +0000 (0:00:00.030) 0:00:18.416 ******* ok: [sut] TASK [Show test banner] ******************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_reapply.yml:14 Friday 09 February 2024 16:07:07 +0000 (0:00:00.425) 0:00:18.842 ******* ok: [sut] => {} MSG: Inside states tests TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_reapply.yml:17 Friday 09 February 2024 16:07:07 +0000 (0:00:00.011) 0:00:18.853 ******* 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:07:07 +0000 (0:00:00.014) 0:00:18.868 ******* 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:07:07 +0000 (0:00:00.014) 0:00:18.882 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003659", "end": "2024-02-09 16:07:07.317981", "rc": 0, "start": "2024-02-09 16:07:07.314322" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 09 February 2024 16:07:07 +0000 (0:00:00.124) 0:00:19.007 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/show_interfaces.yml:5 Friday 09 February 2024 16:07:07 +0000 (0:00:00.012) 0:00:19.019 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_reapply.yml:19 Friday 09 February 2024 16:07:07 +0000 (0:00:00.011) 0:00:19.030 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 09 February 2024 16:07:07 +0000 (0:00:00.014) 0:00:19.044 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface rpltstbr] ***************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 16:07:07 +0000 (0:00:00.014) 0:00:19.059 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'rpltstbr'] ************************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 09 February 2024 16:07:07 +0000 (0:00:00.125) 0:00:19.185 ******* ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers 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:07:07 +0000 (0:00:00.012) 0:00:19.197 ******* 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:07:07 +0000 (0:00:00.065) 0:00:19.263 ******* 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:07:07 +0000 (0:00:00.012) 0:00:19.276 ******* 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:07:07 +0000 (0:00:00.011) 0:00:19.287 ******* 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:07:07 +0000 (0:00:00.011) 0:00:19.298 ******* 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:07:08 +0000 (0:00:00.807) 0:00:20.106 ******* 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:07:09 +0000 (0:00:01.139) 0:00:21.246 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:07:09 +0000 (0:00:00.028) 0:00:21.274 ******* 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:07:09 +0000 (0:00:00.039) 0:00:21.313 ******* 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:07:09 +0000 (0:00:00.061) 0:00:21.375 ******* 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:07:09 +0000 (0:00:00.049) 0:00:21.425 ******* 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:07:09 +0000 (0:00:00.021) 0:00:21.447 ******* 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:07:09 +0000 (0:00:00.022) 0:00:21.469 ******* 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:07:09 +0000 (0:00:00.036) 0:00:21.505 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : 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:07:10 +0000 (0:00:00.399) 0:00:21.905 ******* 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:07:10 +0000 (0:00:00.028) 0:00:21.933 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:07:10 +0000 (0:00:00.028) 0:00:21.962 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:07:10 +0000 (0:00:00.023) 0:00:21.985 ******* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:137 Friday 09 February 2024 16:07:10 +0000 (0:00:00.488) 0:00:22.474 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:143 Friday 09 February 2024 16:07:10 +0000 (0:00:00.027) 0:00:22.502 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:147 Friday 09 February 2024 16:07:10 +0000 (0:00:00.025) 0:00:22.527 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:152 Friday 09 February 2024 16:07:10 +0000 (0:00:00.071) 0:00:22.598 ******* 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:07:10 +0000 (0:00:00.033) 0:00:22.631 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_reapply.yml:27 Friday 09 February 2024 16:07:11 +0000 (0:00:00.197) 0:00:22.829 ******* 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:07:11 +0000 (0:00:00.043) 0:00:22.873 ******* 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:07:11 +0000 (0:00:00.037) 0:00:22.911 ******* 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:07:11 +0000 (0:00:00.033) 0:00:22.944 ******* 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:07:11 +0000 (0:00:00.021) 0:00:22.966 ******* 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:07:11 +0000 (0:00:00.024) 0:00:22.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 : 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:07:12 +0000 (0:00:00.818) 0:00:23.809 ******* 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:07:13 +0000 (0:00:01.311) 0:00:25.121 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 09 February 2024 16:07:13 +0000 (0:00:00.023) 0:00:25.145 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 09 February 2024 16:07:13 +0000 (0:00:00.021) 0:00:25.166 ******* 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:07:13 +0000 (0:00:00.022) 0:00:25.189 ******* 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:07:13 +0000 (0:00:00.044) 0:00:25.234 ******* 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:07:13 +0000 (0:00:00.022) 0:00:25.256 ******* 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:07:13 +0000 (0:00:00.022) 0:00:25.279 ******* 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:07:13 +0000 (0:00:00.026) 0:00:25.305 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : 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:07:13 +0000 (0:00:00.298) 0:00:25.604 ******* 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:07:13 +0000 (0:00:00.026) 0:00:25.631 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:116 Friday 09 February 2024 16:07:13 +0000 (0:00:00.023) 0:00:25.654 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Friday 09 February 2024 16:07:14 +0000 (0:00:00.022) 0:00:25.676 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 3fc97d56-b20b-45c0-a7cc-c4d3afb9356b [004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 3fc97d56-b20b-45c0-a7cc-c4d3afb9356b (is-modified) [005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied 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:07:14 +0000 (0:00:00.467) 0:00:26.144 ******* 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:07:14 +0000 (0:00:00.022) 0:00:26.166 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 3fc97d56-b20b-45c0-a7cc-c4d3afb9356b", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 3fc97d56-b20b-45c0-a7cc-c4d3afb9356b (is-modified)", "[005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied" ] } 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:07:14 +0000 (0:00:00.023) 0:00:26.190 ******* 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": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 3fc97d56-b20b-45c0-a7cc-c4d3afb9356b\n[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 3fc97d56-b20b-45c0-a7cc-c4d3afb9356b (is-modified)\n[005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'rpltstbr': add connection rpltstbr, 3fc97d56-b20b-45c0-a7cc-c4d3afb9356b", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 3fc97d56-b20b-45c0-a7cc-c4d3afb9356b (is-modified)", "[005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied" ] } } 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:07:14 +0000 (0:00:00.025) 0:00:26.215 ******* 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:07:14 +0000 (0:00:00.022) 0:00:26.237 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include the task 'assert_device_present.yml'] **************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_reapply.yml:38 Friday 09 February 2024 16:07:14 +0000 (0:00:00.135) 0:00:26.372 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_present.yml:3 Friday 09 February 2024 16:07:14 +0000 (0:00:00.039) 0:00:26.412 ******* included: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface rpltstbr] ***************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 09 February 2024 16:07:14 +0000 (0:00:00.037) 0:00:26.449 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707494834.3780515, "block_size": 4096, "blocks": 0, "ctime": 1707494834.3740516, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17625, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/rpltstbr", "lnk_target": "../../devices/virtual/net/rpltstbr", "mode": "0777", "mtime": 1707494834.3740516, "nlink": 1, "path": "/sys/class/net/rpltstbr", "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 - 'rpltstbr'] *********************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_device_present.yml:5 Friday 09 February 2024 16:07:14 +0000 (0:00:00.139) 0:00:26.589 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'assert_profile_present.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_reapply.yml:40 Friday 09 February 2024 16:07:14 +0000 (0:00:00.023) 0:00:26.613 ******* 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:07:14 +0000 (0:00:00.038) 0:00:26.651 ******* 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:07:15 +0000 (0:00:00.073) 0:00:26.725 ******* 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:07:15 +0000 (0:00:00.023) 0:00:26.748 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1707494834.3720515, "block_size": 4096, "blocks": 8, "ctime": 1707494834.3710515, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25437, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707494834.3710515, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-rpltstbr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 148, "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:07:15 +0000 (0:00:00.145) 0:00:26.894 ******* 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:07:15 +0000 (0:00:00.025) 0:00:26.919 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep rpltstbr | grep /etc", "delta": "0:00:00.024381", "end": "2024-02-09 16:07:15.378459", "rc": 0, "start": "2024-02-09 16:07:15.354078" } STDOUT: rpltstbr /etc/sysconfig/network-scripts/ifcfg-rpltstbr 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:07:15 +0000 (0:00:00.155) 0:00:27.075 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-rpltstbr] *********************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 09 February 2024 16:07:15 +0000 (0:00:00.025) 0:00:27.101 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-rpltstbr] ******************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 09 February 2024 16:07:15 +0000 (0:00:00.027) 0:00:27.129 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-rpltstbr] *************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 09 February 2024 16:07:15 +0000 (0:00:00.024) 0:00:27.154 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-rpltstbr] ************************ task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 09 February 2024 16:07:15 +0000 (0:00:00.025) 0:00:27.179 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'rpltstbr'] ************************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 09 February 2024 16:07:15 +0000 (0:00:00.024) 0:00:27.203 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'rpltstbr'] ******** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 09 February 2024 16:07:15 +0000 (0:00:00.025) 0:00:27.228 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in rpltstbr] ************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 09 February 2024 16:07:15 +0000 (0:00:00.026) 0:00:27.255 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get network_connections output] ****************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_reapply.yml:43 Friday 09 February 2024 16:07:15 +0000 (0:00:00.024) 0:00:27.279 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "# Ansible managed test header", "connections": [ { "ip": { "address": [ "192.0.2.72/31" ], "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'rpltstbr': update connection rpltstbr, 3fc97d56-b20b-45c0-a7cc-c4d3afb9356b [004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 3fc97d56-b20b-45c0-a7cc-c4d3afb9356b (is-modified) [005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied TASK [Show test_module_run] **************************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_reapply.yml:58 Friday 09 February 2024 16:07:15 +0000 (0:00:00.279) 0:00:27.559 ******* ok: [sut] => { "test_module_run": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "# Ansible managed test header", "connections": [ { "ip": { "address": [ "192.0.2.72/31" ], "auto6": false, "dhcp4": false }, "name": "rpltstbr", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'rpltstbr': update connection rpltstbr, 3fc97d56-b20b-45c0-a7cc-c4d3afb9356b\n[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 3fc97d56-b20b-45c0-a7cc-c4d3afb9356b (is-modified)\n[005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'rpltstbr': update connection rpltstbr, 3fc97d56-b20b-45c0-a7cc-c4d3afb9356b", "[004] #0, state:up persistent_state:present, 'rpltstbr': up connection rpltstbr, 3fc97d56-b20b-45c0-a7cc-c4d3afb9356b (is-modified)", "[005] #0, state:up persistent_state:present, 'rpltstbr': connection reapplied" ] } } TASK [Assert that reapply is found in log output] ****************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_reapply.yml:61 Friday 09 February 2024 16:07:15 +0000 (0:00:00.023) 0:00:27.582 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Deactivate the connection and remove the connection profile] ************* task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_reapply.yml:72 Friday 09 February 2024 16:07:15 +0000 (0:00:00.023) 0:00:27.605 ******* fatal: [sut]: FAILED! => { "changed": false } MSG: missing required arguments: __header ...ignoring TASK [Delete the device 'rpltstbr'] ******************************************** task path: /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_reapply.yml:79 Friday 09 February 2024 16:07:16 +0000 (0:00:00.230) 0:00:27.836 ******* ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "rpltstbr" ], "delta": "0:00:00.016440", "end": "2024-02-09 16:07:16.293571", "rc": 0, "start": "2024-02-09 16:07:16.277131" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=60 changed=2 unreachable=0 failed=0 skipped=35 rescued=0 ignored=1 Friday 09 February 2024 16:07:16 +0000 (0:00:00.146) 0:00:27.983 ******* =============================================================================== Verify DNS and ping still work before el repo setup --------------------- 8.28s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/el_repo_setup.yml:3 ----- Verify DNS and ping still work after el repo setup ---------------------- 8.20s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/el_repo_setup.yml:71 ---- linux-system-roles.network : Check which packages are installed --------- 1.31s /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 --------- 1.14s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 0.82s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 0.81s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 0.50s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tests_reapply_nm.yml:6 -------- linux-system-roles.network : Configure networking connection profiles --- 0.49s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 0.47s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:125 Install yum-utils package ----------------------------------------------- 0.46s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/enable_epel.yml:24 ------ Gathering Facts --------------------------------------------------------- 0.43s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_reapply.yml:7 - linux-system-roles.network : Enable and start NetworkManager ------------ 0.40s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Enable and start NetworkManager ------------ 0.30s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:88 Enable EPEL 7 ----------------------------------------------------------- 0.29s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/enable_epel.yml:30 ------ Get network_connections output ------------------------------------------ 0.28s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_reapply.yml:43 Deactivate the connection and remove the connection profile ------------- 0.23s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tests_reapply.yml:72 Gather the minimum subset of ansible_facts required by the network role test --- 0.22s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/el_repo_setup.yml:17 ---- linux-system-roles.network : Re-test connectivity ----------------------- 0.20s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/roles/linux-system-roles.network/tasks/main.yml:158 Check if system is ostree ----------------------------------------------- 0.19s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/tasks/el_repo_setup.yml:33 ---- Get NM profile info ----------------------------------------------------- 0.16s /WORKDIR/git-bond_options_rewritefl_0qcs1/tests/playbooks/tasks/get_profile_stat.yml:25 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---