# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.14.2] 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.14/lib/python3.9/site-packages/ansible ansible collection location = /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection executable location = /opt/ansible-2.14/bin/ansible-playbook python version = 3.9.13 (main, Jun 24 2022, 15:32:51) [GCC 8.5.0 20210514 (Red Hat 8.5.0-13)] (/opt/ansible-2.14/bin/python3.9) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_unit.yml ******************************************************* 2 plays in /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml PLAY [Setup for test running] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:3 Sunday 12 February 2023 05:31:45 +0000 (0:00:00.583) 0:00:00.583 ******* ok: [sut] TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:6 Sunday 12 February 2023 05:31:57 +0000 (0:00:12.196) 0:00:12.779 ******* included: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/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/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/el_repo_setup.yml:2 Sunday 12 February 2023 05:31:58 +0000 (0:00:01.407) 0:00:14.187 ******* ok: [sut] TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/el_repo_setup.yml:13 Sunday 12 February 2023 05:32:02 +0000 (0:00:04.189) 0:00:18.377 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/el_repo_setup.yml:38 Sunday 12 February 2023 05:32:03 +0000 (0:00:00.980) 0:00:19.358 ******* included: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/enable_epel.yml:4 Sunday 12 February 2023 05:32:04 +0000 (0:00:00.978) 0:00:20.493 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/enable_epel.yml:19 Sunday 12 February 2023 05:32:06 +0000 (0:00:01.932) 0:00:22.426 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/enable_epel.yml:23 Sunday 12 February 2023 05:32:08 +0000 (0:00:01.894) 0:00:24.320 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/enable_epel.yml:30 Sunday 12 February 2023 05:32:10 +0000 (0:00:01.654) 0:00:25.975 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install dependencies] **************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:8 Sunday 12 February 2023 05:32:11 +0000 (0:00:00.983) 0:00:26.959 ******* ok: [sut] => (item=NetworkManager-libnm) => { "ansible_loop_var": "item", "changed": false, "item": "NetworkManager-libnm", "rc": 0, "results": [] } MSG: Nothing to do failed: [sut] (item=python2-gobject-base) => { "ansible_loop_var": "item", "changed": false, "failures": [ "No package python2-gobject-base available." ], "item": "python2-gobject-base", "rc": 1, "results": [] } MSG: Failed to install some of the specified packages ok: [sut] => (item=python3-gobject-base) => { "ansible_loop_var": "item", "changed": false, "item": "python3-gobject-base", "rc": 0, "results": [] } MSG: Nothing to do ok: [sut] => (item=python-gobject-base) => { "ansible_loop_var": "item", "changed": false, "item": "python-gobject-base", "rc": 0, "results": [] } MSG: Nothing to do failed: [sut] (item=python2-mock) => { "ansible_loop_var": "item", "changed": false, "failures": [ "No package python2-mock available." ], "item": "python2-mock", "rc": 1, "results": [] } MSG: Failed to install some of the specified packages ...ignoring PLAY [execute python unit tests] *********************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:21 Sunday 12 February 2023 05:32:41 +0000 (0:00:30.008) 0:00:56.967 ******* ok: [sut] TASK [create tempdir for code to test] ***************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:25 Sunday 12 February 2023 05:32:45 +0000 (0:00:03.751) 0:01:00.718 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsrtest_rghrl7wc", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [get tempfile for tar] **************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:31 Sunday 12 February 2023 05:32:57 +0000 (0:00:12.176) 0:01:12.895 ******* changed: [sut -> localhost] => { "changed": true, "gid": 1001, "group": "jenkins", "mode": "0600", "owner": "jenkins", "path": "/tmp/lsrtest_5qe1sbt5.tar", "size": 0, "state": "file", "uid": 1000090000 } TASK [include_tasks] *********************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:38 Sunday 12 February 2023 05:33:09 +0000 (0:00:12.031) 0:01:24.927 ******* included: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/get_modules_and_utils_paths.yml for sut TASK [set collection paths] **************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/get_modules_and_utils_paths.yml:3 Sunday 12 February 2023 05:33:11 +0000 (0:00:02.057) 0:01:26.984 ******* ok: [sut] => { "ansible_facts": { "collection_paths": [ "/WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection", "/WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection" ] }, "changed": false } TASK [set search paths] ******************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/get_modules_and_utils_paths.yml:13 Sunday 12 February 2023 05:33:15 +0000 (0:00:03.915) 0:01:30.900 ******* ok: [sut] => { "ansible_facts": { "module_utils_search_path": [ "../../module_utils", "../module_utils", "/home/jenkins/.ansible/plugins/module_utils", "/usr/share/ansible/plugins/module_utils" ], "modules_search_path": [ "../../library", "../library", "/home/jenkins/.ansible/plugins/modules", "/usr/share/ansible/plugins/modules" ] }, "changed": false } TASK [find parent directory and path of modules] ******************************* task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/get_modules_and_utils_paths.yml:42 Sunday 12 February 2023 05:33:20 +0000 (0:00:04.932) 0:01:35.832 ******* ok: [sut -> localhost] => { "changed": false, "cmd": "set -euxo pipefail\nfor dir in ../../library ../library /home/jenkins/.ansible/plugins/modules /usr/share/ansible/plugins/modules; do\n if [ -f \"$dir/network_connections.py\" ]; then\n readlink -f \"$(dirname \"$dir\")\"\n basename \"$dir\"\n exit 0\n fi\ndone\nfor dir in /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection; do\n if [ ! -d \"$dir\" ]; then continue; fi\n cd \"$dir\"\n for subdir in ansible_collections/*/*/plugins/modules; do\n if [ -f \"$subdir/network_connections.py\" ]; then\n echo \"$dir\"\n echo \"$subdir\"\n exit 0\n fi\n done\ndone\necho network_connections.py not found\nexit 1\n", "delta": "0:00:00.330360", "end": "2023-02-12 05:33:42.993765", "rc": 0, "start": "2023-02-12 05:33:42.663405" } STDOUT: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2 library STDERR: + for dir in ../../library ../library /home/jenkins/.ansible/plugins/modules /usr/share/ansible/plugins/modules + '[' -f ../../library/network_connections.py ']' + for dir in ../../library ../library /home/jenkins/.ansible/plugins/modules /usr/share/ansible/plugins/modules + '[' -f ../library/network_connections.py ']' ++ dirname ../library + readlink -f .. + basename ../library + exit 0 TASK [find parent directory and path of module_utils] ************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/get_modules_and_utils_paths.yml:69 Sunday 12 February 2023 05:33:44 +0000 (0:00:24.208) 0:02:00.040 ******* ok: [sut -> localhost] => { "changed": false, "cmd": "set -euxo pipefail\nfor dir in ../../module_utils ../module_utils /home/jenkins/.ansible/plugins/module_utils /usr/share/ansible/plugins/module_utils; do\n if [ -d \"$dir/network_lsr\" ]; then\n readlink -f \"$(dirname \"$dir\")\"\n basename \"$dir\"\n exit 0\n fi\ndone\nfor dir in /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/.collection; do\n if [ ! -d \"$dir\" ]; then continue; fi\n cd \"$dir\"\n for subdir in ansible_collections/*/*/plugins/module_utils; do\n if [ -d \"$subdir/network_lsr\" ]; then\n echo \"$dir\"\n echo \"$subdir\"\n exit 0\n fi\n done\ndone\necho network_lsr not found\nexit 1\n", "delta": "0:00:00.319209", "end": "2023-02-12 05:33:55.642325", "rc": 0, "start": "2023-02-12 05:33:55.323116" } STDOUT: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2 module_utils STDERR: + for dir in ../../module_utils ../module_utils /home/jenkins/.ansible/plugins/module_utils /usr/share/ansible/plugins/module_utils + '[' -d ../../module_utils/network_lsr ']' + for dir in ../../module_utils ../module_utils /home/jenkins/.ansible/plugins/module_utils /usr/share/ansible/plugins/module_utils + '[' -d ../module_utils/network_lsr ']' ++ dirname ../module_utils + readlink -f .. + basename ../module_utils + exit 0 TASK [Create Tar file] ********************************************************* task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:44 Sunday 12 February 2023 05:33:56 +0000 (0:00:12.033) 0:02:12.073 ******* changed: [sut -> localhost] => { "changed": true, "cmd": [ "tar", "-cvf", "/tmp/lsrtest_5qe1sbt5.tar", "--exclude", "*.pyc", "--exclude", "__pycache__", "-C", "/WORKDIR/dist-git-network-weekly-ci-suv2wf_2", "library", "-C", "/WORKDIR/dist-git-network-weekly-ci-suv2wf_2", "module_utils" ], "delta": "0:00:00.379806", "end": "2023-02-12 05:34:08.314540", "rc": 0, "start": "2023-02-12 05:34:07.934734" } STDOUT: library/ library/__init__.py library/network_connections.py library/network_state.py module_utils/ module_utils/network_lsr/ module_utils/network_lsr/__init__.py module_utils/network_lsr/argument_validator.py module_utils/network_lsr/ethtool.py module_utils/network_lsr/myerror.py module_utils/network_lsr/nm/ module_utils/network_lsr/nm/__init__.py module_utils/network_lsr/nm/active_connection.py module_utils/network_lsr/nm/client.py module_utils/network_lsr/nm/connection.py module_utils/network_lsr/nm/error.py module_utils/network_lsr/nm/provider.py module_utils/network_lsr/nm_provider.py module_utils/network_lsr/utils.py TASK [Copy testrepo.tar to the remote system] ********************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:54 Sunday 12 February 2023 05:34:09 +0000 (0:00:13.104) 0:02:25.178 ******* changed: [sut] => { "changed": true, "checksum": "f01bb6e8ab216d97e4e36f4eb25197c0520a280e", "dest": "/tmp/lsrtest_rghrl7wc/lsrtest_5qe1sbt5.tar", "gid": 0, "group": "root", "md5sum": "bf321c2f9f3276acb95be430e2d753ab", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 266240, "src": "/root/.ansible/tmp/ansible-tmp-1676180052.5876224-15948-129345091433628/source", "state": "file", "uid": 0 } TASK [Untar testrepo.tar] ****************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:60 Sunday 12 February 2023 05:34:34 +0000 (0:00:24.710) 0:02:49.888 ******* changed: [sut] => { "changed": true, "cmd": [ "tar", "-xvf", "lsrtest_5qe1sbt5.tar" ], "delta": "0:00:00.067561", "end": "2023-02-12 05:34:37.202899", "rc": 0, "start": "2023-02-12 05:34:37.135338" } STDOUT: library/ library/__init__.py library/network_connections.py library/network_state.py module_utils/ module_utils/network_lsr/ module_utils/network_lsr/__init__.py module_utils/network_lsr/argument_validator.py module_utils/network_lsr/ethtool.py module_utils/network_lsr/myerror.py module_utils/network_lsr/nm/ module_utils/network_lsr/nm/__init__.py module_utils/network_lsr/nm/active_connection.py module_utils/network_lsr/nm/client.py module_utils/network_lsr/nm/connection.py module_utils/network_lsr/nm/error.py module_utils/network_lsr/nm/provider.py module_utils/network_lsr/nm_provider.py module_utils/network_lsr/utils.py TASK [Create /tmp/lsrtest_rghrl7wc/ansible/module_utils] *********************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:65 Sunday 12 February 2023 05:34:37 +0000 (0:00:03.575) 0:02:53.464 ******* changed: [sut] => (item=/tmp/lsrtest_rghrl7wc/ansible) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": "/tmp/lsrtest_rghrl7wc/ansible", "mode": "0755", "owner": "root", "path": "/tmp/lsrtest_rghrl7wc/ansible", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } changed: [sut] => (item=/tmp/lsrtest_rghrl7wc/ansible/module_utils) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": "/tmp/lsrtest_rghrl7wc/ansible/module_utils", "mode": "0755", "owner": "root", "path": "/tmp/lsrtest_rghrl7wc/ansible/module_utils", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Move module_utils to ansible directory] ********************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:74 Sunday 12 February 2023 05:34:48 +0000 (0:00:11.017) 0:03:04.566 ******* changed: [sut] => { "changed": true, "cmd": "if [ -d /tmp/lsrtest_rghrl7wc/module_utils ]; then\n mv /tmp/lsrtest_rghrl7wc/module_utils /tmp/lsrtest_rghrl7wc/ansible\nfi\n", "delta": "0:00:00.007707", "end": "2023-02-12 05:34:50.066013", "rc": 0, "start": "2023-02-12 05:34:50.058306" } TASK [Fake out python module directories, primarily for python2] *************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:80 Sunday 12 February 2023 05:34:50 +0000 (0:00:01.345) 0:03:05.911 ******* changed: [sut] => { "changed": true, "cmd": "for dir in $(find /tmp/lsrtest_rghrl7wc -type d -print); do\n if [ ! -f \"$dir/__init__.py\" ]; then\n touch \"$dir/__init__.py\"\n fi\ndone\n", "delta": "0:00:00.008859", "end": "2023-02-12 05:34:51.411190", "rc": 0, "start": "2023-02-12 05:34:51.402331" } TASK [Copy unit test to remote system] ***************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:88 Sunday 12 February 2023 05:34:52 +0000 (0:00:01.618) 0:03:07.530 ******* changed: [sut] => { "changed": true, "checksum": "e999028b828c1d91c3ebb4b296f6c3ffdc5c849e", "dest": "/tmp/lsrtest_rghrl7wc/test_network_connections.py", "gid": 0, "group": "root", "md5sum": "8ab098de5d79f2508bcce29fff2be0d0", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 192591, "src": "/root/.ansible/tmp/ansible-tmp-1676180093.5149567-15987-250703017863241/source", "state": "file", "uid": 0 } TASK [Set _lsr_python_path] **************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:94 Sunday 12 February 2023 05:35:00 +0000 (0:00:08.347) 0:03:15.878 ******* ok: [sut] => { "ansible_facts": { "_lsr_python_path": "/tmp/lsrtest_rghrl7wc/library:/tmp/lsrtest_rghrl7wc/ansible/module_utils:/tmp/lsrtest_rghrl7wc/module_utils:/tmp/lsrtest_rghrl7wc" }, "changed": false } TASK [ls -alrtFR /tmp/lsrtest_rghrl7wc] **************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:98 Sunday 12 February 2023 05:35:01 +0000 (0:00:00.724) 0:03:16.602 ******* changed: [sut] => { "changed": true, "cmd": [ "ls", "-alrtFR", "/tmp/lsrtest_rghrl7wc" ], "delta": "0:00:00.006827", "end": "2023-02-12 05:35:02.620070", "rc": 0, "start": "2023-02-12 05:35:02.613243" } STDOUT: /tmp/lsrtest_rghrl7wc: total 456 drwxr-xr-x. 2 1000090000 1001 79 Feb 11 23:25 library/ -rw-------. 1 root root 266240 Feb 12 05:34 lsrtest_5qe1sbt5.tar -rw-r--r--. 1 root root 0 Feb 12 05:34 __init__.py drwxr-xr-x. 3 root root 45 Feb 12 05:34 ansible/ -rw-r--r--. 1 root root 192591 Feb 12 05:34 test_network_connections.py drwx------. 4 root root 118 Feb 12 05:34 ./ drwxrwxrwt. 12 root root 4096 Feb 12 05:35 ../ /tmp/lsrtest_rghrl7wc/library: total 108 -rw-r--r--. 1 1000090000 1001 2105 Feb 11 23:25 network_state.py -rw-r--r--. 1 1000090000 1001 103027 Feb 11 23:25 network_connections.py -rw-r--r--. 1 1000090000 1001 0 Feb 11 23:25 __init__.py drwxr-xr-x. 2 1000090000 1001 79 Feb 11 23:25 ./ drwx------. 4 root root 118 Feb 12 05:34 ../ /tmp/lsrtest_rghrl7wc/ansible: total 0 -rw-r--r--. 1 root root 0 Feb 12 05:34 __init__.py drwxr-xr-x. 3 root root 45 Feb 12 05:34 ./ drwxr-xr-x. 3 1000090000 1001 44 Feb 12 05:34 module_utils/ drwx------. 4 root root 118 Feb 12 05:34 ../ /tmp/lsrtest_rghrl7wc/ansible/module_utils: total 0 drwxr-xr-x. 3 1000090000 1001 138 Feb 11 23:25 network_lsr/ drwxr-xr-x. 3 root root 45 Feb 12 05:34 ../ -rw-r--r--. 1 root root 0 Feb 12 05:34 __init__.py drwxr-xr-x. 3 1000090000 1001 44 Feb 12 05:34 ./ /tmp/lsrtest_rghrl7wc/ansible/module_utils/network_lsr: total 132 -rw-r--r--. 1 1000090000 1001 11351 Feb 11 23:25 utils.py -rw-r--r--. 1 1000090000 1001 1594 Feb 11 23:25 nm_provider.py drwxr-xr-x. 2 1000090000 1001 126 Feb 11 23:25 nm/ -rw-r--r--. 1 1000090000 1001 190 Feb 11 23:25 myerror.py -rw-r--r--. 1 1000090000 1001 0 Feb 11 23:25 __init__.py -rw-r--r--. 1 1000090000 1001 1760 Feb 11 23:25 ethtool.py -rw-r--r--. 1 1000090000 1001 107741 Feb 11 23:25 argument_validator.py drwxr-xr-x. 3 1000090000 1001 138 Feb 11 23:25 ./ drwxr-xr-x. 3 1000090000 1001 44 Feb 12 05:34 ../ /tmp/lsrtest_rghrl7wc/ansible/module_utils/network_lsr/nm: total 24 -rw-r--r--. 1 1000090000 1001 3154 Feb 11 23:25 provider.py -rw-r--r--. 1 1000090000 1001 343 Feb 11 23:25 __init__.py -rw-r--r--. 1 1000090000 1001 175 Feb 11 23:25 error.py -rw-r--r--. 1 1000090000 1001 3546 Feb 11 23:25 connection.py -rw-r--r--. 1 1000090000 1001 2834 Feb 11 23:25 client.py -rw-r--r--. 1 1000090000 1001 4012 Feb 11 23:25 active_connection.py drwxr-xr-x. 3 1000090000 1001 138 Feb 11 23:25 ../ drwxr-xr-x. 2 1000090000 1001 126 Feb 11 23:25 ./ TASK [debug] ******************************************************************* task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:100 Sunday 12 February 2023 05:35:03 +0000 (0:00:02.118) 0:03:18.721 ******* ok: [sut] => {} MSG: path /tmp/lsrtest_rghrl7wc/library:/tmp/lsrtest_rghrl7wc/ansible/module_utils:/tmp/lsrtest_rghrl7wc/module_utils:/tmp/lsrtest_rghrl7wc TASK [Check if python2 is available] ******************************************* task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:103 Sunday 12 February 2023 05:35:04 +0000 (0:00:00.850) 0:03:19.571 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "python2 --version", "rc": 2 } MSG: [Errno 2] No such file or directory: b'python2' ...ignoring TASK [Run python2 unit tests] ************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:109 Sunday 12 February 2023 05:35:05 +0000 (0:00:01.926) 0:03:21.497 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if python3 is available] ******************************************* task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:118 Sunday 12 February 2023 05:35:06 +0000 (0:00:00.113) 0:03:21.611 ******* changed: [sut] => { "changed": true, "cmd": [ "python3", "--version" ], "delta": "0:00:00.003846", "end": "2023-02-12 05:35:06.400284", "rc": 0, "start": "2023-02-12 05:35:06.396438" } STDOUT: Python 3.9.16 TASK [Run python3 unit tests] ************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:124 Sunday 12 February 2023 05:35:06 +0000 (0:00:00.358) 0:03:21.970 ******* changed: [sut] => { "changed": true, "cmd": [ "python3", "/tmp/lsrtest_rghrl7wc/test_network_connections.py", "--verbose" ], "delta": "0:00:00.692747", "end": "2023-02-12 05:35:07.502816", "rc": 0, "start": "2023-02-12 05:35:06.810069" } STDERR: test_connection_ensure_setting (__main__.TestNM) ... ok test_connection_list (__main__.TestNM) ... ok test_path_to_glib_bytes (__main__.TestNM) ... ok test_link_read_permaddress (__main__.TestSysUtils) ... ok test_convert_passwd_flags_nm (__main__.TestUtils) ... ok test_mac_ntoa (__main__.TestUtils) ... ok test_802_1x_1 (__main__.TestValidator) Test private key with password ... ok test_802_1x_2 (__main__.TestValidator) Test 802.1x profile with unencrypted private key, ... ok test_802_1x_3 (__main__.TestValidator) Test 802.1x profile with unencrypted private key and ca_path ... ok test_802_1x_ca_path_and_system_ca_certs (__main__.TestValidator) should fail if ca_path and system_ca_certs are used together ... ok test_802_1x_initscripts (__main__.TestValidator) should fail to create ieee802_1x connection with initscripts ... ok test_802_1x_unsupported_type (__main__.TestValidator) should fail if a non ethernet/wireless connection has 802.1x settings defined ... ok test_absent (__main__.TestValidator) ... ok test_auto6_enabled_ipv6_disabled (__main__.TestValidator) Test that enabling `auto6` and disabling IPv6 are mutually exclusive. ... ok test_auto_gateway_false (__main__.TestValidator) ... ok test_auto_gateway_no_gateway (__main__.TestValidator) ... ok test_auto_gateway_true (__main__.TestValidator) ... ok test_bond (__main__.TestValidator) ... ok test_bond_active_backup (__main__.TestValidator) ... ok test_bridge2 (__main__.TestValidator) ... ok test_bridge_no_dhcp4_auto6 (__main__.TestValidator) ... ok test_default_states (__main__.TestValidator) ... ok test_default_states_type (__main__.TestValidator) ... ok test_deprecated_ethtool_names (__main__.TestValidator) Test that for each validator in ... ok test_dns_options_argvalidator (__main__.TestValidator) Test that argvalidator for validating dns_options value is correctly defined. ... ok test_dns_search_without_ipv4_and_ipv6_configuration (__main__.TestValidator) Test that configuring DNS search setting is not allowed when both IPv4 and ... ok test_empty (__main__.TestValidator) ... ok test_ethernet_mac_address (__main__.TestValidator) ... ok test_ethernet_speed_settings (__main__.TestValidator) ... ok test_ethernet_two_defaults (__main__.TestValidator) ... ok test_full_state_absent_defaults (__main__.TestValidator) ... ok test_full_state_absent_no_type (__main__.TestValidator) ... ok test_full_state_present_no_type (__main__.TestValidator) ... ok test_full_state_present_type_defaults (__main__.TestValidator) ... ok test_gateway6_configured_ipv6_disabled (__main__.TestValidator) Test that configuring `gateway6` and disabling IPv6 are mutually exclusive. ... ok test_infiniband (__main__.TestValidator) ... ok test_infiniband2 (__main__.TestValidator) ... ok test_infiniband3 (__main__.TestValidator) ... ok test_interface_name_bond_empty_interface_name (__main__.TestValidator) ... ok test_interface_name_bond_profile_as_interface_name (__main__.TestValidator) ... ok test_interface_name_ethernet_None (__main__.TestValidator) Check that interface_name cannot be None ... ok test_interface_name_ethernet_default (__main__.TestValidator) Use the profile name as interface_name for ethernet profiles ... ok test_interface_name_ethernet_empty (__main__.TestValidator) Allow not to restrict the profile to an interface ... ok test_interface_name_ethernet_explicit (__main__.TestValidator) Use the explicitly provided interface name ... ok test_interface_name_ethernet_invalid_interface_name (__main__.TestValidator) ... ok test_interface_name_ethernet_invalid_profile (__main__.TestValidator) Require explicit interface_name when the profile name is not a ... ok test_interface_name_ethernet_mac (__main__.TestValidator) Do not set interface_name when mac is specified ... ok test_invalid_autoconnect (__main__.TestValidator) ... ok test_invalid_cert_path (__main__.TestValidator) should fail if a relative path is used for 802.1x certs/keys ... ok test_invalid_ethtool_settings (__main__.TestValidator) When both the deprecated and current version of a feature are stated, ... ok test_invalid_mac (__main__.TestValidator) ... ok test_invalid_password_flag (__main__.TestValidator) should fail if an invalid private key password flag is set ... ok test_invalid_persistent_state_down (__main__.TestValidator) ... ok test_invalid_persistent_state_up (__main__.TestValidator) ... ok test_invalid_state_test (__main__.TestValidator) ... ok test_invalid_values (__main__.TestValidator) ... ok test_ipv4_dns_without_ipv4_config (__main__.TestValidator) Test that configuring IPv4 DNS is not allowed when IPv4 is disabled. ... ok test_ipv6_dns_options_without_ipv6_config (__main__.TestValidator) Test that configuring IPv6 DNS options is not allowed when IPv6 is disabled. ... ok test_ipv6_dns_with_ipv6_disabled (__main__.TestValidator) Test that configuring IPv6 DNS is not allowed when IPv6 is disabled. ... ok test_ipv6_dns_with_static_ipv6_configuration (__main__.TestValidator) Test that configuring IPv6 DNS is allowed when static IPv6 is configured. ... ok test_ipv6_dns_without_ipv6_configuration (__main__.TestValidator) Test that configuring IPv6 DNS is not allowed when IPv6 is not configured. ... ok test_ipv6_static (__main__.TestValidator) ... ok test_macvlan (__main__.TestValidator) ... ok test_persistent_state_absent (__main__.TestValidator) ... ok test_persistent_state_present (__main__.TestValidator) ... ok test_route_metric6_configured_ipv6_disabled (__main__.TestValidator) Test that configuring `route_metric6` and disabling IPv6 are mutually ... ok test_route_metric_prefix (__main__.TestValidator) ... ok test_route_v6 (__main__.TestValidator) ... ok test_routes (__main__.TestValidator) ... ok test_set_deprecated_ethtool_feature (__main__.TestValidator) When passing a deprecated name, their current version is updated. ... ok test_set_deprecated_master (__main__.TestValidator) wokeignore:rule=master ... ok test_set_deprecated_slave_type (__main__.TestValidator) wokeignore:rule=slave ... ok test_set_ethtool_feature (__main__.TestValidator) When passing the name of an non-deprecated ethtool feature, their ... ok test_state_absent (__main__.TestValidator) ... ok test_state_absent_down (__main__.TestValidator) ... ok test_state_absent_up_no_type (__main__.TestValidator) ... ok test_state_absent_up_type (__main__.TestValidator) ... ok test_state_down_no_type (__main__.TestValidator) ... ok test_state_present (__main__.TestValidator) ... ok test_state_present_down (__main__.TestValidator) ... ok test_state_present_up (__main__.TestValidator) ... ok test_state_up_no_type (__main__.TestValidator) ... ok test_state_up_type (__main__.TestValidator) ... ok test_static_ipv6_configured_ipv6_disabled (__main__.TestValidator) Test that configuring static IPv6 and disabling IPv6 are mutually exclusive. ... ok test_up_ethernet (__main__.TestValidator) ... ok test_up_ethernet_mac_mtu_static_ip (__main__.TestValidator) ... ok test_up_ethernet_no_autoconnect (__main__.TestValidator) ... ok test_up_single_v4_dns (__main__.TestValidator) ... ok test_valid_persistent_state (__main__.TestValidator) Test that when persistent_state is present and state is set to present ... ok test_validate_allow_empty_string_in_list (__main__.TestValidator) Test that when ArgValidatorStr.allow_empty is True, empty string is allowed in ... ok test_validate_bool (__main__.TestValidator) ... ok test_validate_dict (__main__.TestValidator) ... ok test_validate_disallow_none_in_list (__main__.TestValidator) Test that None is not allowed in ArgValidatorList ... ok test_validate_int (__main__.TestValidator) ... ok test_validate_list (__main__.TestValidator) ... ok test_validate_list_remove_none_or_empty (__main__.TestValidator) Test that when ArgValidatorStr.remove_none_or_empty is True, None or empty ... ok test_validate_range (__main__.TestValidator) ... ok test_validate_str (__main__.TestValidator) ... ok test_vlan (__main__.TestValidator) ... ok test_wireless_eap (__main__.TestValidator) Test wireless connection with wpa-eap ... ok test_wireless_initscripts (__main__.TestValidator) should fail to create wireless connection with initscripts ... ok test_wireless_no_802_1x_for_wpa_eap (__main__.TestValidator) should fail if no 802.1x parameters are defined for a wireless ... ok test_wireless_no_options_defined (__main__.TestValidator) should fail if a connection of type='wireless' does not ... ok test_wireless_no_password (__main__.TestValidator) should fail if wpa-psk is selected and no password provided ... ok test_wireless_password_too_long (__main__.TestValidator) should fail if wpa-psk is selected and no password provided ... ok test_wireless_psk (__main__.TestValidator) Test wireless connection with wpa-psk auth ... ok test_wireless_ssid_too_long (__main__.TestValidator) should fail if ssid longer than 32 bytes ... ok test_wireless_unsupported_type (__main__.TestValidator) should fail if a non wireless connection has wireless settings defined ... ok test_invalid_bond_option_ad (__main__.TestValidatorDictBond) Test the ad bond option restrictions ... ok test_invalid_bond_option_arp (__main__.TestValidatorDictBond) Test the arp bond option restrictions ... ok test_invalid_bond_option_downdelay_updelay (__main__.TestValidatorDictBond) Test the downdelay or updelay bond option restrictions ... ok test_invalid_bond_option_infiniband_port (__main__.TestValidatorDictBond) Test that bond only supports infiniband ports in active-backup mode ... ok test_invalid_bond_option_packets_per_port (__main__.TestValidatorDictBond) Test the packets_per_port bond option restrictions ... ok test_invalid_bond_option_peer_arp_ip_target_arp_interval (__main__.TestValidatorDictBond) Test the arp_ip_target or arp_interval bond option restrictions ... ok test_invalid_bond_option_peer_notif_delay (__main__.TestValidatorDictBond) Test the peer_notif_delay bond option restrictions ... ok test_invalid_bond_option_primary (__main__.TestValidatorDictBond) Test the primary bond option restrictions ... ok test_invalid_bond_option_tlb_dynamic_lb (__main__.TestValidatorDictBond) Test the tlb_dynamic_lb bond option restrictions ... ok test_invalid_pkey_values (__main__.TestValidatorDictInfiniband) ... ok test_interface_name_and_match_when_match_is_None (__main__.TestValidatorMatch) Test that when 'match' setting is None, interface name should be profile name ... ok test_interface_name_when_match_not_specified (__main__.TestValidatorMatch) Test that when 'match' setting is not specified, interface name should be ... ok test_interface_name_when_match_path_is_empty_list (__main__.TestValidatorMatch) Test that when 'match.path' setting is empty list, interface name should be ... ok test_interface_name_when_match_path_is_valid (__main__.TestValidatorMatch) Test that when 'match.path' setting contains interface path, interface name ... ok test_match_path_empty_list (__main__.TestValidatorMatch) Test that 'match.path' setting can be defined as None, [], [""], [None] or "" ... ok test_match_path_invalid_connection_type (__main__.TestValidatorMatch) Test that when 'match.path' setting is correctly defined but the connection ... ok test_match_path_invalid_setting (__main__.TestValidatorMatch) Test that values like ["&"] and ["|"] are invalid values for 'match.path' ... ok test_match_path_setting_normalization (__main__.TestValidatorMatch) Test that 'match.path' setting ["", "usb123", None] will be normalized into ... ok test_match_path_valid_setting (__main__.TestValidatorMatch) Test that values like ["pci-0000:00:03.0"] and ["&!pci-0000:00:0[1-3].0"] are ... ok test_empty_route_table_name (__main__.TestValidatorRouteTable) Test that empty string is invalid value for route table name ... ok test_invalid_numeric_route_tables (__main__.TestValidatorRouteTable) Test that the value less than 1 or greater than 4294967295 are the invalid ... ok test_invalid_route_table_names (__main__.TestValidatorRouteTable) Test that the route table names should not be composed from the characters ... ok test_invalid_value_types_for_route_tables (__main__.TestValidatorRouteTable) Test that the value types apart from string type and integer type are all ... ok test_parse_rt_tables (__main__.TestValidatorRouteTable) Test that the `IPRouteUtils._parse_route_tables_mapping()` will create the ... ok test_table_found_when_validate_route_tables (__main__.TestValidatorRouteTable) Test that the `validate_route_tables()` will find the table id mapping from ... ok test_table_not_found_when_validate_route_tables (__main__.TestValidatorRouteTable) Test that the validation error is raised when the `validate_route_tables()` cannot ... ok test_valid_numeric_route_tables (__main__.TestValidatorRouteTable) Test that the value between 1 and 4294967295 are the valid value for numeric ... ok test_routing_rule_invalid_from_prefix_length (__main__.TestValidatorRoutingRules) Test that the prefix length for from/src cannot be zero when from/src is ... ok test_routing_rule_invalid_incoming_interface_name (__main__.TestValidatorRoutingRules) Test the invalid incoming interface name specified in the routing rule ... ok test_routing_rule_invalid_outgoing_interface_name (__main__.TestValidatorRoutingRules) Test the invalid outgoing interface name specified in the routing rule ... ok test_routing_rule_invalid_to_prefix_length (__main__.TestValidatorRoutingRules) Test that the prefix length for to/dst cannot be zero when to/dst is specified ... ok test_routing_rule_missing_address_family (__main__.TestValidatorRoutingRules) Test that the address family has to be specified if cannot be derived from src ... ok test_routing_rule_missing_table (__main__.TestValidatorRoutingRules) Test that table has to be defined when the action of the routing rule is ... ok test_routing_rule_validate_address_family (__main__.TestValidatorRoutingRules) Test that the derived address family and the specified address family should be ... ok test_routing_rule_validate_fwmark (__main__.TestValidatorRoutingRules) Test that fwmark requires fwmask to be specified ... ok test_routing_rule_validate_fwmask (__main__.TestValidatorRoutingRules) Test that fwmask requires fwmark to be specified ... ok test_routing_rule_validate_suppress_prefixlength (__main__.TestValidatorRoutingRules) Test the invalid suppress_prefixlength setting ... ok test_routing_rule_validate_uid (__main__.TestValidatorRoutingRules) Test the invalid uid specified in the routing rule ... ok test_table_found_when_lookup_named_table (__main__.TestValidatorRoutingRules) Test that the `validate_route_tables()` will find the table id mapping from ... ok ---------------------------------------------------------------------- Ran 147 tests in 0.117s OK TASK [Show python2 unit test results] ****************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:132 Sunday 12 February 2023 05:35:07 +0000 (0:00:01.108) 0:03:23.078 ******* ok: [sut] => { "python2_result.stderr_lines": "VARIABLE IS NOT DEFINED!: 'dict object' has no attribute 'stderr_lines'. 'dict object' has no attribute 'stderr_lines'" } TASK [Show python3 unit test results] ****************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:137 Sunday 12 February 2023 05:35:07 +0000 (0:00:00.178) 0:03:23.257 ******* ok: [sut] => { "python3_result.stderr_lines": [ "test_connection_ensure_setting (__main__.TestNM) ... ok", "test_connection_list (__main__.TestNM) ... ok", "test_path_to_glib_bytes (__main__.TestNM) ... ok", "test_link_read_permaddress (__main__.TestSysUtils) ... ok", "test_convert_passwd_flags_nm (__main__.TestUtils) ... ok", "test_mac_ntoa (__main__.TestUtils) ... ok", "test_802_1x_1 (__main__.TestValidator)", "Test private key with password ... ok", "test_802_1x_2 (__main__.TestValidator)", "Test 802.1x profile with unencrypted private key, ... ok", "test_802_1x_3 (__main__.TestValidator)", "Test 802.1x profile with unencrypted private key and ca_path ... ok", "test_802_1x_ca_path_and_system_ca_certs (__main__.TestValidator)", "should fail if ca_path and system_ca_certs are used together ... ok", "test_802_1x_initscripts (__main__.TestValidator)", "should fail to create ieee802_1x connection with initscripts ... ok", "test_802_1x_unsupported_type (__main__.TestValidator)", "should fail if a non ethernet/wireless connection has 802.1x settings defined ... ok", "test_absent (__main__.TestValidator) ... ok", "test_auto6_enabled_ipv6_disabled (__main__.TestValidator)", "Test that enabling `auto6` and disabling IPv6 are mutually exclusive. ... ok", "test_auto_gateway_false (__main__.TestValidator) ... ok", "test_auto_gateway_no_gateway (__main__.TestValidator) ... ok", "test_auto_gateway_true (__main__.TestValidator) ... ok", "test_bond (__main__.TestValidator) ... ok", "test_bond_active_backup (__main__.TestValidator) ... ok", "test_bridge2 (__main__.TestValidator) ... ok", "test_bridge_no_dhcp4_auto6 (__main__.TestValidator) ... ok", "test_default_states (__main__.TestValidator) ... ok", "test_default_states_type (__main__.TestValidator) ... ok", "test_deprecated_ethtool_names (__main__.TestValidator)", "Test that for each validator in ... ok", "test_dns_options_argvalidator (__main__.TestValidator)", "Test that argvalidator for validating dns_options value is correctly defined. ... ok", "test_dns_search_without_ipv4_and_ipv6_configuration (__main__.TestValidator)", "Test that configuring DNS search setting is not allowed when both IPv4 and ... ok", "test_empty (__main__.TestValidator) ... ok", "test_ethernet_mac_address (__main__.TestValidator) ... ok", "test_ethernet_speed_settings (__main__.TestValidator) ... ok", "test_ethernet_two_defaults (__main__.TestValidator) ... ok", "test_full_state_absent_defaults (__main__.TestValidator) ... ok", "test_full_state_absent_no_type (__main__.TestValidator) ... ok", "test_full_state_present_no_type (__main__.TestValidator) ... ok", "test_full_state_present_type_defaults (__main__.TestValidator) ... ok", "test_gateway6_configured_ipv6_disabled (__main__.TestValidator)", "Test that configuring `gateway6` and disabling IPv6 are mutually exclusive. ... ok", "test_infiniband (__main__.TestValidator) ... ok", "test_infiniband2 (__main__.TestValidator) ... ok", "test_infiniband3 (__main__.TestValidator) ... ok", "test_interface_name_bond_empty_interface_name (__main__.TestValidator) ... ok", "test_interface_name_bond_profile_as_interface_name (__main__.TestValidator) ... ok", "test_interface_name_ethernet_None (__main__.TestValidator)", "Check that interface_name cannot be None ... ok", "test_interface_name_ethernet_default (__main__.TestValidator)", "Use the profile name as interface_name for ethernet profiles ... ok", "test_interface_name_ethernet_empty (__main__.TestValidator)", "Allow not to restrict the profile to an interface ... ok", "test_interface_name_ethernet_explicit (__main__.TestValidator)", "Use the explicitly provided interface name ... ok", "test_interface_name_ethernet_invalid_interface_name (__main__.TestValidator) ... ok", "test_interface_name_ethernet_invalid_profile (__main__.TestValidator)", "Require explicit interface_name when the profile name is not a ... ok", "test_interface_name_ethernet_mac (__main__.TestValidator)", "Do not set interface_name when mac is specified ... ok", "test_invalid_autoconnect (__main__.TestValidator) ... ok", "test_invalid_cert_path (__main__.TestValidator)", "should fail if a relative path is used for 802.1x certs/keys ... ok", "test_invalid_ethtool_settings (__main__.TestValidator)", "When both the deprecated and current version of a feature are stated, ... ok", "test_invalid_mac (__main__.TestValidator) ... ok", "test_invalid_password_flag (__main__.TestValidator)", "should fail if an invalid private key password flag is set ... ok", "test_invalid_persistent_state_down (__main__.TestValidator) ... ok", "test_invalid_persistent_state_up (__main__.TestValidator) ... ok", "test_invalid_state_test (__main__.TestValidator) ... ok", "test_invalid_values (__main__.TestValidator) ... ok", "test_ipv4_dns_without_ipv4_config (__main__.TestValidator)", "Test that configuring IPv4 DNS is not allowed when IPv4 is disabled. ... ok", "test_ipv6_dns_options_without_ipv6_config (__main__.TestValidator)", "Test that configuring IPv6 DNS options is not allowed when IPv6 is disabled. ... ok", "test_ipv6_dns_with_ipv6_disabled (__main__.TestValidator)", "Test that configuring IPv6 DNS is not allowed when IPv6 is disabled. ... ok", "test_ipv6_dns_with_static_ipv6_configuration (__main__.TestValidator)", "Test that configuring IPv6 DNS is allowed when static IPv6 is configured. ... ok", "test_ipv6_dns_without_ipv6_configuration (__main__.TestValidator)", "Test that configuring IPv6 DNS is not allowed when IPv6 is not configured. ... ok", "test_ipv6_static (__main__.TestValidator) ... ok", "test_macvlan (__main__.TestValidator) ... ok", "test_persistent_state_absent (__main__.TestValidator) ... ok", "test_persistent_state_present (__main__.TestValidator) ... ok", "test_route_metric6_configured_ipv6_disabled (__main__.TestValidator)", "Test that configuring `route_metric6` and disabling IPv6 are mutually ... ok", "test_route_metric_prefix (__main__.TestValidator) ... ok", "test_route_v6 (__main__.TestValidator) ... ok", "test_routes (__main__.TestValidator) ... ok", "test_set_deprecated_ethtool_feature (__main__.TestValidator)", "When passing a deprecated name, their current version is updated. ... ok", "test_set_deprecated_master (__main__.TestValidator)", "wokeignore:rule=master ... ok", "test_set_deprecated_slave_type (__main__.TestValidator)", "wokeignore:rule=slave ... ok", "test_set_ethtool_feature (__main__.TestValidator)", "When passing the name of an non-deprecated ethtool feature, their ... ok", "test_state_absent (__main__.TestValidator) ... ok", "test_state_absent_down (__main__.TestValidator) ... ok", "test_state_absent_up_no_type (__main__.TestValidator) ... ok", "test_state_absent_up_type (__main__.TestValidator) ... ok", "test_state_down_no_type (__main__.TestValidator) ... ok", "test_state_present (__main__.TestValidator) ... ok", "test_state_present_down (__main__.TestValidator) ... ok", "test_state_present_up (__main__.TestValidator) ... ok", "test_state_up_no_type (__main__.TestValidator) ... ok", "test_state_up_type (__main__.TestValidator) ... ok", "test_static_ipv6_configured_ipv6_disabled (__main__.TestValidator)", "Test that configuring static IPv6 and disabling IPv6 are mutually exclusive. ... ok", "test_up_ethernet (__main__.TestValidator) ... ok", "test_up_ethernet_mac_mtu_static_ip (__main__.TestValidator) ... ok", "test_up_ethernet_no_autoconnect (__main__.TestValidator) ... ok", "test_up_single_v4_dns (__main__.TestValidator) ... ok", "test_valid_persistent_state (__main__.TestValidator)", "Test that when persistent_state is present and state is set to present ... ok", "test_validate_allow_empty_string_in_list (__main__.TestValidator)", "Test that when ArgValidatorStr.allow_empty is True, empty string is allowed in ... ok", "test_validate_bool (__main__.TestValidator) ... ok", "test_validate_dict (__main__.TestValidator) ... ok", "test_validate_disallow_none_in_list (__main__.TestValidator)", "Test that None is not allowed in ArgValidatorList ... ok", "test_validate_int (__main__.TestValidator) ... ok", "test_validate_list (__main__.TestValidator) ... ok", "test_validate_list_remove_none_or_empty (__main__.TestValidator)", "Test that when ArgValidatorStr.remove_none_or_empty is True, None or empty ... ok", "test_validate_range (__main__.TestValidator) ... ok", "test_validate_str (__main__.TestValidator) ... ok", "test_vlan (__main__.TestValidator) ... ok", "test_wireless_eap (__main__.TestValidator)", "Test wireless connection with wpa-eap ... ok", "test_wireless_initscripts (__main__.TestValidator)", "should fail to create wireless connection with initscripts ... ok", "test_wireless_no_802_1x_for_wpa_eap (__main__.TestValidator)", "should fail if no 802.1x parameters are defined for a wireless ... ok", "test_wireless_no_options_defined (__main__.TestValidator)", "should fail if a connection of type='wireless' does not ... ok", "test_wireless_no_password (__main__.TestValidator)", "should fail if wpa-psk is selected and no password provided ... ok", "test_wireless_password_too_long (__main__.TestValidator)", "should fail if wpa-psk is selected and no password provided ... ok", "test_wireless_psk (__main__.TestValidator)", "Test wireless connection with wpa-psk auth ... ok", "test_wireless_ssid_too_long (__main__.TestValidator)", "should fail if ssid longer than 32 bytes ... ok", "test_wireless_unsupported_type (__main__.TestValidator)", "should fail if a non wireless connection has wireless settings defined ... ok", "test_invalid_bond_option_ad (__main__.TestValidatorDictBond)", "Test the ad bond option restrictions ... ok", "test_invalid_bond_option_arp (__main__.TestValidatorDictBond)", "Test the arp bond option restrictions ... ok", "test_invalid_bond_option_downdelay_updelay (__main__.TestValidatorDictBond)", "Test the downdelay or updelay bond option restrictions ... ok", "test_invalid_bond_option_infiniband_port (__main__.TestValidatorDictBond)", "Test that bond only supports infiniband ports in active-backup mode ... ok", "test_invalid_bond_option_packets_per_port (__main__.TestValidatorDictBond)", "Test the packets_per_port bond option restrictions ... ok", "test_invalid_bond_option_peer_arp_ip_target_arp_interval (__main__.TestValidatorDictBond)", "Test the arp_ip_target or arp_interval bond option restrictions ... ok", "test_invalid_bond_option_peer_notif_delay (__main__.TestValidatorDictBond)", "Test the peer_notif_delay bond option restrictions ... ok", "test_invalid_bond_option_primary (__main__.TestValidatorDictBond)", "Test the primary bond option restrictions ... ok", "test_invalid_bond_option_tlb_dynamic_lb (__main__.TestValidatorDictBond)", "Test the tlb_dynamic_lb bond option restrictions ... ok", "test_invalid_pkey_values (__main__.TestValidatorDictInfiniband) ... ok", "test_interface_name_and_match_when_match_is_None (__main__.TestValidatorMatch)", "Test that when 'match' setting is None, interface name should be profile name ... ok", "test_interface_name_when_match_not_specified (__main__.TestValidatorMatch)", "Test that when 'match' setting is not specified, interface name should be ... ok", "test_interface_name_when_match_path_is_empty_list (__main__.TestValidatorMatch)", "Test that when 'match.path' setting is empty list, interface name should be ... ok", "test_interface_name_when_match_path_is_valid (__main__.TestValidatorMatch)", "Test that when 'match.path' setting contains interface path, interface name ... ok", "test_match_path_empty_list (__main__.TestValidatorMatch)", "Test that 'match.path' setting can be defined as None, [], [\"\"], [None] or \"\" ... ok", "test_match_path_invalid_connection_type (__main__.TestValidatorMatch)", "Test that when 'match.path' setting is correctly defined but the connection ... ok", "test_match_path_invalid_setting (__main__.TestValidatorMatch)", "Test that values like [\"&\"] and [\"|\"] are invalid values for 'match.path' ... ok", "test_match_path_setting_normalization (__main__.TestValidatorMatch)", "Test that 'match.path' setting [\"\", \"usb123\", None] will be normalized into ... ok", "test_match_path_valid_setting (__main__.TestValidatorMatch)", "Test that values like [\"pci-0000:00:03.0\"] and [\"&!pci-0000:00:0[1-3].0\"] are ... ok", "test_empty_route_table_name (__main__.TestValidatorRouteTable)", "Test that empty string is invalid value for route table name ... ok", "test_invalid_numeric_route_tables (__main__.TestValidatorRouteTable)", "Test that the value less than 1 or greater than 4294967295 are the invalid ... ok", "test_invalid_route_table_names (__main__.TestValidatorRouteTable)", "Test that the route table names should not be composed from the characters ... ok", "test_invalid_value_types_for_route_tables (__main__.TestValidatorRouteTable)", "Test that the value types apart from string type and integer type are all ... ok", "test_parse_rt_tables (__main__.TestValidatorRouteTable)", "Test that the `IPRouteUtils._parse_route_tables_mapping()` will create the ... ok", "test_table_found_when_validate_route_tables (__main__.TestValidatorRouteTable)", "Test that the `validate_route_tables()` will find the table id mapping from ... ok", "test_table_not_found_when_validate_route_tables (__main__.TestValidatorRouteTable)", "Test that the validation error is raised when the `validate_route_tables()` cannot ... ok", "test_valid_numeric_route_tables (__main__.TestValidatorRouteTable)", "Test that the value between 1 and 4294967295 are the valid value for numeric ... ok", "test_routing_rule_invalid_from_prefix_length (__main__.TestValidatorRoutingRules)", "Test that the prefix length for from/src cannot be zero when from/src is ... ok", "test_routing_rule_invalid_incoming_interface_name (__main__.TestValidatorRoutingRules)", "Test the invalid incoming interface name specified in the routing rule ... ok", "test_routing_rule_invalid_outgoing_interface_name (__main__.TestValidatorRoutingRules)", "Test the invalid outgoing interface name specified in the routing rule ... ok", "test_routing_rule_invalid_to_prefix_length (__main__.TestValidatorRoutingRules)", "Test that the prefix length for to/dst cannot be zero when to/dst is specified ... ok", "test_routing_rule_missing_address_family (__main__.TestValidatorRoutingRules)", "Test that the address family has to be specified if cannot be derived from src ... ok", "test_routing_rule_missing_table (__main__.TestValidatorRoutingRules)", "Test that table has to be defined when the action of the routing rule is ... ok", "test_routing_rule_validate_address_family (__main__.TestValidatorRoutingRules)", "Test that the derived address family and the specified address family should be ... ok", "test_routing_rule_validate_fwmark (__main__.TestValidatorRoutingRules)", "Test that fwmark requires fwmask to be specified ... ok", "test_routing_rule_validate_fwmask (__main__.TestValidatorRoutingRules)", "Test that fwmask requires fwmark to be specified ... ok", "test_routing_rule_validate_suppress_prefixlength (__main__.TestValidatorRoutingRules)", "Test the invalid suppress_prefixlength setting ... ok", "test_routing_rule_validate_uid (__main__.TestValidatorRoutingRules)", "Test the invalid uid specified in the routing rule ... ok", "test_table_found_when_lookup_named_table (__main__.TestValidatorRoutingRules)", "Test that the `validate_route_tables()` will find the table id mapping from ... ok", "", "----------------------------------------------------------------------", "Ran 147 tests in 0.117s", "", "OK" ] } TASK [remove local tar file] *************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:143 Sunday 12 February 2023 05:35:07 +0000 (0:00:00.185) 0:03:23.442 ******* changed: [sut -> localhost] => { "changed": true, "path": "/tmp/lsrtest_5qe1sbt5.tar", "state": "absent" } TASK [remove tempdir] ********************************************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:149 Sunday 12 February 2023 05:35:09 +0000 (0:00:01.163) 0:03:24.606 ******* changed: [sut] => { "changed": true, "path": "/tmp/lsrtest_rghrl7wc", "state": "absent" } TASK [Ensure that at least one python unit test ran] *************************** task path: /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:154 Sunday 12 February 2023 05:35:09 +0000 (0:00:00.350) 0:03:24.956 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* sut : ok=30 changed=14 unreachable=0 failed=0 skipped=7 rescued=0 ignored=2 Sunday 12 February 2023 05:35:09 +0000 (0:00:00.194) 0:03:25.151 ******* =============================================================================== Install dependencies --------------------------------------------------- 30.01s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:8 ----------- Copy testrepo.tar to the remote system --------------------------------- 24.71s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:54 ---------- find parent directory and path of modules ------------------------------ 24.21s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/get_modules_and_utils_paths.yml:42 Create Tar file -------------------------------------------------------- 13.10s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:44 ---------- Gathering Facts -------------------------------------------------------- 12.20s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:3 ----------- create tempdir for code to test ---------------------------------------- 12.18s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:25 ---------- find parent directory and path of module_utils ------------------------- 12.03s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/get_modules_and_utils_paths.yml:69 get tempfile for tar --------------------------------------------------- 12.03s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:31 ---------- Create /tmp/lsrtest_rghrl7wc/ansible/module_utils ---------------------- 11.10s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:65 ---------- Copy unit test to remote system ----------------------------------------- 8.35s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:88 ---------- set search paths -------------------------------------------------------- 4.93s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/get_modules_and_utils_paths.yml:13 Gather the minimum subset of ansible_facts required by the network role test --- 4.19s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/el_repo_setup.yml:2 -- set collection paths ---------------------------------------------------- 3.92s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/get_modules_and_utils_paths.yml:3 Gathering Facts --------------------------------------------------------- 3.75s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:21 ---------- Untar testrepo.tar ------------------------------------------------------ 3.58s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:60 ---------- ls -alrtFR /tmp/lsrtest_rghrl7wc ---------------------------------------- 2.12s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:98 ---------- include_tasks ----------------------------------------------------------- 2.06s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:38 ---------- Create EPEL 9 ----------------------------------------------------------- 1.93s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/enable_epel.yml:4 ---- Check if python2 is available ------------------------------------------- 1.93s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tests_unit.yml:103 --------- Enable EPEL 7 ----------------------------------------------------------- 1.89s /WORKDIR/dist-git-network-weekly-ci-suv2wf_2/tests/tasks/enable_epel.yml:19 --- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---