# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Test change indication on repeat run] ************************************ TASK [Gathering Facts] ********************************************************* Monday 30 May 2022 23:58:23 +0000 (0:00:00.029) 0:00:00.029 ************ ok: [sut] TASK [include_tasks] *********************************************************** Monday 30 May 2022 23:58:24 +0000 (0:00:00.816) 0:00:00.845 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** Monday 30 May 2022 23:58:24 +0000 (0:00:00.033) 0:00:00.879 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Monday 30 May 2022 23:58:24 +0000 (0:00:00.089) 0:00:00.969 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include] ***************************************************************** Monday 30 May 2022 23:58:24 +0000 (0:00:00.038) 0:00:01.007 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** Monday 30 May 2022 23:58:24 +0000 (0:00:00.029) 0:00:01.037 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Monday 30 May 2022 23:58:24 +0000 (0:00:00.028) 0:00:01.066 ************ ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003727", "end": "2022-05-30 23:58:24.327229", "rc": 0, "start": "2022-05-30 23:58:24.323502" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Monday 30 May 2022 23:58:24 +0000 (0:00:00.366) 0:00:01.432 ************ ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 30 May 2022 23:58:25 +0000 (0:00:00.046) 0:00:01.479 ************ ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* Monday 30 May 2022 23:58:25 +0000 (0:00:00.043) 0:00:01.523 ************ ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** Monday 30 May 2022 23:58:28 +0000 (0:00:03.026) 0:00:04.549 ************ 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.083133", "end": "2022-05-30 23:58:27.800626", "item": "ip link add testnic1 type veth peer name peertestnic1", "rc": 0, "start": "2022-05-30 23:58:27.717493" } changed: [sut] => (item=ip link set peertestnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peertestnic1", "up" ], "delta": "0:00:00.003996", "end": "2022-05-30 23:58:28.057097", "item": "ip link set peertestnic1 up", "rc": 0, "start": "2022-05-30 23:58:28.053101" } changed: [sut] => (item=ip link set testnic1 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "testnic1", "up" ], "delta": "0:00:00.006351", "end": "2022-05-30 23:58:28.283971", "item": "ip link set testnic1 up", "rc": 0, "start": "2022-05-30 23:58:28.277620" } TASK [Set up veth as managed by NetworkManager] ******************************** Monday 30 May 2022 23:58:28 +0000 (0:00:00.842) 0:00:05.391 ************ changed: [sut] => { "changed": true, "cmd": [ "nmcli", "d", "set", "testnic1", "managed", "true" ], "delta": "0:00:00.125197", "end": "2022-05-30 23:58:28.679098", "rc": 0, "start": "2022-05-30 23:58:28.553901" } TASK [Delete veth interface testnic1] ****************************************** Monday 30 May 2022 23:58:29 +0000 (0:00:00.398) 0:00:05.790 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface testnic1] ***************************************** Monday 30 May 2022 23:58:29 +0000 (0:00:00.029) 0:00:05.819 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** Monday 30 May 2022 23:58:29 +0000 (0:00:00.028) 0:00:05.848 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* Monday 30 May 2022 23:58:29 +0000 (0:00:00.027) 0:00:05.875 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* Monday 30 May 2022 23:58:29 +0000 (0:00:00.029) 0:00:05.905 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Monday 30 May 2022 23:58:29 +0000 (0:00:00.025) 0:00:05.930 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/tasks/assert_device_present.yml for sut TASK [include] ***************************************************************** Monday 30 May 2022 23:58:29 +0000 (0:00:00.030) 0:00:05.961 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/tasks/get_interface_stat.yml for sut TASK [Get stat for interface testnic1] ***************************************** Monday 30 May 2022 23:58:29 +0000 (0:00:00.057) 0:00:06.018 ************ ok: [sut] => { "changed": false, "stat": { "atime": 1653955107.7937005, "block_size": 4096, "blocks": 0, "ctime": 1653955107.7937005, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24614, "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": 1653955107.7937005, "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] ******************************* Monday 30 May 2022 23:58:29 +0000 (0:00:00.371) 0:00:06.390 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_role : linux-system-roles.network] ******************************* Monday 30 May 2022 23:58:29 +0000 (0:00:00.029) 0:00:06.419 ************ TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Monday 30 May 2022 23:58:30 +0000 (0:00:00.075) 0:00:06.494 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/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] *** Monday 30 May 2022 23:58:30 +0000 (0:00:00.142) 0:00:06.637 ************ 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] *********** Monday 30 May 2022 23:58:30 +0000 (0:00:00.407) 0:00:07.044 ************ 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] ********* Monday 30 May 2022 23:58:32 +0000 (0:00:02.076) 0:00:09.121 ************ 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] ********************* Monday 30 May 2022 23:58:33 +0000 (0:00:01.116) 0:00:10.237 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Monday 30 May 2022 23:58:33 +0000 (0:00:00.167) 0:00:10.405 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 30 May 2022 23:58:34 +0000 (0:00:00.149) 0:00:10.555 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Monday 30 May 2022 23:58:34 +0000 (0:00:00.077) 0:00:10.632 ************ 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] ************ Monday 30 May 2022 23:58:34 +0000 (0:00:00.785) 0:00:11.417 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Monday 30 May 2022 23:58:35 +0000 (0:00:00.097) 0:00:11.515 ************ 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] *** Monday 30 May 2022 23:58:35 +0000 (0:00:00.091) 0:00:11.607 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Monday 30 May 2022 23:58:35 +0000 (0:00:00.089) 0:00:11.696 ************ 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, 17d329ec-7a0e-4daa-877f-315c27595a4c [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c (not-active) TASK [linux-system-roles.network : Show stderr messages] *********************** Monday 30 May 2022 23:58:36 +0000 (0:00:00.897) 0:00:12.594 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Monday 30 May 2022 23:58:36 +0000 (0:00:00.074) 0:00:12.669 ************ 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, 17d329ec-7a0e-4daa-877f-315c27595a4c\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': add connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Monday 30 May 2022 23:58:36 +0000 (0:00:00.080) 0:00:12.749 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** Monday 30 May 2022 23:58:36 +0000 (0:00:00.454) 0:00:13.204 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_role : linux-system-roles.network] ******************************* Monday 30 May 2022 23:58:36 +0000 (0:00:00.070) 0:00:13.275 ************ TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Monday 30 May 2022 23:58:36 +0000 (0:00:00.117) 0:00:13.392 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/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] *** Monday 30 May 2022 23:58:37 +0000 (0:00:00.113) 0:00:13.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 : Check which services are running] *********** Monday 30 May 2022 23:58:37 +0000 (0:00:00.455) 0:00:13.961 ************ ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* Monday 30 May 2022 23:58:39 +0000 (0:00:01.954) 0:00:15.915 ************ 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] ********************* Monday 30 May 2022 23:58:40 +0000 (0:00:00.850) 0:00:16.766 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Monday 30 May 2022 23:58:40 +0000 (0:00:00.091) 0:00:16.858 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 30 May 2022 23:58:40 +0000 (0:00:00.145) 0:00:17.003 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Monday 30 May 2022 23:58:40 +0000 (0:00:00.082) 0:00:17.086 ************ ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ Monday 30 May 2022 23:58:41 +0000 (0:00:00.529) 0:00:17.615 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Monday 30 May 2022 23:58:41 +0000 (0:00:00.106) 0:00:17.722 ************ 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] *** Monday 30 May 2022 23:58:41 +0000 (0:00:00.091) 0:00:17.813 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Monday 30 May 2022 23:58:41 +0000 (0:00:00.089) 0:00:17.903 ************ 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, 17d329ec-7a0e-4daa-877f-315c27595a4c already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c skipped because already active TASK [linux-system-roles.network : Show stderr messages] *********************** Monday 30 May 2022 23:58:41 +0000 (0:00:00.548) 0:00:18.452 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Monday 30 May 2022 23:58:42 +0000 (0:00:00.076) 0:00:18.528 ************ 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, 17d329ec-7a0e-4daa-877f-315c27595a4c already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c skipped because already active" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Monday 30 May 2022 23:58:42 +0000 (0:00:00.073) 0:00:18.602 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** Monday 30 May 2022 23:58:42 +0000 (0:00:00.322) 0:00:18.924 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_role : linux-system-roles.network] ******************************* Monday 30 May 2022 23:58:42 +0000 (0:00:00.075) 0:00:19.000 ************ TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Monday 30 May 2022 23:58:42 +0000 (0:00:00.116) 0:00:19.116 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/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] *** Monday 30 May 2022 23:58:42 +0000 (0:00:00.118) 0:00:19.234 ************ 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] *********** Monday 30 May 2022 23:58:43 +0000 (0:00:00.460) 0:00:19.695 ************ 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] ********* Monday 30 May 2022 23:58:45 +0000 (0:00:01.924) 0:00:21.619 ************ 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] ********************* Monday 30 May 2022 23:58:46 +0000 (0:00:00.887) 0:00:22.507 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Monday 30 May 2022 23:58:46 +0000 (0:00:00.095) 0:00:22.602 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 30 May 2022 23:58:46 +0000 (0:00:00.157) 0:00:22.759 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Monday 30 May 2022 23:58:46 +0000 (0:00:00.091) 0:00:22.851 ************ 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] ************ Monday 30 May 2022 23:58:46 +0000 (0:00:00.529) 0:00:23.380 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Monday 30 May 2022 23:58:46 +0000 (0:00:00.094) 0:00:23.474 ************ 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] *** Monday 30 May 2022 23:58:47 +0000 (0:00:00.091) 0:00:23.565 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Monday 30 May 2022 23:58:47 +0000 (0:00:00.090) 0:00:23.656 ************ 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, 17d329ec-7a0e-4daa-877f-315c27595a4c [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c (is-modified) [005] #0, state:up persistent_state:present, 'testnic1': connection reapplied TASK [linux-system-roles.network : Show stderr messages] *********************** Monday 30 May 2022 23:58:47 +0000 (0:00:00.573) 0:00:24.229 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': update connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Monday 30 May 2022 23:58:47 +0000 (0:00:00.074) 0:00:24.304 ************ 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, 17d329ec-7a0e-4daa-877f-315c27595a4c\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c (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, 17d329ec-7a0e-4daa-877f-315c27595a4c", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c (is-modified)", "[005] #0, state:up persistent_state:present, 'testnic1': connection reapplied" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Monday 30 May 2022 23:58:47 +0000 (0:00:00.119) 0:00:24.423 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:true] ****************************************************** Monday 30 May 2022 23:58:48 +0000 (0:00:00.276) 0:00:24.700 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_role : linux-system-roles.network] ******************************* Monday 30 May 2022 23:58:48 +0000 (0:00:00.076) 0:00:24.776 ************ TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Monday 30 May 2022 23:58:48 +0000 (0:00:00.130) 0:00:24.907 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/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] *** Monday 30 May 2022 23:58:48 +0000 (0:00:00.123) 0:00:25.031 ************ ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** Monday 30 May 2022 23:58:49 +0000 (0:00:00.480) 0:00:25.511 ************ ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* Monday 30 May 2022 23:58:50 +0000 (0:00:01.964) 0:00:27.476 ************ 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] ********************* Monday 30 May 2022 23:58:51 +0000 (0:00:00.853) 0:00:28.329 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Monday 30 May 2022 23:58:51 +0000 (0:00:00.085) 0:00:28.415 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 30 May 2022 23:58:52 +0000 (0:00:00.135) 0:00:28.551 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Monday 30 May 2022 23:58:52 +0000 (0:00:00.077) 0:00:28.628 ************ 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] ************ Monday 30 May 2022 23:58:52 +0000 (0:00:00.512) 0:00:29.141 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Monday 30 May 2022 23:58:52 +0000 (0:00:00.094) 0:00:29.236 ************ 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] *** Monday 30 May 2022 23:58:52 +0000 (0:00:00.082) 0:00:29.319 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Monday 30 May 2022 23:58:52 +0000 (0:00:00.088) 0:00:29.407 ************ 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, 17d329ec-7a0e-4daa-877f-315c27595a4c already up to date [004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c skipped because already active TASK [linux-system-roles.network : Show stderr messages] *********************** Monday 30 May 2022 23:58:53 +0000 (0:00:00.543) 0:00:29.951 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Monday 30 May 2022 23:58:53 +0000 (0:00:00.113) 0:00:30.064 ************ 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, 17d329ec-7a0e-4daa-877f-315c27595a4c already up to date\n[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c skipped because already active\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'testnic1': connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c already up to date", "[004] #0, state:up persistent_state:present, 'testnic1': up connection testnic1, 17d329ec-7a0e-4daa-877f-315c27595a4c skipped because already active" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Monday 30 May 2022 23:58:53 +0000 (0:00:00.072) 0:00:30.137 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert change:false] ***************************************************** Monday 30 May 2022 23:58:53 +0000 (0:00:00.271) 0:00:30.409 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_role : linux-system-roles.network] ******************************* Monday 30 May 2022 23:58:54 +0000 (0:00:00.070) 0:00:30.479 ************ TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Monday 30 May 2022 23:58:54 +0000 (0:00:00.119) 0:00:30.599 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/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] *** Monday 30 May 2022 23:58:54 +0000 (0:00:00.118) 0:00:30.717 ************ 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] *********** Monday 30 May 2022 23:58:54 +0000 (0:00:00.457) 0:00:31.174 ************ 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] ********* Monday 30 May 2022 23:58:56 +0000 (0:00:01.986) 0:00:33.161 ************ 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] ********************* Monday 30 May 2022 23:58:57 +0000 (0:00:00.813) 0:00:33.974 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Monday 30 May 2022 23:58:57 +0000 (0:00:00.089) 0:00:34.064 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Monday 30 May 2022 23:58:57 +0000 (0:00:00.137) 0:00:34.201 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Monday 30 May 2022 23:58:57 +0000 (0:00:00.076) 0:00:34.278 ************ 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] ************ Monday 30 May 2022 23:58:58 +0000 (0:00:00.520) 0:00:34.799 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Monday 30 May 2022 23:58:58 +0000 (0:00:00.101) 0:00:34.900 ************ 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] *** Monday 30 May 2022 23:58:58 +0000 (0:00:00.086) 0:00:34.987 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Monday 30 May 2022 23:58:58 +0000 (0:00:00.088) 0:00:35.075 ************ 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] *********************** Monday 30 May 2022 23:58:59 +0000 (0:00:00.621) 0:00:35.697 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Monday 30 May 2022 23:58:59 +0000 (0:00:00.119) 0:00:35.816 ************ 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] *********************** Monday 30 May 2022 23:58:59 +0000 (0:00:00.073) 0:00:35.890 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [include_tasks] *********************************************************** Monday 30 May 2022 23:58:59 +0000 (0:00:00.275) 0:00:36.165 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** Monday 30 May 2022 23:58:59 +0000 (0:00:00.122) 0:00:36.288 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Monday 30 May 2022 23:58:59 +0000 (0:00:00.068) 0:00:36.356 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include] ***************************************************************** Monday 30 May 2022 23:58:59 +0000 (0:00:00.067) 0:00:36.424 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** Monday 30 May 2022 23:59:00 +0000 (0:00:00.113) 0:00:36.538 ************ included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Monday 30 May 2022 23:59:00 +0000 (0:00:00.111) 0:00:36.649 ************ ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003604", "end": "2022-05-30 23:58:59.783407", "rc": 0, "start": "2022-05-30 23:58:59.779803" } STDOUT: eth0 lo peertestnic1 testnic1 TASK [Set current_interfaces] ************************************************** Monday 30 May 2022 23:59:00 +0000 (0:00:00.283) 0:00:36.932 ************ ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "peertestnic1", "testnic1" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Monday 30 May 2022 23:59:00 +0000 (0:00:00.074) 0:00:37.007 ************ ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo', 'peertestnic1', 'testnic1'] TASK [Install iproute] ********************************************************* Monday 30 May 2022 23:59:00 +0000 (0:00:00.076) 0:00:37.083 ************ ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface testnic1] ****************************************** Monday 30 May 2022 23:59:03 +0000 (0:00:02.803) 0:00:39.887 ************ 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] ******************************** Monday 30 May 2022 23:59:03 +0000 (0:00:00.093) 0:00:39.980 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface testnic1] ****************************************** Monday 30 May 2022 23:59:03 +0000 (0:00:00.070) 0:00:40.051 ************ changed: [sut] => { "changed": true, "cmd": [ "ip", "link", "del", "testnic1", "type", "veth" ], "delta": "0:00:00.012511", "end": "2022-05-30 23:59:03.204423", "rc": 0, "start": "2022-05-30 23:59:03.191912" } TASK [Create dummy interface testnic1] ***************************************** Monday 30 May 2022 23:59:03 +0000 (0:00:00.306) 0:00:40.357 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface testnic1] ***************************************** Monday 30 May 2022 23:59:03 +0000 (0:00:00.076) 0:00:40.433 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface testnic1] ******************************************* Monday 30 May 2022 23:59:04 +0000 (0:00:00.075) 0:00:40.508 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface testnic1] ******************************************* Monday 30 May 2022 23:59:04 +0000 (0:00:00.078) 0:00:40.587 ************ 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 Monday 30 May 2022 23:59:04 +0000 (0:00:00.023) 0:00:40.610 ************ =============================================================================== Install iproute --------------------------------------------------------- 3.03s Install iproute --------------------------------------------------------- 2.80s linux-system-roles.network : Check which services are running ----------- 2.08s linux-system-roles.network : Check which services are running ----------- 1.99s linux-system-roles.network : Check which services are running ----------- 1.96s linux-system-roles.network : Check which services are running ----------- 1.95s linux-system-roles.network : Check which services are running ----------- 1.92s linux-system-roles.network : Check which packages are installed --------- 1.12s linux-system-roles.network : Check which packages are installed --------- 0.89s linux-system-roles.network : Check which packages are installed --------- 0.85s linux-system-roles.network : Check which packages are installed --------- 0.85s Create veth interface testnic1 ------------------------------------------ 0.84s Gathering Facts --------------------------------------------------------- 0.82s linux-system-roles.network : Check which packages are installed --------- 0.81s linux-system-roles.network : Configure networking connection profiles --- 0.62s linux-system-roles.network : Configure networking connection profiles --- 0.54s linux-system-roles.network : Enable and start NetworkManager ------------ 0.52s linux-system-roles.network : Enable and start NetworkManager ------------ 0.51s linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.48s linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.46s ---^---^---^---^---^--- # 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 ---^---^---^---^---^---