# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Test change indication on repeat run] ************************************ TASK [Gathering Facts] ********************************************************* Friday 27 May 2022 16:18:10 +0000 (0:00:00.030) 0:00:00.030 ************ ok: [sut] TASK [include_tasks] *********************************************************** Friday 27 May 2022 16:18:11 +0000 (0:00:00.928) 0:00:00.959 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** Friday 27 May 2022 16:18:11 +0000 (0:00:00.064) 0:00:01.024 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Friday 27 May 2022 16:18:11 +0000 (0:00:00.045) 0:00:01.069 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include] ***************************************************************** Friday 27 May 2022 16:18:11 +0000 (0:00:00.046) 0:00:01.116 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** Friday 27 May 2022 16:18:11 +0000 (0:00:00.036) 0:00:01.153 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Friday 27 May 2022 16:18:11 +0000 (0:00:00.034) 0:00:01.188 ************ ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003058", "end": "2022-05-27 16:18:11.793088", "rc": 0, "start": "2022-05-27 16:18:11.790030" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Friday 27 May 2022 16:18:12 +0000 (0:00:00.353) 0:00:01.541 ************ ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Friday 27 May 2022 16:18:12 +0000 (0:00:00.051) 0:00:01.593 ************ ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* Friday 27 May 2022 16:18:12 +0000 (0:00:00.048) 0:00:01.642 ************ ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** Friday 27 May 2022 16:18:14 +0000 (0:00:01.791) 0:00:03.433 ************ changed: [sut] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "testnic1", "type", "veth", "peer", "name", "peertestnic1" ], "delta": "0:00:00.096696", "end": "2022-05-27 16:18:14.057574", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-05-27 16:18:13.960878" } changed: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003756", "end": "2022-05-27 16:18:14.305403", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-05-27 16:18:14.301647" } changed: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.004940", "end": "2022-05-27 16:18:14.525279", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-05-27 16:18:14.520339" } TASK [Set up veth as managed by NetworkManager] ******************************** Friday 27 May 2022 16:18:15 +0000 (0:00:00.841) 0:00:04.275 ************ changed: [sut] => { "changed": true, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.091467", "end": "2022-05-27 16:18:14.885398", "rc": 0, "start": "2022-05-27 16:18:14.793931" } TASK [Delete veth interface testnic1] ****************************************** Friday 27 May 2022 16:18:15 +0000 (0:00:00.359) 0:00:04.634 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** Friday 27 May 2022 16:18:15 +0000 (0:00:00.030) 0:00:04.665 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** Friday 27 May 2022 16:18:15 +0000 (0:00:00.028) 0:00:04.694 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* Friday 27 May 2022 16:18:15 +0000 (0:00:00.029) 0:00:04.723 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* Friday 27 May 2022 16:18:15 +0000 (0:00:00.028) 0:00:04.752 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 27 May 2022 16:18:15 +0000 (0:00:00.028) 0:00:04.781 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/tasks/assert_device_present.yml for sut TASK [include] ***************************************************************** Friday 27 May 2022 16:18:15 +0000 (0:00:00.034) 0:00:04.816 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** Friday 27 May 2022 16:18:15 +0000 (0:00:00.062) 0:00:04.878 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1653668294.054746, "block_size": 4096, "blocks": 0, "ctime": 1653668294.054746, "dev": 20, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 21346, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/testnic1", "lnk_target": "../../devices/virtual/net/testnic1", "mode": "0777", "mtime": 1653668294.054746, "nlink": 1, "path": "/sys/class/net/testnic1", "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 interface testnic1 is present] ******************************* Friday 27 May 2022 16:18:16 +0000 (0:00:00.375) 0:00:05.254 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_role : linux-system-roles.network] ******************************* Friday 27 May 2022 16:18:16 +0000 (0:00:00.035) 0:00:05.289 ************ TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 16:18:16 +0000 (0:00:00.079) 0:00:05.369 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/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] *** Friday 27 May 2022 16:18:16 +0000 (0:00:00.143) 0:00:05.513 ************ 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 services are running] *********** Friday 27 May 2022 16:18:16 +0000 (0:00:00.385) 0:00:05.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 : Check which packages are installed] ********* Friday 27 May 2022 16:18:18 +0000 (0:00:01.753) 0:00:07.652 ************ 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] ********************* Friday 27 May 2022 16:18:20 +0000 (0:00:01.767) 0:00:09.420 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 16:18:20 +0000 (0:00:00.099) 0:00:09.520 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 27 May 2022 16:18:20 +0000 (0:00:00.164) 0:00:09.684 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 16:18:20 +0000 (0:00:00.089) 0:00:09.774 ************ ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ Friday 27 May 2022 16:18:21 +0000 (0:00:00.795) 0:00:10.570 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 16:18:21 +0000 (0:00:00.108) 0:00:10.678 ************ 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] *** Friday 27 May 2022 16:18:21 +0000 (0:00:00.101) 0:00:10.780 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 16:18:21 +0000 (0:00:00.099) 0:00:10.880 ************ changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 (not-active) TASK [linux-system-roles.network : Show stderr messages] *********************** Friday 27 May 2022 16:18:22 +0000 (0:00:00.842) 0:00:11.722 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Friday 27 May 2022 16:18:22 +0000 (0:00:00.088) 0:00:11.811 ************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 27 May 2022 16:18:22 +0000 (0:00:00.081) 0:00:11.892 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** Friday 27 May 2022 16:18:23 +0000 (0:00:00.475) 0:00:12.367 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_role : linux-system-roles.network] ******************************* Friday 27 May 2022 16:18:23 +0000 (0:00:00.097) 0:00:12.464 ************ TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 16:18:23 +0000 (0:00:00.141) 0:00:12.606 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/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] *** Friday 27 May 2022 16:18:23 +0000 (0:00:00.137) 0:00:12.743 ************ ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** Friday 27 May 2022 16:18:23 +0000 (0:00:00.446) 0:00:13.190 ************ 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] ********* Friday 27 May 2022 16:18:25 +0000 (0:00:01.649) 0:00:14.840 ************ ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* Friday 27 May 2022 16:18:27 +0000 (0:00:01.524) 0:00:16.364 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 16:18:27 +0000 (0:00:00.101) 0:00:16.466 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 27 May 2022 16:18:27 +0000 (0:00:00.168) 0:00:16.634 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 16:18:27 +0000 (0:00:00.089) 0:00:16.724 ************ 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] ************ Friday 27 May 2022 16:18:28 +0000 (0:00:00.511) 0:00:17.236 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 16:18:28 +0000 (0:00:00.111) 0:00:17.348 ************ 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] *** Friday 27 May 2022 16:18:28 +0000 (0:00:00.100) 0:00:17.448 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 16:18:28 +0000 (0:00:00.100) 0:00:17.549 ************ ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 skipped because already active TASK [linux-system-roles.network : Show stderr messages] *********************** Friday 27 May 2022 16:18:28 +0000 (0:00:00.558) 0:00:18.107 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Friday 27 May 2022 16:18:29 +0000 (0:00:00.130) 0:00:18.238 ************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.2/24" ] }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 skipped because already active" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 27 May 2022 16:18:29 +0000 (0:00:00.089) 0:00:18.327 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** Friday 27 May 2022 16:18:29 +0000 (0:00:00.274) 0:00:18.601 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_role : linux-system-roles.network] ******************************* Friday 27 May 2022 16:18:29 +0000 (0:00:00.078) 0:00:18.680 ************ TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 16:18:29 +0000 (0:00:00.128) 0:00:18.809 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/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] *** Friday 27 May 2022 16:18:29 +0000 (0:00:00.134) 0:00:18.943 ************ 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 services are running] *********** Friday 27 May 2022 16:18:30 +0000 (0:00:00.451) 0:00:19.394 ************ 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] ********* Friday 27 May 2022 16:18:31 +0000 (0:00:01.671) 0:00:21.066 ************ ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* Friday 27 May 2022 16:18:33 +0000 (0:00:01.541) 0:00:22.608 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 16:18:33 +0000 (0:00:00.153) 0:00:22.761 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 27 May 2022 16:18:33 +0000 (0:00:00.168) 0:00:22.930 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 16:18:33 +0000 (0:00:00.088) 0:00:23.018 ************ 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] ************ Friday 27 May 2022 16:18:34 +0000 (0:00:00.513) 0:00:23.532 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 16:18:34 +0000 (0:00:00.123) 0:00:23.656 ************ 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] *** Friday 27 May 2022 16:18:34 +0000 (0:00:00.096) 0:00:23.752 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 16:18:34 +0000 (0:00:00.109) 0:00:23.862 ************ changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': connection reapplied TASK [linux-system-roles.network : Show stderr messages] *********************** Friday 27 May 2022 16:18:35 +0000 (0:00:00.613) 0:00:24.475 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Friday 27 May 2022 16:18:35 +0000 (0:00:00.082) 0:00:24.558 ************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 (is-modified)\n[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 27 May 2022 16:18:35 +0000 (0:00:00.085) 0:00:24.644 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** Friday 27 May 2022 16:18:35 +0000 (0:00:00.289) 0:00:24.933 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_role : linux-system-roles.network] ******************************* Friday 27 May 2022 16:18:35 +0000 (0:00:00.083) 0:00:25.017 ************ TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 16:18:35 +0000 (0:00:00.140) 0:00:25.157 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/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] *** Friday 27 May 2022 16:18:36 +0000 (0:00:00.139) 0:00:25.296 ************ ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** Friday 27 May 2022 16:18:36 +0000 (0:00:00.459) 0:00:25.755 ************ 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] ********* Friday 27 May 2022 16:18:38 +0000 (0:00:01.679) 0:00:27.434 ************ 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] ********************* Friday 27 May 2022 16:18:39 +0000 (0:00:01.477) 0:00:28.912 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 16:18:39 +0000 (0:00:00.106) 0:00:29.019 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 27 May 2022 16:18:40 +0000 (0:00:00.199) 0:00:29.218 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 16:18:40 +0000 (0:00:00.096) 0:00:29.314 ************ 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] ************ Friday 27 May 2022 16:18:40 +0000 (0:00:00.503) 0:00:29.817 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 16:18:40 +0000 (0:00:00.104) 0:00:29.922 ************ 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] *** Friday 27 May 2022 16:18:40 +0000 (0:00:00.150) 0:00:30.072 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 16:18:40 +0000 (0:00:00.108) 0:00:30.181 ************ ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 skipped because already active TASK [linux-system-roles.network : Show stderr messages] *********************** Friday 27 May 2022 16:18:41 +0000 (0:00:00.572) 0:00:30.754 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Friday 27 May 2022 16:18:41 +0000 (0:00:00.086) 0:00:30.840 ************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": "no", "dhcp4": "no" }, "name": "testnic1", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 0a7d0aa1-065b-485f-adce-d33fb1164a09 skipped because already active" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 27 May 2022 16:18:41 +0000 (0:00:00.090) 0:00:30.931 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** Friday 27 May 2022 16:18:42 +0000 (0:00:00.285) 0:00:31.216 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_role : linux-system-roles.network] ******************************* Friday 27 May 2022 16:18:42 +0000 (0:00:00.085) 0:00:31.302 ************ TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 16:18:42 +0000 (0:00:00.146) 0:00:31.449 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/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] *** Friday 27 May 2022 16:18:42 +0000 (0:00:00.140) 0:00:31.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 : Check which services are running] *********** Friday 27 May 2022 16:18:42 +0000 (0:00:00.450) 0:00:32.040 ************ 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] ********* Friday 27 May 2022 16:18:44 +0000 (0:00:01.641) 0:00:33.682 ************ 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] ********************* Friday 27 May 2022 16:18:45 +0000 (0:00:01.460) 0:00:35.142 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 16:18:46 +0000 (0:00:00.095) 0:00:35.237 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 27 May 2022 16:18:46 +0000 (0:00:00.144) 0:00:35.381 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 16:18:46 +0000 (0:00:00.086) 0:00:35.467 ************ 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] ************ Friday 27 May 2022 16:18:46 +0000 (0:00:00.559) 0:00:36.027 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 16:18:46 +0000 (0:00:00.104) 0:00:36.132 ************ 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] *** Friday 27 May 2022 16:18:47 +0000 (0:00:00.093) 0:00:36.225 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 16:18:47 +0000 (0:00:00.093) 0:00:36.319 ************ changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Show stderr messages] *********************** Friday 27 May 2022 16:18:47 +0000 (0:00:00.593) 0:00:36.912 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Friday 27 May 2022 16:18:47 +0000 (0:00:00.078) 0:00:36.990 ************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "testnic1", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 27 May 2022 16:18:47 +0000 (0:00:00.078) 0:00:37.069 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [include_tasks] *********************************************************** Friday 27 May 2022 16:18:48 +0000 (0:00:00.280) 0:00:37.350 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** Friday 27 May 2022 16:18:48 +0000 (0:00:00.140) 0:00:37.490 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Friday 27 May 2022 16:18:48 +0000 (0:00:00.084) 0:00:37.574 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include] ***************************************************************** Friday 27 May 2022 16:18:48 +0000 (0:00:00.082) 0:00:37.657 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** Friday 27 May 2022 16:18:48 +0000 (0:00:00.133) 0:00:37.790 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Friday 27 May 2022 16:18:48 +0000 (0:00:00.177) 0:00:37.967 ************ ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002885", "end": "2022-05-27 16:18:48.472975", "rc": 0, "start": "2022-05-27 16:18:48.470090" } STDOUT: eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** Friday 27 May 2022 16:18:49 +0000 (0:00:00.306) 0:00:38.274 ************ ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Friday 27 May 2022 16:18:49 +0000 (0:00:00.087) 0:00:38.362 ************ ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* Friday 27 May 2022 16:18:49 +0000 (0:00:00.080) 0:00:38.442 ************ ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** Friday 27 May 2022 16:18:50 +0000 (0:00:01.523) 0:00:39.966 ************ skipping: [sut] => (item=ip link add testnic1 type veth peer name peertestnic1) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add testnic1 type veth peer name peertestnic1", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peertestnic1 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set testnic1 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** Friday 27 May 2022 16:18:50 +0000 (0:00:00.098) 0:00:40.064 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** Friday 27 May 2022 16:18:50 +0000 (0:00:00.085) 0:00:40.150 ************ changed: [sut] => { "changed": true, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.012838", "end": "2022-05-27 16:18:50.659585", "rc": 0, "start": "2022-05-27 16:18:50.646747" } TASK [Create dummy interface testnic1] ***************************************** Friday 27 May 2022 16:18:51 +0000 (0:00:00.310) 0:00:40.461 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** Friday 27 May 2022 16:18:51 +0000 (0:00:00.079) 0:00:40.540 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* Friday 27 May 2022 16:18:51 +0000 (0:00:00.077) 0:00:40.618 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* Friday 27 May 2022 16:18:51 +0000 (0:00:00.132) 0:00:40.750 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=76 changed=6 unreachable=0 failed=0 skipped=40 rescued=0 ignored=0 Friday 27 May 2022 16:18:51 +0000 (0:00:00.024) 0:00:40.775 ************ =============================================================================== Install iproute --------------------------------------------------------- 1.79s linux-system-roles.network : Check which packages are installed --------- 1.77s linux-system-roles.network : Check which services are running ----------- 1.75s linux-system-roles.network : Check which services are running ----------- 1.68s linux-system-roles.network : Check which services are running ----------- 1.67s linux-system-roles.network : Check which services are running ----------- 1.65s linux-system-roles.network : Check which services are running ----------- 1.64s linux-system-roles.network : Check which packages are installed --------- 1.54s linux-system-roles.network : Check which packages are installed --------- 1.52s Install iproute --------------------------------------------------------- 1.52s linux-system-roles.network : Check which packages are installed --------- 1.48s linux-system-roles.network : Check which packages are installed --------- 1.46s Gathering Facts --------------------------------------------------------- 0.93s Create veth interface testnic1 ------------------------------------------ 0.84s linux-system-roles.network : Configure networking connection profiles --- 0.59s linux-system-roles.network : Configure networking connection profiles --- 0.57s linux-system-roles.network : Enable and start NetworkManager ------------ 0.56s linux-system-roles.network : Enable and start NetworkManager ------------ 0.50s linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.46s linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.45s ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/ansible-2.9/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography.exceptions import InvalidSignature ---^---^---^---^---^---