# 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_bridge_initscripts.yml ***************************************** 10 plays in /WORKDIR/git-route_typeeussvy6q/tests/tests_bridge_initscripts.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/tests_bridge_initscripts.yml:5 Friday 12 January 2024 18:40:31 +0000 (0:00:00.013) 0:00:00.013 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typeeussvy6q/tests/tests_bridge_initscripts.yml:8 Friday 12 January 2024 18:40:32 +0000 (0:00:01.050) 0:00:01.063 ******** included: /WORKDIR/git-route_typeeussvy6q/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-route_typeeussvy6q/tests/tasks/el_repo_setup.yml:3 Friday 12 January 2024 18:40:32 +0000 (0:00:00.013) 0:00:01.077 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/tasks/el_repo_setup.yml:19 Friday 12 January 2024 18:40:33 +0000 (0:00:00.265) 0:00:01.343 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/tasks/el_repo_setup.yml:24 Friday 12 January 2024 18:40:33 +0000 (0:00:00.186) 0:00:01.529 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/tasks/el_repo_setup.yml:28 Friday 12 January 2024 18:40:33 +0000 (0:00:00.022) 0:00:01.552 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/tasks/el_repo_setup.yml:53 Friday 12 January 2024 18:40:33 +0000 (0:00:00.019) 0:00:01.571 ******** included: /WORKDIR/git-route_typeeussvy6q/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/tasks/enable_epel.yml:8 Friday 12 January 2024 18:40:33 +0000 (0:00:00.033) 0:00:01.604 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/tasks/enable_epel.yml:24 Friday 12 January 2024 18:40:33 +0000 (0:00:00.011) 0:00:01.616 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/tasks/enable_epel.yml:30 Friday 12 January 2024 18:40:33 +0000 (0:00:00.010) 0:00:01.626 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/tasks/enable_epel.yml:35 Friday 12 January 2024 18:40:33 +0000 (0:00:00.010) 0:00:01.637 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/tasks/enable_epel.yml:40 Friday 12 January 2024 18:40:33 +0000 (0:00:00.011) 0:00:01.648 ******** ok: [sut] => { "changed": false, "checksum": "4bafddfe7badb0971135c888f25df1308b193622", "dest": "/etc/yum.repos.d/epel.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel.repo", "secontext": "system_u:object_r:etc_t:s0", "size": 155, "state": "file", "uid": 0 } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/tests_bridge_initscripts.yml:10 Friday 12 January 2024 18:40:33 +0000 (0:00:00.470) 0:00:02.118 ******** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tests_bridge.yml:3 Friday 12 January 2024 18:40:33 +0000 (0:00:00.012) 0:00:02.131 ******** ok: [sut] META: ran handlers TASK [Set interface=LSR-TST-br31] ********************************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tests_bridge.yml:9 Friday 12 January 2024 18:40:34 +0000 (0:00:00.726) 0:00:02.857 ******** ok: [sut] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tests_bridge.yml:12 Friday 12 January 2024 18:40:34 +0000 (0:00:00.013) 0:00:02.870 ******** included: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:40:34 +0000 (0:00:00.015) 0:00:02.886 ******** included: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:40:34 +0000 (0:00:00.015) 0:00:02.902 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003456", "end": "2024-01-12 18:40:35.014771", "rc": 0, "start": "2024-01-12 18:40:35.011315" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:40:34 +0000 (0:00:00.208) 0:00:03.110 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:40:34 +0000 (0:00:00.013) 0:00:03.123 ******** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Include the task 'assert_device_absent.yml'] ***************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tests_bridge.yml:14 Friday 12 January 2024 18:40:34 +0000 (0:00:00.013) 0:00:03.137 ******** included: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:40:34 +0000 (0:00:00.017) 0:00:03.154 ******** included: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:40:34 +0000 (0:00:00.018) 0:00:03.172 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:40:34 +0000 (0:00:00.126) 0:00:03.299 ******** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tests_bridge.yml:17 Friday 12 January 2024 18:40:34 +0000 (0:00:00.017) 0:00:03.317 ******** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:40:35 +0000 (0:00:00.737) 0:00:04.054 ******** included: /WORKDIR/git-route_typeeussvy6q/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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:40:35 +0000 (0:00:00.066) 0:00:04.121 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:40:35 +0000 (0:00:00.013) 0:00:04.134 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:40:35 +0000 (0:00:00.012) 0:00:04.147 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:40:35 +0000 (0:00:00.012) 0:00:04.159 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:40:37 +0000 (0:00:01.875) 0:00:06.034 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:40:38 +0000 (0:00:00.760) 0:00:06.795 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:40:38 +0000 (0:00:00.022) 0:00:06.817 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:40:38 +0000 (0:00:00.021) 0:00:06.839 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:40:38 +0000 (0:00:00.021) 0:00:06.860 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:40:38 +0000 (0:00:00.044) 0:00:06.905 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:40:38 +0000 (0:00:00.021) 0:00:06.926 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:40:38 +0000 (0:00:00.021) 0:00:06.947 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:40:38 +0000 (0:00:00.025) 0:00:06.973 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:40:38 +0000 (0:00:00.021) 0:00:06.994 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:40:38 +0000 (0:00:00.020) 0:00:07.015 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:40:38 +0000 (0:00:00.285) 0:00:07.300 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7353ju9u_o7m/tmp4rp0ht90" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:40:39 +0000 (0:00:00.222) 0:00:07.523 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31' [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active) [005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='', err='' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:40:39 +0000 (0:00:00.796) 0:00:08.319 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:40:40 +0000 (0:00:00.022) 0:00:08.341 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)", "[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='', err=''" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:40:40 +0000 (0:00:00.023) 0:00:08.365 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)\n[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='', err=''\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)", "[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='', err=''" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:40:40 +0000 (0:00:00.023) 0:00:08.388 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:40:40 +0000 (0:00:00.020) 0:00:08.409 ******** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_present.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/run_tasks.yml:3 Friday 12 January 2024 18:40:40 +0000 (0:00:00.187) 0:00:08.596 ******** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_device_present.yml'] ********************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/run_tasks.yml:6 Friday 12 January 2024 18:40:41 +0000 (0:00:00.782) 0:00:09.378 ******** included: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:40:41 +0000 (0:00:00.034) 0:00:09.413 ******** included: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:40:41 +0000 (0:00:00.061) 0:00:09.474 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705084840.114887, "block_size": 4096, "blocks": 0, "ctime": 1705084840.1138875, "dev": 0, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 6450, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/LSR-TST-br31", "lnk_target": "../../devices/virtual/net/LSR-TST-br31", "mode": "0777", "mtime": 1705084840.1138875, "nlink": 1, "path": "/sys/class/net/LSR-TST-br31", "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 - 'LSR-TST-br31'] ******************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:40:41 +0000 (0:00:00.141) 0:00:09.615 ******** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_present.yml] *********************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/run_tasks.yml:3 Friday 12 January 2024 18:40:41 +0000 (0:00:00.025) 0:00:09.641 ******** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_profile_present.yml'] ********************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/run_tasks.yml:6 Friday 12 January 2024 18:40:42 +0000 (0:00:00.791) 0:00:10.433 ******** included: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:40:42 +0000 (0:00:00.035) 0:00:10.468 ******** included: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:40:42 +0000 (0:00:00.037) 0:00:10.505 ******** 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-route_typeeussvy6q/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:40:42 +0000 (0:00:00.023) 0:00:10.529 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705084839.8320286, "block_size": 4096, "blocks": 8, "ctime": 1705084839.819035, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 18845, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705084839.819035, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 151, "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-route_typeeussvy6q/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:40:42 +0000 (0:00:00.137) 0:00:10.667 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:40:42 +0000 (0:00:00.024) 0:00:10.691 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.005437", "end": "2024-01-12 18:40:42.727097", "rc": 1, "start": "2024-01-12 18:40:42.721660" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:40:42 +0000 (0:00:00.142) 0:00:10.833 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:40:42 +0000 (0:00:00.024) 0:00:10.858 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31" ], "delta": "0:00:00.003390", "end": "2024-01-12 18:40:42.925864", "rc": 0, "start": "2024-01-12 18:40:42.922474" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:40:42 +0000 (0:00:00.175) 0:00:11.033 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:40:42 +0000 (0:00:00.027) 0:00:11.061 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31" ], "delta": "0:00:00.003266", "end": "2024-01-12 18:40:43.097372", "rc": 0, "start": "2024-01-12 18:40:43.094106" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:40:42 +0000 (0:00:00.145) 0:00:11.206 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'LSR-TST-br31'] ********************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:40:42 +0000 (0:00:00.026) 0:00:11.232 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'LSR-TST-br31'] **** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:40:42 +0000 (0:00:00.023) 0:00:11.256 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in LSR-TST-br31] ********** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:40:42 +0000 (0:00:00.026) 0:00:11.283 ******** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Set down {{ profile }}] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/down_profile.yml:3 Friday 12 January 2024 18:40:42 +0000 (0:00:00.029) 0:00:11.312 ******** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:40:43 +0000 (0:00:00.764) 0:00:12.076 ******** included: /WORKDIR/git-route_typeeussvy6q/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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:40:43 +0000 (0:00:00.037) 0:00:12.114 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:40:43 +0000 (0:00:00.026) 0:00:12.140 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:40:43 +0000 (0:00:00.023) 0:00:12.163 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:40:43 +0000 (0:00:00.046) 0:00:12.210 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:40:45 +0000 (0:00:01.611) 0:00:13.821 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:40:46 +0000 (0:00:00.613) 0:00:14.435 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:40:46 +0000 (0:00:00.023) 0:00:14.458 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:40:46 +0000 (0:00:00.023) 0:00:14.481 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:40:46 +0000 (0:00:00.021) 0:00:14.503 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:40:46 +0000 (0:00:00.071) 0:00:14.574 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:40:46 +0000 (0:00:00.022) 0:00:14.596 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:40:46 +0000 (0:00:00.021) 0:00:14.618 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:40:46 +0000 (0:00:00.026) 0:00:14.644 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:40:46 +0000 (0:00:00.022) 0:00:14.666 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:40:46 +0000 (0:00:00.022) 0:00:14.689 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:40:46 +0000 (0:00:00.196) 0:00:14.885 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7353ju9u_o7m/tmp4gcq9rn2" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:40:46 +0000 (0:00:00.209) 0:00:15.094 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:40:47 +0000 (0:00:00.261) 0:00:15.356 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:40:47 +0000 (0:00:00.022) 0:00:15.378 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:40:47 +0000 (0:00:00.023) 0:00:15.401 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active\n", "stderr_lines": [ "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:40:47 +0000 (0:00:00.022) 0:00:15.424 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:40:47 +0000 (0:00:00.022) 0:00:15.446 ******** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/down_profile+delete_interface.yml:5 Friday 12 January 2024 18:40:47 +0000 (0:00:00.139) 0:00:15.585 ******** ok: [sut] META: ran handlers TASK [Include the task 'delete_interface.yml'] ********************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/down_profile+delete_interface.yml:8 Friday 12 January 2024 18:40:48 +0000 (0:00:01.061) 0:00:16.646 ******** included: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/delete_interface.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 18:40:48 +0000 (0:00:00.035) 0:00:16.682 ******** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.033248", "end": "2024-01-12 18:40:48.744873", "rc": 0, "start": "2024-01-12 18:40:48.711625" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/remove_profile.yml:3 Friday 12 January 2024 18:40:48 +0000 (0:00:00.183) 0:00:16.866 ******** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:40:49 +0000 (0:00:00.859) 0:00:17.725 ******** included: /WORKDIR/git-route_typeeussvy6q/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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:40:49 +0000 (0:00:00.040) 0:00:17.765 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:40:49 +0000 (0:00:00.027) 0:00:17.793 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:40:49 +0000 (0:00:00.021) 0:00:17.815 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:40:49 +0000 (0:00:00.050) 0:00:17.865 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:40:51 +0000 (0:00:01.615) 0:00:19.481 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:40:51 +0000 (0:00:00.607) 0:00:20.089 ******** ok: [sut] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:40:51 +0000 (0:00:00.021) 0:00:20.110 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:40:51 +0000 (0:00:00.020) 0:00:20.131 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:40:51 +0000 (0:00:00.022) 0:00:20.153 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:40:51 +0000 (0:00:00.069) 0:00:20.223 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:40:51 +0000 (0:00:00.023) 0:00:20.246 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:40:51 +0000 (0:00:00.023) 0:00:20.270 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:40:51 +0000 (0:00:00.025) 0:00:20.296 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:40:51 +0000 (0:00:00.022) 0:00:20.318 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:40:52 +0000 (0:00:00.023) 0:00:20.342 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:40:52 +0000 (0:00:00.198) 0:00:20.540 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-7353ju9u_o7m/tmpu8bho41b" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:40:52 +0000 (0:00:00.216) 0:00:20.757 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:40:52 +0000 (0:00:00.262) 0:00:21.019 ******** 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-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:40:52 +0000 (0:00:00.022) 0:00:21.041 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:40:52 +0000 (0:00:00.028) 0:00:21.069 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:40:52 +0000 (0:00:00.024) 0:00:21.094 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:40:52 +0000 (0:00:00.021) 0:00:21.116 ******** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_absent.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/run_tasks.yml:3 Friday 12 January 2024 18:40:52 +0000 (0:00:00.133) 0:00:21.249 ******** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_profile_absent.yml'] ********************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/run_tasks.yml:6 Friday 12 January 2024 18:40:53 +0000 (0:00:00.759) 0:00:22.008 ******** included: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:40:53 +0000 (0:00:00.033) 0:00:22.042 ******** included: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:40:53 +0000 (0:00:00.038) 0:00:22.080 ******** 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-route_typeeussvy6q/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:40:53 +0000 (0:00:00.021) 0:00:22.102 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:40:53 +0000 (0:00:00.135) 0:00:22.237 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:40:53 +0000 (0:00:00.022) 0:00:22.260 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.005093", "end": "2024-01-12 18:40:54.294285", "rc": 1, "start": "2024-01-12 18:40:54.289192" } STDERR: /bin/sh: nmcli: command not found MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:40:54 +0000 (0:00:00.145) 0:00:22.406 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:40:54 +0000 (0:00:00.022) 0:00:22.429 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:40:54 +0000 (0:00:00.024) 0:00:22.453 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-LSR-TST-br31] *********************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:40:54 +0000 (0:00:00.023) 0:00:22.477 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-LSR-TST-br31] ******************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:40:54 +0000 (0:00:00.022) 0:00:22.500 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'LSR-TST-br31'] ********************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:40:54 +0000 (0:00:00.022) 0:00:22.523 ******** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_absent.yml] ************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/run_tasks.yml:3 Friday 12 January 2024 18:40:54 +0000 (0:00:00.026) 0:00:22.550 ******** ok: [sut] META: ran handlers TASK [Include the task 'tasks/assert_device_absent.yml'] *********************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/run_tasks.yml:6 Friday 12 January 2024 18:40:54 +0000 (0:00:00.770) 0:00:23.320 ******** included: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:40:55 +0000 (0:00:00.034) 0:00:23.355 ******** included: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:40:55 +0000 (0:00:00.037) 0:00:23.393 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'LSR-TST-br31'] ******************** task path: /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:40:55 +0000 (0:00:00.138) 0:00:23.531 ******** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=86 changed=2 unreachable=0 failed=0 skipped=51 rescued=0 ignored=2 Friday 12 January 2024 18:40:55 +0000 (0:00:00.012) 0:00:23.544 ******** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.88s /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Gathering Facts --------------------------------------------------------- 1.06s /WORKDIR/git-route_typeeussvy6q/tests/playbooks/down_profile+delete_interface.yml:5 Gathering Facts --------------------------------------------------------- 1.05s /WORKDIR/git-route_typeeussvy6q/tests/tests_bridge_initscripts.yml:5 ---------- Gathering Facts --------------------------------------------------------- 0.86s /WORKDIR/git-route_typeeussvy6q/tests/playbooks/remove_profile.yml:3 ---------- linux-system-roles.network : Configure networking connection profiles --- 0.80s /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:122 Gathering Facts --------------------------------------------------------- 0.79s /WORKDIR/git-route_typeeussvy6q/tests/playbooks/run_tasks.yml:3 --------------- Gathering Facts --------------------------------------------------------- 0.78s /WORKDIR/git-route_typeeussvy6q/tests/playbooks/run_tasks.yml:3 --------------- Gathering Facts --------------------------------------------------------- 0.77s /WORKDIR/git-route_typeeussvy6q/tests/playbooks/run_tasks.yml:3 --------------- Gathering Facts --------------------------------------------------------- 0.76s /WORKDIR/git-route_typeeussvy6q/tests/playbooks/down_profile.yml:3 ------------ linux-system-roles.network : Check which packages are installed --------- 0.76s /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.76s /WORKDIR/git-route_typeeussvy6q/tests/playbooks/run_tasks.yml:3 --------------- Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tests_bridge.yml:17 ----------- Gathering Facts --------------------------------------------------------- 0.73s /WORKDIR/git-route_typeeussvy6q/tests/playbooks/tests_bridge.yml:3 ------------ linux-system-roles.network : Check which packages are installed --------- 0.61s /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.61s /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Enable EPEL 6 ----------------------------------------------------------- 0.47s /WORKDIR/git-route_typeeussvy6q/tests/tasks/enable_epel.yml:40 ---------------- linux-system-roles.network : Enable network service --------------------- 0.29s /WORKDIR/git-route_typeeussvy6q/tests/roles/linux-system-roles.network/tasks/main.yml:105 Gather the minimum subset of ansible_facts required by the network role test --- 0.27s /WORKDIR/git-route_typeeussvy6q/tests/tasks/el_repo_setup.yml:3 --------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---